From 0a356578e65cf54c5b654b59a509c2ebe29ab54b Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Tue, 24 Mar 2026 13:46:57 -0700 Subject: [DSC] Process Objective-C metadata when loading view from .bndb The processed Objective-C metadata is not saved to the .bdnb. It must be recomputed when the view is loaded. Fixes https://github.com/Vector35/binaryninja-api/issues/8030. --- view/sharedcache/core/SharedCacheController.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'view/sharedcache/core/SharedCacheController.h') diff --git a/view/sharedcache/core/SharedCacheController.h b/view/sharedcache/core/SharedCacheController.h index ff859321..c468bee5 100644 --- a/view/sharedcache/core/SharedCacheController.h +++ b/view/sharedcache/core/SharedCacheController.h @@ -63,5 +63,8 @@ namespace BinaryNinja::DSC { Ref GetMetadata() const; void LoadMetadata(const Metadata& metadata); + + // Re-run the ObjC processor for loaded images to restore Objective-C metadata. + void ProcessObjCForLoadedImages(BinaryView& view); }; } // namespace BinaryNinja::DSC -- cgit v1.3.1