This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Hooking of CFG


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]