uDdbg: Unicorn DOPE Debugger
uDdbg – Unicorn DOPE Debugger
A gdb-like debugger that provides a runtime env to unicorn emulator and additionals features!
Unicorn DOPE Debugger (uDdbg) is a tool that extends the functionality of the epic Unicorn emulator. As GDB, it aim to provide a runtime env, through cli, with an elegant output and some more useful things that are possible thanks to the fact we are emulating a static context, which basically allows us to interact with the emulation even after the first execution of a cycle or to totally restore a specific situation in the context.
The structure of the project, designed together with @rEDSAMK, is with plug-and-play modules. Each module has a set of commands with a lot of shortcuts to reduce timings (obviously once you are familiar with the tool, but that’s pretty easy).
Taking, for example, an available command:
memory read 0x10000 128
the same result can be achieved with:
m r 0x10000 64+64
or:
mem r 0x5000*2 +64*2
Once you have arrived here, you are ready to take a look at the command list. Simply type help
inside uDdbg or help command_name to get additional info about a specific command.
help memory
Download
git clone https://github.com/iGio90/uDdbg.git
pip install -r requirements.txt
Use
If you are familiar with GDB, the executors are something very similar to commands for the GNU debugger. They basically allow you to avoid cyclic and redundant tasks. Here is a very quick example of an executor to give you a better idea:
Copyright (C) 2018
Giovanni -iGio90- Rocca, Vincenzo -rEDSAMK- Greco
Source: https://github.com/iGio90/