I don't know if it is possible, but I'd like to put some line of code around function calls from a certaint .c file. Say I have a file1.c in which I do something like:
#include "file2.h"
...
void fun(){
<i want do add a line here>
file2_fun();
<..and here>
}
is it possible to add those lines? Can you give me some example using pycparser or a similar c parsing library for python?