MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / instruction_data_flow

Function instruction_data_flow

python/examples/export_svg.py:88–94  ·  view source on GitHub ↗
(function, address)

Source from the content-addressed store, hash-verified

86
87
88def instruction_data_flow(function, address):
89 # TODO: Extract data flow information
90 length = function.view.get_instruction_length(address)
91 func_bytes = function.view.read(address, length)
92 hex = func_bytes.hex()
93 padded = ' '.join([hex[i:i + 2] for i in range(0, len(hex), 2)])
94 return f'Opcode: {padded}'
95
96def rgbStr(tokenType):
97 '''Given a token string name, look up the theme color for it and return as rbg(x,y,z) str'''

Callers 1

render_svgFunction · 0.85

Calls 3

joinMethod · 0.80
readMethod · 0.45

Tested by

no test coverage detected