summaryrefslogtreecommitdiff
path: root/view/macho/machoview.h
diff options
context:
space:
mode:
authorMark Rowe <mark@vector35.com>2026-04-10 11:22:23 -0700
committerMark Rowe <mark@vector35.com>2026-04-21 14:36:23 -0700
commit8ed744a615909ac4bec2bc6dd92cf5cb0485cf07 (patch)
tree678b3a973a777252d512c600da2f9cc04628204c /view/macho/machoview.h
parent71b1c61391c0b32dd19053bfcaf51bbd67f0a642 (diff)
[MachO] Improve library tracking for imported symbols
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 f41cd8bd..0e0216f9 100644
--- a/view/macho/machoview.h
+++ b/view/macho/machoview.h
@@ -1502,7 +1502,9 @@ namespace BinaryNinja
void RebaseThreadStarts(BinaryReader& virtualReader, std::vector<uint32_t>& threadStarts, uint64_t stepMultiplier);
Ref<Symbol> DefineMachoSymbol(
BNSymbolType type, const std::string& name, uint64_t addr, BNSymbolBinding binding, bool deferred);
- void ParseSymbolTable(BinaryReader& reader, MachOHeader& header, const symtab_command& symtab, const std::vector<uint32_t>& symbolStubsList, MachoObjCProcessor*);
+ void ParseSymbolTable(BinaryReader& reader, MachOHeader& header, const symtab_command& symtab,
+ const std::vector<uint32_t>& symbolStubsList, MachoObjCProcessor*,
+ std::unordered_map<std::string, std::string>& symbolLibraryMapping);
bool IsValidFunctionStart(uint64_t addr);
void ParseFunctionStarts(Platform* platform, uint64_t textBase, function_starts_command functionStarts);
bool ParseRelocationEntry(const relocation_info& info, uint64_t start, BNRelocationInfo& result);