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

Method vars

python/function.py:1231–1239  ·  view source on GitHub ↗

List of function variables (read-only)

(self)

Source from the content-addressed store, hash-verified

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']:

Callers

nothing calls this directly

Calls 1

from_BNVariableMethod · 0.45

Tested by

no test coverage detected