Re:Debug your programs like they're closed source
by Terr_ on Thursday January 22, 2015 @03:40AM
(#8928154)
> WinDbg, OllyDbg
As someone who seldom leaves higher-abstraction languages, I've had some fun using Cheat Engine against old single-player games. I remember being pretty proud of the first time I managed to replace a few instructions with a larger set sitting in a code-cave. (Nothing impressive for those who learned assembly in a structured way, of course.)
Re:Debug your programs like they're closed source
by girvo on Thursday January 22, 2015 @06:11AM
(#8928555)
Ah, Cheat Engine. I used to use it for multiplayer flash or shockwave games, as well as a couple other games along the years. Poor Nitto 1320, we killed that game. Got me into disassembly and hacking at that level, which was a lot of fun too.
Re:Debug your programs like they're closed source
by Gurkenmaster on Thursday January 22, 2015 @08:53AM
(#8929106)
That's actually how the auto assembler in CE works. It replaces the selected instruction with a jump to a code cave and places a jump back to the original code at the end.
Re:Debug your programs like they're closed source
by Gurkenmaster on Thursday January 22, 2015 @02:34AM
(#8928015)
OllyDbg is pretty good but it doesn't work with 64bit applications. Can anyone point me to one that supports 64bit?
Re:Debug your programs like they're closed source
by j_s on Thursday January 22, 2015 @10:36AM
(#8929662)
Here is a discussion from 6 months ago: https://news.ycombinator.com/item?id=8092273
Coincidentally, I prefer to use an Asm-level debugger (WinDbg, OllyDbg) whenever I need to use one - which for debugging something I wrote, is not very often. Maybe it has to do with the fact that I started with Asm and disassembling other programs, so it's relatively straightforward to map between source code and the instructions the compiler generated. This also helped with figuring out a very subtle compiler bug - I know that they're quite rare, but when they do occur, they tend to be extremely difficult to figure out otherwise.