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

Method core_var_stack_layout

python/function.py:1220–1228  ·  view source on GitHub ↗

List of function stack variables (read-only)

(self)

Source from the content-addressed store, hash-verified

1218
1219 @property
1220 def core_var_stack_layout(self) -> List['variable.CoreVariable']:
1221 """List of function stack variables (read-only)"""
1222 count = ctypes.c_ulonglong()
1223 v = core.BNGetStackLayout(self.handle, count)
1224 assert v is not None, "core.BNGetStackLayout returned None"
1225 try:
1226 return [variable.CoreVariable.from_BNVariable(v[i].var) for i in range(count.value)]
1227 finally:
1228 core.BNFreeVariableNameAndTypeList(v, count.value)
1229
1230 @property
1231 def vars(self) -> List['variable.Variable']:

Callers

nothing calls this directly

Calls 1

from_BNVariableMethod · 0.45

Tested by

no test coverage detected