From 7829801632556958526537447495764541534147 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Tue, 14 Feb 2023 17:48:23 -0500 Subject: Add DisassemblySettings to LLIL::GetExprText To make possible the next commit --- binaryninjaapi.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index c5724621..637aeb10 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -10700,9 +10700,11 @@ namespace BinaryNinja { \param[in] arch Architecture for the expression \param[in] expr Expression to get the text for \param[out] tokens Output reference to write the instruction tokens to + \param[in] settings Optional structure with settings for rendering text \return True/False on success or failure */ - bool GetExprText(Architecture* arch, ExprId expr, std::vector& tokens); + bool GetExprText(Architecture* arch, ExprId expr, std::vector& tokens, + DisassemblySettings* settings = nullptr); /*! Get the list of InstructionTextTokens for a given instruction @@ -10710,10 +10712,12 @@ namespace BinaryNinja { \param[in] arch Architecture for the instruction \param[in] i Index of the instruction \param[out] tokens Output reference to write the instruction tokens to + \param[in] settings Optional structure with settings for rendering text \return True/False on success or failure */ bool GetInstructionText( - Function* func, Architecture* arch, size_t i, std::vector& tokens); + Function* func, Architecture* arch, size_t i, std::vector& tokens, + DisassemblySettings* settings = nullptr); uint32_t GetTemporaryRegisterCount(); uint32_t GetTemporaryFlagCount(); -- cgit v1.3.1