diff options
| author | Galen Williamson <galen@vector35.com> | 2024-03-08 14:30:14 -0500 |
|---|---|---|
| committer | Galen Williamson <galen@vector35.com> | 2024-03-08 14:30:14 -0500 |
| commit | 626db3c3e52fe7b10d615cf9b19c37aa8602cc59 (patch) | |
| tree | 55c5d03f2775be21472b10bbb9c9ebc65f89ee94 /view/macho/machoview.h | |
| parent | d463358de929f7e1fc5c8787ef886861e745e1a7 (diff) | |
restored "Merge pull request Vector35#7 from VisualEhrmanntraut/main" commit lost in views refactor
Diffstat (limited to 'view/macho/machoview.h')
| -rw-r--r-- | view/macho/machoview.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/view/macho/machoview.h b/view/macho/machoview.h index 20d2ea78..8dd5328d 100644 --- a/view/macho/machoview.h +++ b/view/macho/machoview.h @@ -1228,7 +1228,7 @@ namespace BinaryNinja #endif struct MachOHeader { - bool isMainHeader; + bool isMainHeader = false; uint64_t textBase = 0; uint64_t loadCommandOffset = 0; @@ -1248,9 +1248,9 @@ namespace BinaryNinja linkedit_data_command chainedFixups {}; DataBuffer* stringList; - size_t stringListSize; + size_t stringListSize = 0; - uint64_t relocationBase; + uint64_t relocationBase = 0; // Section and program headers, internally use 64-bit form as it is a superset of 32-bit std::vector<segment_command_64> segments; //only three types of sections __TEXT, __DATA, __IMPORT std::vector<section_64> sections; |
