This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Generating object files from translation unit dumps?
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Rajeev Joshi <rjvjsh at hotmail dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Thu, 12 Feb 2004 08:01:40 -0500
- Subject: Re: Generating object files from translation unit dumps?
- Organization: Red Hat Canada
- References: <BAY1-F1471hY55ZodTW00000e7e@hotmail.com>
On Wed, 2004-02-11 at 22:08, Rajeev Joshi wrote:
> Is this incompleteness documented anywhere, by any chance?
>
Not to my knowledge.
> But a secondary goal is just to get familiar enough
> with gcc in order to play with writing my own static analysers.
> (Yes, I know there are many static analysers available for C/C++,
> but there's a lot of room for improvement.)
>
Perhaps you'll be interested in the new features planned for 3.5. We
are adding new infrastructure to allow analysis at this level. See
http://gcc.gnu.org/projects/tree-ssa/ for details.
We are planning relatively stable interfaces that should allow you to
plug in your analysis without major hassle. Even if your changes are
not incorporated in GCC, it may not be too hard to keep up. Of course,
being internal interfaces, we won't guarantee anything about them. But
dump files are even more volatile.
Diego.