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

Method nodes

python/flowgraph.py:579–590  ·  view source on GitHub ↗

List of nodes in graph (read-only)

(self)

Source from the content-addressed store, hash-verified

577
578 @property
579 def nodes(self):
580 """List of nodes in graph (read-only)"""
581 count = ctypes.c_ulonglong()
582 blocks = core.BNGetFlowGraphNodes(self.handle, count)
583 assert blocks is not None, "core.BNGetFlowGraphNodes returned None"
584 result = []
585 for i in range(0, count.value):
586 fg_node = core.BNNewFlowGraphNodeReference(blocks[i])
587 assert fg_node is not None, "core.BNNewFlowGraphNodeReference returned None"
588 result.append(FlowGraphNode(self, fg_node))
589 core.BNFreeFlowGraphNodeList(blocks, count.value)
590 return result
591
592 @property
593 def node_count(self) -> int:

Callers

nothing calls this directly

Calls 2

FlowGraphNodeClass · 0.70
appendMethod · 0.45

Tested by

no test coverage detected