summaryrefslogtreecommitdiff
path: root/view/macho/machoview.h
diff options
context:
space:
mode:
authorkat <kat@vector35.com>2024-06-04 10:59:44 -0400
committerkat <kat@vector35.com>2024-06-11 14:28:26 -0400
commitc5df1bf9d788344192b1a63690d8d5845b713f29 (patch)
treea1fb7aafa9f3e93671fe3b35528b59cc4bb29827 /view/macho/machoview.h
parent1707989955983663933377329952944577678076 (diff)
[Mach-O] Fix issue where imported symbols did not have relocations applied, Fix an issue with binding opcode 0xC0
Diffstat (limited to 'view/macho/machoview.h')
-rw-r--r--view/macho/machoview.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/view/macho/machoview.h b/view/macho/machoview.h
index 8dd5328d..240dcc54 100644
--- a/view/macho/machoview.h
+++ b/view/macho/machoview.h
@@ -1238,6 +1238,8 @@ namespace BinaryNinja
std::vector<std::pair<uint64_t, bool>> entryPoints;
std::vector<uint64_t> m_entryPoints; //list of entrypoints
+ std::vector<std::pair<BNRelocationInfo, std::string>> externalRelocations;
+
symtab_command symtab;
dysymtab_command dysymtab;
dyld_info_command dyldInfo;
@@ -1345,7 +1347,7 @@ namespace BinaryNinja
BNSymbolBinding binding);
bool GetSectionPermissions(MachOHeader& header, uint64_t address, uint32_t &flags);
bool GetSegmentPermissions(MachOHeader& header, uint64_t address, uint32_t &flags);
- void ParseChainedFixups(linkedit_data_command chainedFixups);
+ void ParseChainedFixups(MachOHeader& header, linkedit_data_command chainedFixups);
virtual uint64_t PerformGetEntryPoint() const override;