MCPcopy Index your code
hub / github.com/bet4it/udbserver

github.com/bet4it/udbserver @v0.3.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3.0 ↗ · + Follow
75 symbols 134 edges 25 files 1 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

udbserver - Unicorn Emulator Debug Server

udbserver is a debugging plugin for Unicorn Engine that implements the GDB Remote Serial Protocol.

It enables GDB-compatible debugging capabilities for Unicorn-based emulation projects, allowing you to inspect and control the emulation state through a GDB client.

Features

  • [x] Registers
  • [x] Memory
  • [x] Single Step
  • [x] Breakpoint
  • [x] Watchpoint
  • [ ] Ctrl-C interrupt

Architectures Support

  • i386
  • x86_64
  • ARM
  • AArch64
  • M68K
  • MIPS
  • PowerPC
  • RISC-V

Installation & Usage

Python

The easiest way to get started is via pip:

pip install udbserver

Check out the Python binding for examples and documentation.

Rust

As a native Rust project, you can use udbserver directly as a crate. Check out the example:

cargo run --example server

Other Languages

udbserver provides bindings for several languages:

Please check the corresponding directories for language-specific installation and usage instructions.

Core symbols most depended-on inside this repo

clean
called by 3
src/capi.rs
copy_to_buf
called by 3
src/emu.rs
get
called by 3
src/reg/mod.rs
udbserver
called by 3
bindings/python/udbserver/__init__.py
udbserver
called by 3
bindings/java/udbserver/Udbserver.java
udbserver
called by 2
src/lib.rs
handle_disconnect
called by 2
src/lib.rs
list
called by 2
src/reg/mod.rs

Shape

Method 41
Function 22
Class 11
Enum 1

Languages

Rust80%
Python7%
Java7%
Go4%
C3%

Modules by API surface

src/emu.rs31 symbols
src/reg/mod.rs9 symbols
src/lib.rs7 symbols
src/arch.rs7 symbols
bindings/python/setup.py4 symbols
src/capi.rs3 symbols
examples/server.rs3 symbols
bindings/java/udbserver/Udbserver.java3 symbols
bindings/java/Example.java2 symbols
bindings/go/example/main.go2 symbols
bindings/python/udbserver/__init__.py1 symbols
bindings/java/udbserver_Udbserver.c1 symbols

For agents

$ claude mcp add udbserver \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact