(cls, var: core.BNDataVariable, view: 'BinaryView')
| 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]]: |
no test coverage detected