summaryrefslogtreecommitdiff
path: root/lowlevelilinstruction.cpp
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2026-04-27 16:39:21 -0400
committerRusty Wagner <rusty.wagner@gmail.com>2026-05-22 16:30:56 -0400
commit08e34ac325743085911f96b62c81d9a1f2127806 (patch)
tree4eb72a14340041bdce2d81b0633e8398adc4ddb4 /lowlevelilinstruction.cpp
parentaca1c6f63911057018341869b9aaf74f486a1474 (diff)
Extend MLIL call instruction outputs to be expressions
Diffstat (limited to 'lowlevelilinstruction.cpp')
-rw-r--r--lowlevelilinstruction.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/lowlevelilinstruction.cpp b/lowlevelilinstruction.cpp
index 3b92d310..228e8328 100644
--- a/lowlevelilinstruction.cpp
+++ b/lowlevelilinstruction.cpp
@@ -835,6 +835,16 @@ LowLevelILInstructionList::operator vector<LowLevelILInstruction>() const
}
+LowLevelILInstructionList::operator vector<ExprId>() const
+{
+ vector<ExprId> result;
+ result.reserve(size());
+ for (auto i : *this)
+ result.push_back(i.exprIndex);
+ return result;
+}
+
+
const RegisterOrFlag LowLevelILRegisterOrFlagList::ListIterator::operator*()
{
return RegisterOrFlag::FromIdentifier(*pos);