From d8408e56888de83a5befd74f3a43e614150f1edb Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Sun, 10 Apr 2016 03:36:44 -0400 Subject: Show stack variables and implement naming, undo, and persistence --- lowlevelil.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lowlevelil.cpp') diff --git a/lowlevelil.cpp b/lowlevelil.cpp index 9cd5b0a1..29614d3e 100644 --- a/lowlevelil.cpp +++ b/lowlevelil.cpp @@ -443,6 +443,13 @@ void LowLevelILFunction::MarkLabel(BNLowLevelILLabel& label) } +ExprId LowLevelILFunction::Operand(uint32_t n, ExprId expr) +{ + BNLowLevelILSetExprSourceOperand(m_object, expr, n); + return expr; +} + + BNLowLevelILInstruction LowLevelILFunction::operator[](size_t i) const { return BNGetLowLevelILByIndex(m_object, i); -- cgit v1.3.1