Skip to content
Open source PPC architecture, utilizing capstone as a disassembler.
C++ C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE.txt
README.md
arch_ppc.cpp
assembler.cpp
assembler.h
disassembler.cpp
disassembler.h
il.cpp
il.h
test_asm.cpp
test_disasm.cpp
util.cpp
util.h

README.md

ppc-capstone

This is a PowerPC architecture plugin for Binary Ninja.

It demonstrates:

  • use of an existing disassembler (capstone) in making an architecture
  • use of the genetic algorithm for assembling (oracle: capstone)
  • proper lifting

Note that assembler.cpp and test_asm.cpp are isolated, in that they do not include any binja headers or link against any binja libs. This allows quick command line compilation, debugging, and testing:

g++ -std=c++11 -O0 -g test_asm.cpp assembler.cpp -o test_asm -lcapstone

A similar situation exists for disassembler.cpp and test_disasm.cpp:

g++ -std=c++11 -O0 -g test_disasm.cpp disassembler.cpp -o test_disasm -lcapstone

License

This code MIT licensed, see LICENSE.txt.

It links against the Capstone disassembly framework which is BSD licensed.

You can’t perform that action at this time.