diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2024-10-11 21:39:52 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2024-10-21 13:56:57 -0400 |
| commit | faaf191349e170403273c0496df24c65a3536f34 (patch) | |
| tree | 66e2f7a6d2ef67d321f29cedd96a7692b35d73b0 /highlevelil.cpp | |
| parent | d8e3001e535fad178c621ff07418f81f25123dc4 (diff) | |
Allow `current_il_instruction` to work in Pseudo C (or any high level language)
Diffstat (limited to 'highlevelil.cpp')
| -rw-r--r-- | highlevelil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/highlevelil.cpp b/highlevelil.cpp index 698b6119..89cf645f 100644 --- a/highlevelil.cpp +++ b/highlevelil.cpp @@ -717,7 +717,7 @@ void HighLevelILTokenEmitter::EndForceZeroConfidence() HighLevelILTokenEmitter::CurrentExprGuard HighLevelILTokenEmitter::SetCurrentExpr(const HighLevelILInstruction& expr) { - return CurrentExprGuard(*this, {expr.address, expr.sourceOperand, expr.exprIndex, expr.instructionIndex}); + return CurrentExprGuard(*this, {expr.address, expr.sourceOperand, expr.exprIndex, expr.GetInstructionIndex()}); } |
