#pcode #translation #pcode-rs

bin+lib pcode-rs

Machine code disassembly and IR translation library for Rust using the excellent SLEIGH library from the Ghidra framework

1 unstable release

0.1.0 Apr 25, 2025

#61 in #translation

Download history 115/week @ 2025-04-23

115 downloads per month

BSD-2-Clause

2MB
38K SLoC

C++ 26K SLoC // 0.1% comments C 4K SLoC // 0.3% comments Python 2.5K SLoC // 0.1% comments GNU Style Assembly 2K SLoC Happy 2K SLoC Rust 1K SLoC // 0.0% comments Lex 610 SLoC // 0.0% comments

pcode-rs

Machine code disassembly and IR translation library for Rust using the excellent SLEIGH library from the Ghidra framework.

This project is inspired by pycode, which is a subproject of angr.

Requirements

clang: required by rust-bindgen

Usage

Please refer to translate.rs for usage example.

Dependencies

~2.8–6MB
~113K SLoC