From 90d5791ef7b211ca8f792eb64f9452f6df92d1e0 Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Fri, 30 May 2025 09:22:50 -0700 Subject: [ObjC] Improve how [super ...] calls are displayed 1. Skip displaying the declaration and initialization of the objc_super struct since that's an artifact of how objc_msgSendSuper is called. 2. Display the message receiver as `super` rather than `&super` --- lang/c/pseudoc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lang/c/pseudoc.h') diff --git a/lang/c/pseudoc.h b/lang/c/pseudoc.h index 65d3fc69..d983b2d9 100644 --- a/lang/c/pseudoc.h +++ b/lang/c/pseudoc.h @@ -55,6 +55,7 @@ protected: BinaryNinja::TypePrinter* GetTypePrinter() const; + virtual bool ShouldSkipStatement(const BinaryNinja::HighLevelILInstruction& instr); virtual void GetExpr_CALL_OR_TAILCALL(const BinaryNinja::HighLevelILInstruction& instr, BinaryNinja::HighLevelILTokenEmitter& tokens, BinaryNinja::DisassemblySettings* settings, BNOperatorPrecedence precedence, bool statement); -- cgit v1.3.1