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

Method get_nodes_in_region

python/flowgraph.py:804–814  ·  view source on GitHub ↗
(self, left, top, right, bottom)

Source from the content-addressed store, hash-verified

802 self._wait_cond.release()
803
804 def get_nodes_in_region(self, left, top, right, bottom):
805 count = ctypes.c_ulonglong()
806 nodes = core.BNGetFlowGraphNodesInRegion(self.handle, left, top, right, bottom, count)
807 assert nodes is not None, "core.BNGetFlowGraphNodesInRegion returned None"
808 result = []
809 for i in range(0, count.value):
810 fg_node = core.BNNewFlowGraphNodeReference(nodes[i])
811 assert fg_node is not None, "core.BNNewFlowGraphNodeReference returned None"
812 result.append(FlowGraphNode(self, fg_node))
813 core.BNFreeFlowGraphNodeList(nodes, count.value)
814 return result
815
816 def append(self, node):
817 """

Callers

nothing calls this directly

Calls 2

FlowGraphNodeClass · 0.70
appendMethod · 0.45

Tested by

no test coverage detected