summaryrefslogtreecommitdiff
path: root/lang/c/pseudoobjc.h
diff options
context:
space:
mode:
authorMark Rowe <mrowe@bdash.net.nz>2025-06-09 23:18:22 -0700
committerkat <kat@vector35.com>2025-06-18 10:39:08 -0400
commitb3b06af27b7c706bb01fc215c342c97082975b14 (patch)
tree358fed404d946b7b31962b360b72de48e2b054ab /lang/c/pseudoobjc.h
parent092815158ee7580ea0631dbf14243c11b63de6e3 (diff)
[ObjC] Rewrite a couple of additional runtime calls
objc_opt_self -> [... self], objc_opt_isKindOfClass -> [... isKindOfClass:...], objc_opt_respondsToSelector -> [... respondsToSelector:...]
Diffstat (limited to 'lang/c/pseudoobjc.h')
-rw-r--r--lang/c/pseudoobjc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/c/pseudoobjc.h b/lang/c/pseudoobjc.h
index 6e49d400..d7d63196 100644
--- a/lang/c/pseudoobjc.h
+++ b/lang/c/pseudoobjc.h
@@ -28,6 +28,9 @@ private:
bool GetExpr_GenericObjCRuntimeCall(uint64_t address, const BinaryNinja::HighLevelILInstruction& expr,
BinaryNinja::HighLevelILTokenEmitter& tokens, BinaryNinja::DisassemblySettings* settings,
const std::vector<BinaryNinja::HighLevelILInstruction>& parameterExprs, const std::vector<std::string_view>& selectorTokens);
+ bool GetExpr_TwoParamObjCRuntimeCall(uint64_t address, const BinaryNinja::HighLevelILInstruction& expr,
+ BinaryNinja::HighLevelILTokenEmitter& tokens, BinaryNinja::DisassemblySettings* settings,
+ const std::vector<BinaryNinja::HighLevelILInstruction>& parameterExprs, std::string_view selectorToken);
bool GetExpr_OBJC_CLASS(const BinaryNinja::Symbol& symbol, uint64_t constant,
const BinaryNinja::HighLevelILInstruction& expr, BinaryNinja::HighLevelILTokenEmitter& tokens,
BinaryNinja::DisassemblySettings* settings, BNOperatorPrecedence precedence, bool statement);