On Wed, Aug 4, 2010 at 14:33, Aitor Garcia <carrierphasejit...@yahoo.com>wrote:

> Hi,
>
> I need to know the memory locations of all variables in a C project
> including
> variables allocated inside structs.
>


Aitor, try the pycparser project (http://code.google.com/p/pycparser/) -
it's a complete ISO C parser in pure Python. It has been used for tasks
similar to this one (parsing of struct/union declarations for various
purposes).

Eli
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to