Making a variable addressable in GIMPLE
Yoav Etsion
etsman@gmail.com
Fri Jan 27 18:29:00 GMT 2006
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 <etsman@gmail.com> 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
>
More information about the Gcc
mailing list