YuKnight / Qdb

A multi-architecture and cross-platform debugger baked by Qiling Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Qiling Debugger

Introduction

A multi-architecture and cross-platform debugger baked by Qiling Framework

Installation

pip3 install qiling

git clone git@github.com:ucgJhe/Qdb.git

How to run example.py

make sure you install mipsel-linux-gnu-gcc

and make binary in src directory cd src; make

python3 example.py

Usage

# simple setup
from qdb import Qdb

Qdb(["src/mips32el_hello"], "/usr/mipsel-linux-gnu").interactive()

1. commandline-based user interface

  • use command start and paused at the entry point

2. step-by-step execution

  • use command step or s to execute one instruction at a time

3. breakpoints

  • use command breakpoint or b to setup a breakpoint, and continue process with continue or c

4. dynamic memory examination

  • use command examine or x to read data from memory

Supported architecture for now

  • MIPS
  • ARM
  • x86/x86-64

P.S. tested on Ubuntu 18.04 only

About

A multi-architecture and cross-platform debugger baked by Qiling Framework


Languages

Language:Python 99.5%Language:Makefile 0.3%Language:C 0.3%