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