Debugger?

Jul 17, 2008 at 12:17 AM
Hoxtilicious
"Life begins and ends with Nu."
Join Date: Dec 30, 2005
Location: Germany
Posts: 3218
Age: 33
Pronouns: No homie
Hey,
does anyone know a good debugger for windows?
In order to find some RAM offsets for coding my weapon >_<;

Google is a bitch, because I can't find anything.
I don't mean those crappy "dos window" debuggers :D
I mean a debugger who can look at the RAM of your programm while it's running.
I saw one of those in the past.
 
Jul 17, 2008 at 2:26 AM
Hoxtilicious
"Life begins and ends with Nu."
Join Date: Dec 30, 2005
Location: Germany
Posts: 3218
Age: 33
Pronouns: No homie
Ahh, I found the offset.
Though a debugger would be nice :x
 
Jul 17, 2008 at 7:43 AM
The Bartender
"All your forum are belong to us!"
Join Date: Jun 18, 2006
Location: Montreal, Canada
Posts: 581
Age: 40
If you have some C++ experience and a bit of familiarity with the Win32 API, you can write one without too much trouble. It's a good weekend project though, and involves delving into some awesomely low-level Windows stuff. :p

You may want to look into ReadProcessMemory. A trip through MSDN should be more than enough to get it working. Aside from my current debugger, I also ended up writing a trainer for FF3e by hooking into Snes9x's memory back when I was coding in VB, so it's not one bit difficult to do. (The trainer is no more, since Snes9x has been updated a lot since then and the offsets no longer match up; it had only a handfull of offsets anyway...)

Most of the parameters are easy to set up (a buffer to hold the data, the base offset, some size info, and a pointer to a temporary variable to hold the amount of bytes read) but getting a handle to a process can be tricky. This article should be helpful.

Now you just need to dump the process' memory somewhere (onscreen or in a file) after reading it with ReadProcessMemory, and you're set: your mini-debugger is done and you can add a new tool to your repertoire of hacking weapons. :p
 
Back
Top