From 626db3c3e52fe7b10d615cf9b19c37aa8602cc59 Mon Sep 17 00:00:00 2001 From: Galen Williamson Date: Fri, 8 Mar 2024 14:30:14 -0500 Subject: restored "Merge pull request Vector35#7 from VisualEhrmanntraut/main" commit lost in views refactor --- view/macho/machoview.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'view/macho/machoview.h') 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 segments; //only three types of sections __TEXT, __DATA, __IMPORT std::vector sections; -- cgit v1.3.1