summaryrefslogtreecommitdiff
path: root/view/sharedcache/core/VM.cpp
diff options
context:
space:
mode:
authorkat <kat@vector35.com>2024-11-06 11:10:01 -0500
committerGalen Williamson <galen@vector35.com>2024-11-06 13:04:15 -0500
commit30753ee362f782c6fc4e96dfc1a854983f67e48c (patch)
tree17c6835f2c97f20637db018196928738aa5eda24 /view/sharedcache/core/VM.cpp
parent62f2addc577d1a202907527ad3c5a2135b5db0eb (diff)
[SharedCache] Fix bndb save/load within projects
Diffstat (limited to 'view/sharedcache/core/VM.cpp')
-rw-r--r--view/sharedcache/core/VM.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/view/sharedcache/core/VM.cpp b/view/sharedcache/core/VM.cpp
index 32d6c938..0271ed7f 100644
--- a/view/sharedcache/core/VM.cpp
+++ b/view/sharedcache/core/VM.cpp
@@ -110,6 +110,11 @@ std::string ResolveFilePath(BinaryNinja::Ref<BinaryNinja::BinaryView> dscView, c
}
}
+ if (dscView->GetFile()->GetProjectFile())
+ {
+ BinaryNinja::LogError("Failed to resolve file path for %s", path.c_str());
+ }
+
// If we couldn't find a sibling filename, just return the path we were given
return path;
}