diff options
| author | kat <kat@vector35.com> | 2024-06-04 10:59:44 -0400 |
|---|---|---|
| committer | kat <kat@vector35.com> | 2024-06-11 14:28:26 -0400 |
| commit | c5df1bf9d788344192b1a63690d8d5845b713f29 (patch) | |
| tree | a1fb7aafa9f3e93671fe3b35528b59cc4bb29827 /view/macho/machoview.h | |
| parent | 1707989955983663933377329952944577678076 (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.h | 4 |
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; |
