4 ms·
I read the readme. I still don't know what is "rewriting" a binary or why one would want to do it. Can someone explain?
by dzdt 8y ago
I read the readme. I still don't know what is "rewriting" a binary or why one would want to do it. Can someone explain?
- _nalply 8y agoHave a look at the example icount.py: It rewrites binaries to count the number of instructions executed. Therefore it seems the rewriter can modify already existing binaries corresponding to some rules in Python files by inserting additional instructions.
- detaro 8y agoTake a binary and make changes to it (without breaking anything unintentionally). E.g. add hooks for performance measurements, add additional security checks, make it use/not use specific CPU instructions.