From 7034625749757855498719688163172210395379 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Wed, 21 May 2025 15:40:40 -0400 Subject: Fix HLIL_LABEL rendering --- binaryninjaapi.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'binaryninjaapi.h') 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& tokens); static void FreeInstructionTextToken(BNInstructionTextToken* token); @@ -19502,6 +19505,9 @@ namespace BinaryNinja { /*! Returns the list of tokens on the current line */ std::vector GetCurrentTokens() const; + /*! Set the list of tokens on the current line */ + void SetCurrentTokens(const std::vector& newTokens); + /*! Sets the requirement for insertion of braces around scopes in the output. */ void SetBraceRequirement(BNBraceRequirement required); -- cgit v1.3.1