summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorAlexander Khosrowshahi <alexk@vector35.com>2025-06-18 17:05:13 -0400
committerAlex Khosrowshahi <71569995+spoonmilk@users.noreply.github.com>2025-06-28 14:00:17 -0700
commit4072c101bebea857722305954231e00590bfe1cc (patch)
tree83b37bad9b51f3cd624ebd458d3e612a4f967bbf /binaryninjacore.h
parent99965f6e9ad42f8f3afadf8cf32be14d11a3b6e2 (diff)
Add support for ternary simplification in Psuedo C and disable in graph view
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index 9ae76981..dc6f293d 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -8312,6 +8312,7 @@ extern "C"
BNHighLevelILTokenEmitter* emitter);
BINARYNINJACOREAPI bool BNHighLevelILTokenEmitterHasBracesAroundSwitchCases(BNHighLevelILTokenEmitter* emitter);
BINARYNINJACOREAPI bool BNHighLevelILTokenEmitterGetDefaultBracesOnSameLine(BNHighLevelILTokenEmitter* emitter);
+ BINARYNINJACOREAPI size_t BNHighLevelILTokenEmitterGetMaxTernarySimplficationTokens(BNHighLevelILTokenEmitter* emitter);
BINARYNINJACOREAPI bool BNHighLevelILTokenEmitterIsSimpleScopeAllowed(BNHighLevelILTokenEmitter* emitter);
BINARYNINJACOREAPI BNInstructionTextToken* BNHighLevelILTokenEmitterGetCurrentTokens(BNHighLevelILTokenEmitter* emitter, size_t* tokenCount);
BINARYNINJACOREAPI void BNHighLevelILTokenEmitterSetCurrentTokens(BNHighLevelILTokenEmitter* emitter, BNInstructionTextToken* tokens, size_t tokenCount);