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 --- highlevelil.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'highlevelil.cpp') diff --git a/highlevelil.cpp b/highlevelil.cpp index 7e65e1e6..77a0f051 100644 --- a/highlevelil.cpp +++ b/highlevelil.cpp @@ -878,6 +878,11 @@ bool HighLevelILTokenEmitter::GetDefaultBracesOnSameLine() const return BNHighLevelILTokenEmitterGetDefaultBracesOnSameLine(m_object); } +size_t HighLevelILTokenEmitter::GetMaxTernarySimplificationTokens() const +{ + return BNHighLevelILTokenEmitterGetMaxTernarySimplficationTokens(m_object); +} + bool HighLevelILTokenEmitter::IsSimpleScopeAllowed() const { -- cgit v1.3.1