This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Hooking of CFG
- From: gunman at cs dot aau dot dk
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 08 Aug 2006 13:31:55 -0400
- Subject: 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.