diff options
| author | Glenn Smith <glenn@vector35.com> | 2025-05-21 15:40:40 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2025-05-21 15:55:33 -0400 |
| commit | 7034625749757855498719688163172210395379 (patch) | |
| tree | 1fd2b9b814eaa8ed81dcad7b386aeb0239e3f3e6 /highlevelil.cpp | |
| parent | 397b5693c4b354349ade15eab09baa5dde744f1c (diff) | |
Fix HLIL_LABEL rendering
Diffstat (limited to 'highlevelil.cpp')
| -rw-r--r-- | highlevelil.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/highlevelil.cpp b/highlevelil.cpp index 96ed664a..91ce5cfc 100644 --- a/highlevelil.cpp +++ b/highlevelil.cpp @@ -821,6 +821,15 @@ vector<InstructionTextToken> HighLevelILTokenEmitter::GetCurrentTokens() const } +void HighLevelILTokenEmitter::SetCurrentTokens(const std::vector<InstructionTextToken>& newTokens) +{ + size_t count; + auto* tokens = AllocAPIObjectList<InstructionTextToken>(newTokens, &count); + BNHighLevelILTokenEmitterSetCurrentTokens(m_object, tokens, count); + FreeAPIObjectList<InstructionTextToken>(tokens, count); +} + + void HighLevelILTokenEmitter::SetBraceRequirement(BNBraceRequirement required) { BNHighLevelILTokenEmitterSetBraceRequirement(m_object, required); |
