VOGONS


First post, by Jorma

User metadata
Rank Newbie
Rank
Newbie

Hello.

Some time ago I got curious about a certain dos game and wanted to figure out how it worked. I searched for tools to help me reverse engineer it and I found out that DOSBox has a build with a debugger. I found it a bit clunky to work with and started thinking that a windowed interface might make it much easier to use, so I started to work on one.

Here is how it looks as of now:

The attachment debugger.png is no longer available

I wanted to add some functionality to it, right now I can name variables in registers and it will track them, I can also add (primitive) types and names to variables located in memory. You can jump the view to a call, jump or memory location by just double clicking. Right now it will automatically find and name int 21h functions and their arguments and return values. Next I want to add the functionality of naming calls and their arguments/return values. I also want to add better ways to view data and a support for structs, I still don't know what to do with stack. Currently I am trying to "de-locate" all memory addresses so viewing the program starts from offset 0h, I am thinking of abandoning this idea.

The code is a big mess and it's quite buggy still. At this point I might do a rewrite of it before adding new things.

I wonder, has anyone already done a windowed interface for the debugger? Would this be useful to anyone? Any suggestions?