Skip to content
Njord0Public

About

Binary ninja plugin for python compiled bytecode (pyc) disassembly

Topics

Resources

Stars

34 stars

Watchers

2 watching

Forks

Latest commit

 

History

41 Commits

Folders and files

Repository files navigation

BNPyc

Binary ninja plugin for python bytecode (pyc) disassembly and analysis.

Python versions from 3.0 to 3.10 are supported!

IL Lifting is not implemented yet, as a result ILs are not available.

Installation

Clone this repository into BinaryNinja plugin folder and install requirements with pip :

cd BNPyc/
python3 -m pip install -r requirements.txt

Usage

Choose any .pyc file and open it with binary ninja.

Image Example with a simple for loop

Features

  • Recursive functions detections and disassembly
  • Branchs annotations
  • Comparisons annotations
  • Inlined co_consts co_names co_varnames
  • Objects mapping

About

Binary ninja plugin for python compiled bytecode (pyc) disassembly

Topics

Resources

Stars

34 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages