| 1545 | } |
| 1546 | |
| 1547 | size_t BinaryView::PerformGetAddressSize() const |
| 1548 | { |
| 1549 | Ref<Architecture> arch = GetDefaultArchitecture(); |
| 1550 | if (arch) |
| 1551 | return arch->GetAddressSize(); |
| 1552 | if (GetEnd() > (1LL << 32)) |
| 1553 | return 8; |
| 1554 | return 4; |
| 1555 | } |
| 1556 | |
| 1557 | |
| 1558 | bool BinaryView::PerformSave(FileAccessor* file) |
no test coverage detected