summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2025-05-21 15:40:40 -0400
committerGlenn Smith <glenn@vector35.com>2025-05-21 15:55:33 -0400
commit7034625749757855498719688163172210395379 (patch)
tree1fd2b9b814eaa8ed81dcad7b386aeb0239e3f3e6 /binaryninjaapi.h
parent397b5693c4b354349ade15eab09baa5dde744f1c (diff)
Fix HLIL_LABEL rendering
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 0d2bdfe2..089b3693 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -2460,6 +2460,9 @@ namespace BinaryNinja {
InstructionTextToken(const BNInstructionTextToken& token);
InstructionTextToken WithConfidence(uint8_t conf);
+ BNInstructionTextToken GetAPIObject() const;
+ static InstructionTextToken FromAPIObject(const BNInstructionTextToken* token);
+ static void FreeAPIObject(BNInstructionTextToken* token);
static void ConvertInstructionTextToken(const InstructionTextToken& token, BNInstructionTextToken* result);
static BNInstructionTextToken* CreateInstructionTextTokenList(const std::vector<InstructionTextToken>& tokens);
static void FreeInstructionTextToken(BNInstructionTextToken* token);
@@ -19502,6 +19505,9 @@ namespace BinaryNinja {
/*! Returns the list of tokens on the current line */
std::vector<InstructionTextToken> GetCurrentTokens() const;
+ /*! Set the list of tokens on the current line */
+ void SetCurrentTokens(const std::vector<InstructionTextToken>& newTokens);
+
/*! Sets the requirement for insertion of braces around scopes in the output. */
void SetBraceRequirement(BNBraceRequirement required);