diff options
| author | Mark Rowe <mark@vector35.com> | 2026-03-24 13:46:57 -0700 |
|---|---|---|
| committer | Mark Rowe <mark@vector35.com> | 2026-03-30 13:22:34 -0700 |
| commit | 0a356578e65cf54c5b654b59a509c2ebe29ab54b (patch) | |
| tree | 36ddeae516b824e77e3369599ba796d9eef7f7a9 /view/sharedcache/core/SharedCacheController.h | |
| parent | ddd7aa4e7cd5a1aa07a16c3895d1f91ebf49347b (diff) | |
[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.
Diffstat (limited to 'view/sharedcache/core/SharedCacheController.h')
| -rw-r--r-- | view/sharedcache/core/SharedCacheController.h | 3 |
1 files changed, 3 insertions, 0 deletions
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<Metadata> 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 |
