From aa8dab21d44b4e0dd863f0867c7e735cfb878a4d Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Mon, 13 Apr 2026 13:07:09 -0700 Subject: 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. --- view/kernelcache/core/KernelCacheView.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view/kernelcache') diff --git a/view/kernelcache/core/KernelCacheView.h b/view/kernelcache/core/KernelCacheView.h index bfe12502..bb2515e4 100644 --- a/view/kernelcache/core/KernelCacheView.h +++ b/view/kernelcache/core/KernelCacheView.h @@ -54,6 +54,8 @@ public: bool IsDeprecated() override { return false; } + bool HasNoInitialContent() override { return true; } + BinaryNinja::Ref GetLoadSettingsForData(BinaryNinja::BinaryView* data) override; }; -- cgit v1.3.1