Y
Hacker News
new
|
ask
|
show
|
jobs
by
TickleSteve
639 days ago
gcc has "-finstrument-functions". This calls your code on every function entry and exit. I've used this previously for tracing as described here and to move memory-protection windows around based on the running code.