diff options
| author | Mason Reed <mason@vector35.com> | 2025-04-14 02:52:47 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-04-14 03:20:51 -0400 |
| commit | ecdb87a7b737c3d432775b748f9cff686230f28d (patch) | |
| tree | 66ec4ccd8f96bc6efb435e262c6d7d1c38ea880b /view/sharedcache/core/Utility.h | |
| parent | 09a617a7a86207eaf09ccd5ebc72e734275baa66 (diff) | |
[SharedCache] Allow project databases to be stored in a separate folder
However the primary file will need to be selected each time you open, for that to be resolved we need to use project file UUID's or the cache entry UUID's themselves to traverse all project files
Diffstat (limited to 'view/sharedcache/core/Utility.h')
| -rw-r--r-- | view/sharedcache/core/Utility.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/view/sharedcache/core/Utility.h b/view/sharedcache/core/Utility.h index 81c3b583..5664fd9b 100644 --- a/view/sharedcache/core/Utility.h +++ b/view/sharedcache/core/Utility.h @@ -40,6 +40,7 @@ void ApplySymbol(BinaryNinja::Ref<BinaryNinja::BinaryView> view, BinaryNinja::Re // /blah/foo/bar/libObjCThing.dylib -> libObjCThing.dylib std::string BaseFileName(const std::string& path); +bool IsSameFolderForFile(BinaryNinja::Ref<BinaryNinja::ProjectFile> a, BinaryNinja::Ref<BinaryNinja::ProjectFile> b); bool IsSameFolder(BinaryNinja::Ref<BinaryNinja::ProjectFolder> a, BinaryNinja::Ref<BinaryNinja::ProjectFolder> b); // Represents a range of addresses [start, end). |
