best module to parse / modify C-code

best module to parse / modify C-code

am 07.10.2005 13:27:02 von fsl_user

Hi,

What modules are you using to parse C code?



Some of the required use cases:

1.) extract a list of functions and their prototypes

2.) searching certain functions and modifying some parameters

3.) Parse some structs and extract infos.

Thanks in advance and bye


fsl_user

Re: best module to parse / modify C-code

am 08.10.2005 00:30:42 von Ron Savage

On Fri, 7 Oct 2005 21:27:02 +1000, fsl_user wrote:

Hi

> What modules are you using to parse C code?

This Perl code. Ignore the Python bit.

http://starship.python.net/crew/tbryan/PERCEPS/