From c9dbb48365bf1a0c5c06daa2234e21e64d9bc2f7 Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Fri, 13 Feb 2026 18:33:54 -0800 Subject: [DSC] Correctly mark symbols as having local, global, or weak binding --- view/sharedcache/core/SharedCache.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'view/sharedcache/core/SharedCache.h') diff --git a/view/sharedcache/core/SharedCache.h b/view/sharedcache/core/SharedCache.h index 58f1f38c..010dff10 100644 --- a/view/sharedcache/core/SharedCache.h +++ b/view/sharedcache/core/SharedCache.h @@ -10,12 +10,13 @@ struct CacheSymbol { BNSymbolType type; + BNSymbolBinding binding = NoBinding; uint64_t address; std::string name; CacheSymbol() = default; - CacheSymbol(BNSymbolType type, uint64_t address, std::string name) : - type(type), address(address), name(std::move(name)) + CacheSymbol(BNSymbolType type, BNSymbolBinding binding, uint64_t address, std::string name) : + type(type), binding(binding), address(address), name(std::move(name)) {} ~CacheSymbol() = default; -- cgit v1.3.1