mirror of https://github.com/pwndbg/pwndbg.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.4 KiB
1.4 KiB
Binary Ninja
Requirements
You need at least the personal edition of Binary Ninja (only tested on version 4.0+) that runs at least Python 3.10 for plugins.
Setup
Copy (or symlink) binja_script.py to your plugins directory.
Usage
To start the Binary Ninja integration, open the binary you want to debug in Binary Ninja, then go to Plugins > pwndbg > Start integration on current view. This will start the XMLRPC server that Pwndbg queries for information.
Then, inside GDB, run set integration-provider binja, which will start the integration. You can run set integration-provider none to disable it again.
Features
The integration currently syncs symbol names, comments, decompilation, function type signatures, and stack variables.
Commands
bn-sync: Navigate the Binary Ninja view to the current instructiondecomp ADDR NLINES: Displays the decompilation forNLINESlines at addressADDR.
Config Options
bn-autosync: If set toyes, every step will automatically runbn-syncbn-il-level: Sets the IL level to use for decompilation. Valid values are:disasm,llil,mlil,hlilbn-rpc-host/bn-rpc-port: The host and port to connect to for the XMLRPC serverbn-timeout: The amount, in seconds, to wait for the XMLRPC server to connect