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

Method stack_layout

python/function.py:1209–1217  ·  view source on GitHub ↗

List of function stack variables (read-only)

(self)

Source from the content-addressed store, hash-verified

1207
1208 @property
1209 def stack_layout(self) -> List['variable.Variable']:
1210 """List of function stack variables (read-only)"""
1211 count = ctypes.c_ulonglong()
1212 v = core.BNGetStackLayout(self.handle, count)
1213 assert v is not None, "core.BNGetStackLayout returned None"
1214 try:
1215 return [variable.Variable.from_BNVariable(self, v[i].var) for i in range(count.value)]
1216 finally:
1217 core.BNFreeVariableNameAndTypeList(v, count.value)
1218
1219 @property
1220 def core_var_stack_layout(self) -> List['variable.CoreVariable']:

Callers

nothing calls this directly

Calls 1

from_BNVariableMethod · 0.45

Tested by

no test coverage detected