diff options
| author | Alexander Taylor <alex@vector35.com> | 2026-05-20 13:27:43 -0400 |
|---|---|---|
| committer | Alexander Taylor <alex@vector35.com> | 2026-05-27 13:34:09 -0400 |
| commit | 8b15f7c80d57d3f249281ab6a320795ee7a04483 (patch) | |
| tree | 02a84a972633d20caf5bfe639c486846688ecdf1 /docs | |
| parent | 5488ad9a6f4ca075718dc733bee5034d4760c2d6 (diff) | |
Better handling for shared cache files in projects.
Closes #6630.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/guide/sharedcache.md | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/guide/sharedcache.md b/docs/guide/sharedcache.md index bda9afc4..0adf6f6f 100644 --- a/docs/guide/sharedcache.md +++ b/docs/guide/sharedcache.md @@ -72,13 +72,11 @@ bv = load( ) ``` -Note: `loader.dsc.primaryFilePath` is used only for the *current* load. Binary Ninja stores the primary cache file's basename in the database, but not the absolute path. If the primary shared cache file is in another directory and can't be found automatically, you may need to specify the `primaryFilePath` on subsequent loads. +Note: `loader.dsc.primaryFilePath` is used only for the *current* load. Binary Ninja does not persist the absolute override path. When the primary file is resolved in a project, Binary Ninja stores the project-relative path. When it is resolved outside a project, Binary Ninja stores a path relative to the database when possible. ### Project Support -Binary Ninja projects support `dyld_shared_cache` files. However, due to the nature of the project files not having a mappable path, -saving the analysis database (`.bndb`) in a separate directory will require you to select the primary shared cache file on -every open of the database. As a result, we advise keeping your analysis database in the same folder as your `dyld_shared_cache` files. +Binary Ninja projects support `dyld_shared_cache` files. We recommend keeping your analysis database (`.bndb`) in the same project folder as your `dyld_shared_cache` files. If the database and shared cache files are in different project folders, Binary Ninja will try to store and resolve the primary shared cache file using its project-relative path. - `your_project_folder` - `dyld_shared_cache_arm64` (**Primary**) |
