From ad337df11a3939dea833fc39d7ee555a427b9d09 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Wed, 19 Feb 2025 23:17:55 -0500 Subject: [SharedCache] Warn when loading BNDB with different shared cache metadata version This does not actually give the user control to exit early, that looks to need core changes. --- view/sharedcache/core/SharedCache.h | 1 + 1 file changed, 1 insertion(+) (limited to 'view/sharedcache/core/SharedCache.h') diff --git a/view/sharedcache/core/SharedCache.h b/view/sharedcache/core/SharedCache.h index f6a1e7a8..c78ad554 100644 --- a/view/sharedcache/core/SharedCache.h +++ b/view/sharedcache/core/SharedCache.h @@ -668,6 +668,7 @@ private: public: static std::optional LoadFromView(BinaryView*); static bool ViewHasMetadata(BinaryView*); + static std::optional ViewMetadataVersion(BinaryView*); const std::unordered_map>>>& ExportInfos() const; std::string InstallNameForImageBaseAddress(uint64_t baseAddress) const; -- cgit v1.3.1