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 /binaryninjaapi.h | |
| parent | 99965f6e9ad42f8f3afadf8cf32be14d11a3b6e2 (diff) | |
Add support for ternary simplification in Psuedo C and disable in graph view
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 4 |
1 files changed, 4 insertions, 0 deletions
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. */ |
