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

Method root

python/highlevelil.py:2589–2594  ·  view source on GitHub ↗

Root of the abstract syntax tree

(self)

Source from the content-addressed store, hash-verified

2587
2588 @property
2589 def root(self) -> Optional[HighLevelILInstruction]:
2590 """Root of the abstract syntax tree"""
2591 expr_index = core.BNGetHighLevelILRootExpr(self.handle)
2592 if expr_index >= core.BNGetHighLevelILExprCount(self.handle):
2593 return None
2594 return HighLevelILInstruction.create(self, ExpressionIndex(expr_index))
2595
2596 @root.setter
2597 def root(self, value: HighLevelILInstruction) -> None:

Callers 10

dump_dwarfFunction · 0.45
export_typeFunction · 0.45
export_functionsFunction · 0.45
export_data_varsFunction · 0.45
export_dwarfFunction · 0.45
do_structure_parseFunction · 0.45
get_parametersFunction · 0.45
handle_enumFunction · 0.45
handle_arrayFunction · 0.45
handle_functionFunction · 0.45

Calls 1

createMethod · 0.45

Tested by

no test coverage detected