List of data variables (read-only)
(self)
| 3387 | |
| 3388 | @property |
| 3389 | def data_vars(self) -> Mapping[int, 'DataVariable']: |
| 3390 | """List of data variables (read-only)""" |
| 3391 | count = ctypes.c_ulonglong(0) |
| 3392 | var_list = core.BNGetDataVariables(self.handle, count) |
| 3393 | assert var_list is not None, "core.BNGetDataVariables returned None" |
| 3394 | result = {} |
| 3395 | try: |
| 3396 | for i in range(0, count.value): |
| 3397 | result[var_list[i].address] = DataVariable.from_core_struct(var_list[i], self) |
| 3398 | return result |
| 3399 | finally: |
| 3400 | core.BNFreeDataVariables(var_list, count.value) |
| 3401 | |
| 3402 | @property |
| 3403 | def types(self) -> TypeMapping: |
nothing calls this directly
no test coverage detected