diff options
| author | Mason Reed <mason@vector35.com> | 2025-05-11 21:40:35 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-05-30 10:36:15 -0400 |
| commit | 85d51eeefdca18ec9efe8c4b85d9e5b457ad9e11 (patch) | |
| tree | 7c30417a1efc3ff80b40a820f1d4e8f4011a972e /objectivec/objc.h | |
| parent | 5ecf8d518fef0646870f3e8c094cd7aa4310a8eb (diff) | |
Misc shared cache improvements
- Removed last use of user object creation in objective-c
- Fixed function type info being omitted from certain images loaded automatically
- Add TODO about undo action in view init. This is not critical, just a non-actionable warning because of a design flaw
I will restate this again for anyone in the future, until the undo action system is thread-safe avoid calling it from any thread other than the main thread, it is very easy to deadlock or cause other issues. That goes for basically all user analysis object creation.
Diffstat (limited to 'objectivec/objc.h')
| -rw-r--r-- | objectivec/objc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/objectivec/objc.h b/objectivec/objc.h index 01fb5e5a..9aeb159a 100644 --- a/objectivec/objc.h +++ b/objectivec/objc.h @@ -280,7 +280,7 @@ namespace BinaryNinja { // TODO(WeiN76LQh): this is to avoid a bug with defining a classes protocol list in the DSC plugin. Remove once fixed bool m_skipClassBaseProtocols; - SymbolQueue* m_symbolQueue = nullptr; + SymbolQueue* m_symbolQueue; std::map<uint64_t, Class> m_classes; std::map<uint64_t, Class> m_categories; std::map<uint64_t, Protocol> m_protocols; @@ -331,7 +331,6 @@ namespace BinaryNinja { virtual ~ObjCProcessor() = default; ObjCProcessor(BinaryView* data, const char* loggerName, bool isBackedByDatabase, bool skipClassBaseProtocols = false); - // TODO: Instead of passing in image name the processor must be given section refs in a structure that outlines all objc sections. void ProcessObjCData(); void ProcessCFStrings(); void AddRelocatedPointer(uint64_t location, uint64_t rewrite); |
