Hi all

 

I am simply awed by the gcc-python-plugin ;)

It looks like a fantastic effort

 

However, I cant find any sample which actually modifies the original C program

 

For example, how to add a runtime reference count to each CHAR * 

Obviously, this is a large, long term project

For C++, this replaces CHAR* with an object

For C, I might do a simpler effort and just add an additional counter variable for each char*

 

But is the python-plugin even suitable for this or should I go for a native gcc plugin ?

It will be great to get any links to something similar

 

Yaniv