List of function stack variables (read-only)
(self)
| 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']: |
nothing calls this directly
no test coverage detected