Problem statement :- I am searching for a tool that automatically include a line in c functions , line is printf("%s",FILE); , since i do not found any tool i decided to write my own script that write line at start of every function .
i am trying to print statement printf("%s",__FILE__);
using python
print( printf("%s",__FILE__); )
I am facing issue when trying to print double quotes and %s , i have tried raw(r) but it doesn't help.