diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2026-04-27 16:39:21 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2026-05-22 16:30:56 -0400 |
| commit | 08e34ac325743085911f96b62c81d9a1f2127806 (patch) | |
| tree | 4eb72a14340041bdce2d81b0633e8398adc4ddb4 /highlevelilinstruction.cpp | |
| parent | aca1c6f63911057018341869b9aaf74f486a1474 (diff) | |
Extend MLIL call instruction outputs to be expressions
Diffstat (limited to 'highlevelilinstruction.cpp')
| -rw-r--r-- | highlevelilinstruction.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/highlevelilinstruction.cpp b/highlevelilinstruction.cpp index 7f4bad39..f155ce03 100644 --- a/highlevelilinstruction.cpp +++ b/highlevelilinstruction.cpp @@ -477,6 +477,16 @@ HighLevelILInstructionList::operator vector<HighLevelILInstruction>() const } +HighLevelILInstructionList::operator vector<ExprId>() const +{ + vector<ExprId> result; + result.reserve(size()); + for (auto i : *this) + result.push_back(i.exprIndex); + return result; +} + + const SSAVariable HighLevelILSSAVariableList::ListIterator::operator*() { HighLevelILIntegerList::const_iterator cur = pos; |
