summaryrefslogtreecommitdiff
path: root/lowlevelil.cpp
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2025-07-31 17:25:18 -0400
committerGlenn Smith <glenn@vector35.com>2025-08-01 21:37:38 -0400
commit0996601386125530284705160083919973992954 (patch)
tree7895b9760de2b57f774662c519a04dded925aece /lowlevelil.cpp
parent2060680204071270772751237542247038184451 (diff)
Support MLIL expr mappings in C++
Diffstat (limited to 'lowlevelil.cpp')
-rw-r--r--lowlevelil.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lowlevelil.cpp b/lowlevelil.cpp
index dd3989f1..5fe2ed91 100644
--- a/lowlevelil.cpp
+++ b/lowlevelil.cpp
@@ -25,6 +25,12 @@ using namespace BinaryNinja;
using namespace std;
+ILSourceLocation::ILSourceLocation(const struct LowLevelILInstruction& instr):
+ address(instr.address), sourceOperand(instr.sourceOperand), valid(true),
+ ilBased(true), ilDirect(true), ilExprIndex(instr.exprIndex)
+{}
+
+
LowLevelILLabel::LowLevelILLabel()
{
BNLowLevelILInitLabel(this);