Machine Code Hacking
I'm not shy from performing the occasional hack, and feel comfortable working in the CPU view of the debugger. Microsoft hacker Raymend Chen seems to be in another league however. He claims he never uses source level debugging (its too mucked up by the optimizer anyway) and here he gives some tips on how to patch machine code bytes while debugging to make the debuggee do what you want. Useful for those low-level debugging sessions ;).
1 comment:
Personally I prefer to debug by manually toggling the transistors in the CPU. That is the only way I have total control and know exactly what is going on. Otherwise the OS and CPU architecture just get in the way.
Post a Comment