diff options
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); |
