diff options
| author | Mark Rowe <mrowe@bdash.net.nz> | 2025-05-30 09:22:50 -0700 |
|---|---|---|
| committer | kat <kat@vector35.com> | 2025-06-18 10:44:49 -0400 |
| commit | 90d5791ef7b211ca8f792eb64f9452f6df92d1e0 (patch) | |
| tree | 0c739461f6ad946fa917de2f94029ad03c6e1d85 /lang/c/pseudoc.h | |
| parent | b6b98c07eb8ce704da4edf5a0b16959215a2c450 (diff) | |
[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`
Diffstat (limited to 'lang/c/pseudoc.h')
| -rw-r--r-- | lang/c/pseudoc.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |
