summaryrefslogtreecommitdiff
path: root/view/sharedcache/core/SharedCache.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/SharedCache.h
parente2feac85c58785640a2760f137a44c08ef953931 (diff)
[DSC] Correctly mark symbols as having local, global, or weak binding
Diffstat (limited to 'view/sharedcache/core/SharedCache.h')
-rw-r--r--view/sharedcache/core/SharedCache.h5
1 files changed, 3 insertions, 2 deletions
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;