From 0996601386125530284705160083919973992954 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Thu, 31 Jul 2025 17:25:18 -0400 Subject: Support MLIL expr mappings in C++ --- lowlevelil.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lowlevelil.cpp') 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); -- cgit v1.3.1