Skip to content
/ BNPyc Public

Binary ninja plugin for python compiled bytecode (pyc) disassembly

License

Notifications You must be signed in to change notification settings

Njord0/BNPyc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages