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

Method navigate

python/examples/linear_mlil.py:106–122  ·  view source on GitHub ↗
(self, addr)

Source from the content-addressed store, hash-verified

104 self.setUpdatedLines(self.generateLines())
105
106 def navigate(self, addr):
107 # Find correct function based on most recent use
108 block = self.data.get_recent_basic_block_at(addr)
109 if block is None:
110 # If function isn't done analyzing yet, it may have a function start but no basic blocks
111 func = self.data.get_recent_function_at(addr)
112 else:
113 func = block.function
114
115 if func is None:
116 # No function contains this address, fail navigation in this view
117 return False
118
119 self.function = func
120 self.setFunction(self.function)
121 self.setLines(self.generateLines())
122 return True
123
124 def getHistoryEntry(self):
125 class LinearMLILHistoryEntry(TokenizedTextViewHistoryEntry):

Callers

nothing calls this directly

Calls 3

generateLinesMethod · 0.95

Tested by

no test coverage detected