diff options
| author | kat <kat@vector35.com> | 2025-06-20 16:17:01 -0400 |
|---|---|---|
| committer | kat <kat@vector35.com> | 2025-06-23 10:40:55 -0400 |
| commit | 76215b86ff629da58aa94d4cf4093d2e67017412 (patch) | |
| tree | 06af88506096351e99053ab5ed9901ff892801f3 /plugins/workflow_objc/MessageHandler.h | |
| parent | 17b2cb59846073fdbc08235555fd68cdb6852c42 (diff) | |
Move workflow_objc to API repo, remove CFString & relptr renderers
Diffstat (limited to 'plugins/workflow_objc/MessageHandler.h')
| -rw-r--r-- | plugins/workflow_objc/MessageHandler.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/workflow_objc/MessageHandler.h b/plugins/workflow_objc/MessageHandler.h new file mode 100644 index 00000000..8826b094 --- /dev/null +++ b/plugins/workflow_objc/MessageHandler.h @@ -0,0 +1,16 @@ +#pragma once + +#include <binaryninjaapi.h> + +class MessageHandler { + + std::set<uint64_t> m_msgSendFunctions; + static std::set<uint64_t> findMsgSendFunctions(BinaryNinja::Ref<BinaryNinja::BinaryView> data); + +public: + MessageHandler(BinaryNinja::Ref<BinaryNinja::BinaryView> data); + + std::set<uint64_t> getMessageSendFunctions() const { return m_msgSendFunctions; } + bool hasMessageSendFunctions() const { return m_msgSendFunctions.size() != 0; } + bool isMessageSend(uint64_t); +}; |
