Idados
Eric Fry's IDA/DOSBox debugger plugin
Install / Use
/learn @wjp/IdadosREADME
IDA DOSBox debugger plugin
Authors
- Eric Fry efry@users.sourceforge.net
- Willem Jan Palenstijn wjp@usecode.org
Getting started
- Download the IDA SDK.
- Download the plugin source from https://github.com/wjp/idados.
- Download the patched DOSBox source from the 'idados' branch of https://github.com/wjp/dosbox.
- Build the plugin and DOSBox as described in the BUILD.md file.
Usage
- Load the executable you are debugging into IDA in the usual manner.
- Configure DOSBox with
core=normal. - Run DOSBox and mount disks, etc. in the usual manner.
- In DOSBox, run the binary you want to debug, prefixed with
debug. e.g.debug sierra.exe. DOSBox will pause here while waiting for a connection from IDA. - In IDA, start the debugger, selecting the "Remote DOSBox" debugger. You should be able to leave the connection options at their defaults. The binary and arguments are ignored.
Notes
This plugin has not been tested on many platforms, but it has been reported to work with 32-bit IDA 6.9 Starter, on 32-bit Windows (using MSYS2), 64-bit Linux, and 64-bit Mac OS X.
The debugger plugin will rebase the program to match the memory location in DOSBox, but there have been many bugs with this in older versions of IDA. If this is causing problems, try manually rebasing before starting the debugger, or even recreating the database at the right offset.
There is a known bug with breakpoints on the program entry point. As a workaround, you can use the "Suspend on debugging start" option in IDA if you wish to break on starting the process. Breakpoints at other locations should work fine.
With a 32-bit IDA, you will have to build a 32-bit dosbox, even on 64-bit platforms.
And finally, patches to improve the plugin are most welcome!
Related Skills
node-connect
352.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
