List of function variables (read-only)
(self)
| 1229 | |
| 1230 | @property |
| 1231 | def vars(self) -> List['variable.Variable']: |
| 1232 | """List of function variables (read-only)""" |
| 1233 | count = ctypes.c_ulonglong() |
| 1234 | v = core.BNGetFunctionVariables(self.handle, count) |
| 1235 | assert v is not None, "core.BNGetFunctionVariables returned None" |
| 1236 | try: |
| 1237 | return [variable.Variable.from_BNVariable(self, v[i].var) for i in range(count.value)] |
| 1238 | finally: |
| 1239 | core.BNFreeVariableNameAndTypeList(v, count.value) |
| 1240 | |
| 1241 | @property |
| 1242 | def core_vars(self) -> List['variable.CoreVariable']: |
nothing calls this directly
no test coverage detected