This is a work in progress by someone who is learning about Binary Ninja.
References
- https://api.binary.ninja/binaryninja.binaryview-module.html
- https://gist.github.com/psifertex/6fbc7532f536775194edd26290892ef7
Get database name
from binaryninja import HighlightStandardColor, PluginCommand | |
def do_backward_slice(instruction, function): | |
# switch to SSA form (this does nothing if it's already SSA). | |
instruction_queue = set([instruction.ssa_form.instr_index]) | |
visited_instructions = set() | |
variables = set() |
import binaryninja | |
sources = [ | |
'snprintf', # int snprintf ( char * s, size_t n, const char * format, ... ); | |
'sprintf', # int sprintf ( char * s, const char * format, ... ); | |
] | |
sinks = [ | |
'system', # int system(const char *command); | |
] |
This is a work in progress by someone who is learning about Binary Ninja.
References
Get database name
{ | |
"name": "gruvbox-material", | |
"style": "Fusion", | |
"styleSheet": "QMainWindow {border-image:url(/Users/cynder/Library/Application Support/Binary Ninja/themes/cynder/autumn2.png) 0 0 0 0 stretch stretch;} QMenu { background-color: rgba(0, 0, 0, 90); }", | |
"colors": { | |
"transparent": "#00000000", | |
"black": "#0D0D0D", | |
"white": "#b5afaa", | |
"red": "#9fbbbd", |