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

Method from_core_struct

python/binaryview.py:11066–11070  ·  view source on GitHub ↗
(cls, var: core.BNDataVariable, view: 'BinaryView')

Source from the content-addressed store, hash-verified

11064
11065 @classmethod
11066 def from_core_struct(cls, var: core.BNDataVariable, view: 'BinaryView') -> 'DataVariable':
11067 var_type = _types.Type.create(
11068 core.BNNewTypeReference(var.type), platform=view.platform, confidence=var.typeConfidence
11069 )
11070 return cls(view, var.address, var_type, var.autoDiscovered)
11071
11072 @property
11073 def data_refs_from(self) -> Optional[Generator[int, None, None]]:

Callers 10

_data_var_addedMethod · 0.45
_data_var_removedMethod · 0.45
_data_var_updatedMethod · 0.45
data_varsMethod · 0.45
get_data_var_atMethod · 0.45

Calls 1

createMethod · 0.45

Tested by

no test coverage detected