The pointer variable's address is used as the pointer's unique ID in a
database, collecting information about each pointer variable - mostly
its legal bounds. That way I can test when a pointer crosses its
object's bounds.
Terrible overhead, I know. Just need it to collect statistics about
program (or programmer) behavior.
Yoav
Frank Ch. Eigler wrote:
Yoav Etsion <[EMAIL PROTECTED]> writes:
The transformation is simple: mudflap already injects a call to
__mf_register when an addressable variable is declared. I want to do
the same for all pointer variables [...]
Why? If those pointers are not themselves taken address of, what kind
access to the pointer value is worth checking?
- FChE