6 ms·
Sometimes there are existing binaries you want to instrument with code. Maybe to profile or perform dynamic analysis for something like bug detection or securit
by DSingularity 10y ago
Sometimes there are existing binaries you want to instrument with code. Maybe to profile or perform dynamic analysis for something like bug detection or security enhancement.
Valgrind operates like this. Instrument the allocation routines and with tracking of pointer variables you can detect dangling pointers and overflows and leaks and so on.
- jimmyswimmy 10y agoThanks for that, starting from an existing binary was not on my mind. That is a very neat trick.