0patch Blog: No Source Code for a 14-Year Old Vulnerable DLL? No Problem
blog.0patch.com
blog.0patch.com
A lot more when I was younger for some other purposes, like making some (non-multiplayer) games behave differently, like never losing lives.
I've had to do this a couple of times (usually due to fraudulent transitive dependecies[0]). Eg:
[to make glib applications display kilo-,mega-,etc in multiples of 2^10]
change 4 bytes in g_format_size_full
from: 41 F6 C4 02 test r12b 0x02 # if(flags&G_FORMAT_SIZE_IEC_UNITS)
into: 48 83 FB 00 cmp rbx byte(+0x00) # if(size!=0)
0: eg, libfoo build-depends on X in libbar, and Y in libbar depends on something evil like systemdHowever, the patched DLL is still be missing ASLR/DEP, which is suboptimal.