diff options
| author | Glenn Smith <glenn@vector35.com> | 2025-07-31 17:25:18 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2025-08-01 21:37:38 -0400 |
| commit | 0996601386125530284705160083919973992954 (patch) | |
| tree | 7895b9760de2b57f774662c519a04dded925aece /highlevelil.cpp | |
| parent | 2060680204071270772751237542247038184451 (diff) | |
Support MLIL expr mappings in C++
Diffstat (limited to 'highlevelil.cpp')
| -rw-r--r-- | highlevelil.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/highlevelil.cpp b/highlevelil.cpp index 77a0f051..84d74eb3 100644 --- a/highlevelil.cpp +++ b/highlevelil.cpp @@ -26,6 +26,12 @@ using namespace BinaryNinja; using namespace std; +ILSourceLocation::ILSourceLocation(const struct HighLevelILInstruction& instr): + address(instr.address), sourceOperand(instr.sourceOperand), valid(true), + ilBased(true), ilDirect(true), ilExprIndex(instr.exprIndex) +{} + + HighLevelILFunction::HighLevelILFunction(Architecture* arch, Function* func) { m_object = BNCreateHighLevelILFunction(arch->GetObject(), func ? func->GetObject() : nullptr); |
