diff options
| author | Ryan Snyder <ryan@vector35.com> | 2018-03-28 13:45:43 -0400 |
|---|---|---|
| committer | Ryan Snyder <ryan@vector35.com> | 2018-03-28 13:45:43 -0400 |
| commit | f37eb6cc18abf4dbb5b03175e4cb980c3e9a7ae2 (patch) | |
| tree | c48c414c8724bd9a913214e3662d9062b7b3387e /lowlevelil.cpp | |
| parent | c4e2ab35793daf5d138965eb4d530443f4b54d49 (diff) | |
Fix default flag write generation for some ops
Diffstat (limited to 'lowlevelil.cpp')
| -rw-r--r-- | lowlevelil.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lowlevelil.cpp b/lowlevelil.cpp index 91db6ab3..79138159 100644 --- a/lowlevelil.cpp +++ b/lowlevelil.cpp @@ -314,7 +314,11 @@ ExprId LowLevelILFunction::GetExprForRegisterOrConstantOperation(BNLowLevelILOpe if (operandCount == 0) return AddExpr(op, size, 0); if (operandCount == 1) + { + if (op == LLIL_SET_REG) + return GetExprForRegisterOrConstant(operands[0], size); return AddExpr(op, size, 0, GetExprForRegisterOrConstant(operands[0], size)); + } if (operandCount == 2) { return AddExpr(op, size, 0, GetExprForRegisterOrConstant(operands[0], size), |
