Skip to content

Techlord-RCE/binja

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Binary Ninja plugins

voltron_breakpoint.py

Installs menu items Set breakpoint and Delete breakpoint for setting and deleting breakpoints in GDB or LLDB from Binary Ninja via the Voltron API.

Right clicking on an instruction in the binary view and selecting Set breakpoint will set a new breakpoint in the debugger:

set_breakpoint

The Voltron breakpoints view will update to show the new breakpoint:

bp_view

And a comment will be added in Binary Ninja to indicate that there is a breakpoint set at this address:

comment_added

Right clicking on an instruction in the binary view where a breakpoint has been set and selecting Delete breakpoint will remove the breakpoint in the debugger:

delete_breakpoint

And the comment will be removed:

comment_removed

voltron_sync.py

Note: this plugin requires the current version of Voltron from GitHub. It won't work with v0.1.6 from PyPI.

Installs menu items Sync with Voltron and Stop syncing with Voltron for synchronising the currently selected instruction with the instruction pointer in a debugger using Voltron. It also synchronises breakpoints, and marks any instructions that have breakpoints set in the debugger with a comment.

Right clicking anywhere in the binary view and selecting Sync with Voltron will start the Voltron client in a background thread within Binary Ninja to watch Voltron for updates:

sync

If you set a breakpoint in your inferior (here using the test inferior included with Voltron loaded in both Binary Ninja and LLDB, with a breakpoint set at main in LLDB) and run it, when the debugger stops at the breakpoint the address at which the breakpoint is set will be selected in Binary Ninja:

run

main_selected

If you then step the debugger, the next instruction will be selected in Binary Ninja:

step

next_selected

Setting a breakpoint using the voltron_breakpoint.py plugin included here will also work:

break_binja

Then when the debugger is issued the continue command and stops at the new breakpoint:

continue

The Binary Ninja selection will again be updated:

continue_binja

You can stop synchronising the display with Voltron with the Stop syncing with Voltron menu item:

stop

About

Plugins for Binary Ninja

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%