From 4072c101bebea857722305954231e00590bfe1cc Mon Sep 17 00:00:00 2001 From: Alexander Khosrowshahi Date: Wed, 18 Jun 2025 17:05:13 -0400 Subject: Add support for ternary simplification in Psuedo C and disable in graph view --- binaryninjaapi.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index be4e6313..d3bb4a15 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -19785,6 +19785,10 @@ namespace BinaryNinja { BNBraceRequirement GetBraceRequirement() const; bool HasBracesAroundSwitchCases() const; bool GetDefaultBracesOnSameLine() const; + + /*! Gets the maximum number of tokens to emit as a ternary operation. */ + size_t GetMaxTernarySimplificationTokens() const; + bool IsSimpleScopeAllowed() const; /*! Gets the list of lines in the output. */ -- cgit v1.3.1