diff options
| author | Mark Rowe <mark@vector35.com> | 2026-04-13 13:07:09 -0700 |
|---|---|---|
| committer | Mark Rowe <mark@vector35.com> | 2026-04-22 15:20:52 -0700 |
| commit | aa8dab21d44b4e0dd863f0867c7e735cfb878a4d (patch) | |
| tree | 256ca89364716afed1735521106130571b0fdb9b /view/sharedcache/core/SharedCacheView.h | |
| parent | 84d66dc7e6244e6ef78ebb3a2aa24b57a6ed4345 (diff) | |
Always show the triage view when opening a shared cache or kernel cache
BinaryViewType gains a HasNoInitialContent function that views can use
to suppress layout restoration when opening a file. The layout will
still be restored when the view is loaded from a saved database.
Fixes https://github.com/Vector35/binaryninja-api/issues/8083.
Diffstat (limited to 'view/sharedcache/core/SharedCacheView.h')
| -rw-r--r-- | view/sharedcache/core/SharedCacheView.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/view/sharedcache/core/SharedCacheView.h b/view/sharedcache/core/SharedCacheView.h index ce592519..25f9591f 100644 --- a/view/sharedcache/core/SharedCacheView.h +++ b/view/sharedcache/core/SharedCacheView.h @@ -62,6 +62,8 @@ public: bool IsDeprecated() override { return false; } + bool HasNoInitialContent() override { return true; } + BinaryNinja::Ref<BinaryNinja::Settings> GetLoadSettingsForData(BinaryNinja::BinaryView* data) override; }; |
