Hooking of CFG

gunman@cs.aau.dk gunman@cs.aau.dk
Tue Aug 8 18:03:00 GMT 2006


Hi all

We are wondering if it is possible to hook when the CFG is built in  
GCC, i.e. like it is done with lsm and the linux kernel. We are only  
aware of the GEM framework for doing this, but as we understand it, it  
is only possible to hook the preprocessor, AST, and the assembly code  
generation components of GCC.

This is because we want to build a CFG which only include system calls  
to the kernel, i.e. we only want a CFG with basis-blocks containing  
system calls.

Hope that you can help us.

regards
/egon

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the Gcc-help mailing list