summaryrefslogtreecommitdiff
path: root/view/sharedcache/core/SharedCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'view/sharedcache/core/SharedCache.h')
-rw-r--r--view/sharedcache/core/SharedCache.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/view/sharedcache/core/SharedCache.h b/view/sharedcache/core/SharedCache.h
index 3211b90c..0bf04776 100644
--- a/view/sharedcache/core/SharedCache.h
+++ b/view/sharedcache/core/SharedCache.h
@@ -31,8 +31,10 @@ struct CacheSymbol
CacheSymbol& operator=(CacheSymbol&& other) noexcept = default;
+ std::pair<std::string, BinaryNinja::Ref<BinaryNinja::Type>> DemangledName(BinaryNinja::BinaryView& view) const;
+
// NOTE: you should really only call this when adding the symbol to the view.
- BinaryNinja::Ref<BinaryNinja::Symbol> ToBNSymbol(BinaryNinja::BinaryView& view) const;
+ std::pair<BinaryNinja::Ref<BinaryNinja::Symbol>, BinaryNinja::Ref<BinaryNinja::Type>> GetBNSymbolAndType(BinaryNinja::BinaryView& view) const;
};
enum class CacheRegionType
@@ -151,11 +153,8 @@ public:
CacheEntry& operator=(CacheEntry&&) = default;
// Construct a cache entry from the file on disk.
- // TODO: Seperate this out a bit more.
static std::optional<CacheEntry> FromFile(const std::string& filePath, const std::string& fileName, CacheEntryType type);
- // TODO: From Project file?
-
WeakFileAccessor GetAccessor() const;
// Get the headers virtual address.