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

Method split_vars

python/function.py:1635–1647  ·  view source on GitHub ↗

Set of variables that have been split with ``split_var``. These variables correspond to those unique to each definition site and are obtained by using ``MediumLevelILInstruction.get_split_var_for_definition`` at the definitions.

(self)

Source from the content-addressed store, hash-verified

1633
1634 @property
1635 def split_vars(self) -> List['variable.Variable']:
1636 """
1637 Set of variables that have been split with ``split_var``. These variables correspond
1638 to those unique to each definition site and are obtained by using
1639 ``MediumLevelILInstruction.get_split_var_for_definition`` at the definitions.
1640 """
1641 count = ctypes.c_ulonglong()
1642 data = core.BNGetSplitVariables(self.handle, count)
1643 result = []
1644 for i in range(count.value):
1645 result.append(Variable.from_BNVariable(self, data[i]))
1646 core.BNFreeVariableList(data)
1647 return result
1648
1649 @property
1650 def components(self):

Callers

nothing calls this directly

Calls 2

appendMethod · 0.45
from_BNVariableMethod · 0.45

Tested by

no test coverage detected