diff options
| author | Alexander Khosrowshahi <alexk@vector35.com> | 2025-06-18 17:05:13 -0400 |
|---|---|---|
| committer | Alex Khosrowshahi <71569995+spoonmilk@users.noreply.github.com> | 2025-06-28 14:00:17 -0700 |
| commit | 4072c101bebea857722305954231e00590bfe1cc (patch) | |
| tree | 83b37bad9b51f3cd624ebd458d3e612a4f967bbf /highlevelil.cpp | |
| parent | 99965f6e9ad42f8f3afadf8cf32be14d11a3b6e2 (diff) | |
Add support for ternary simplification in Psuedo C and disable in graph view
Diffstat (limited to 'highlevelil.cpp')
| -rw-r--r-- | highlevelil.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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 { |
