diff options
| author | Glenn Smith <glenn@vector35.com> | 2023-02-14 17:48:23 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2023-02-14 17:56:54 -0500 |
| commit | 7829801632556958526537447495764541534147 (patch) | |
| tree | 07e532e94d19d6733257a517adfef1f9b3f58093 /binaryninjaapi.h | |
| parent | 0a41de02d27174ecb9d2f6ae439267b9428f04ea (diff) | |
Add DisassemblySettings to LLIL::GetExprText
To make possible the next commit
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 8 |
1 files changed, 6 insertions, 2 deletions
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<InstructionTextToken>& tokens); + bool GetExprText(Architecture* arch, ExprId expr, std::vector<InstructionTextToken>& 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<InstructionTextToken>& tokens); + Function* func, Architecture* arch, size_t i, std::vector<InstructionTextToken>& tokens, + DisassemblySettings* settings = nullptr); uint32_t GetTemporaryRegisterCount(); uint32_t GetTemporaryFlagCount(); |
