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]

Re: Cfg and Dfg in gcc


sandeep soni <saintiwara@gmail.com> writes:

> given a program,say readelf.c, how can i,with the help of gcc,find the
> cfg and dfg for this program?..

I don't know of any easy way to do this.  You can't extract them in
any programmable way, unless you write a plugin.  You can look in the
dump files, but they are difficult to parse and will change as gcc
changes.

Ian


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