summaryrefslogtreecommitdiff
path: root/view/sharedcache/core/MachO.h
diff options
context:
space:
mode:
authorMark Rowe <mark@vector35.com>2026-02-13 18:33:54 -0800
committerMark Rowe <mark@vector35.com>2026-02-13 19:42:13 -0800
commitc9dbb48365bf1a0c5c06daa2234e21e64d9bc2f7 (patch)
treedd476df611f5d74590d48afb869896670a8f560c /view/sharedcache/core/MachO.h
parente2feac85c58785640a2760f137a44c08ef953931 (diff)
[DSC] Correctly mark symbols as having local, global, or weak binding
Diffstat (limited to 'view/sharedcache/core/MachO.h')
-rw-r--r--view/sharedcache/core/MachO.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/view/sharedcache/core/MachO.h b/view/sharedcache/core/MachO.h
index d3a720a9..950e5a46 100644
--- a/view/sharedcache/core/MachO.h
+++ b/view/sharedcache/core/MachO.h
@@ -70,7 +70,8 @@ struct SharedCacheMachOHeader
static std::optional<SharedCacheMachOHeader> ParseHeaderForAddress(
std::shared_ptr<VirtualMemory> vm, uint64_t address, const std::string& imagePath);
- std::vector<CacheSymbol> ReadSymbolTable(VirtualMemory& vm, const TableInfo &symbolInfo, const TableInfo &stringInfo) const;
+ std::vector<CacheSymbol> ReadSymbolTable(VirtualMemory& vm, const TableInfo &symbolInfo, const TableInfo &stringInfo,
+ BNSymbolBinding bindingOverride = NoBinding) const;
bool AddExportTerminalSymbol(
std::vector<CacheSymbol>& symbols, const std::string& symbolName, const uint8_t* current,