This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Data-flow informations (CFG)
- From: Harry Trinta <harrytpc at gmail dot com>
- To: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Tue, 25 Oct 2011 01:55:02 -0200
- Subject: Data-flow informations (CFG)
Dear,
A program can be represented by a CFG (Control Flow Graph).
Within source file Profile.c, for example, is easy to navigate within
CFG and obtain certain information.
However, I would like some more specific information, for example,
what are the the declarations and what are the uses of variables
within a given node of the CFG.
Can I get this information somewhere in the building?
The goal is to calculate the viability of creating a "module" for
software testing based on the data flow.
Thanks,
Harry