Fix analysis of sub r,r

This commit is contained in:
pancake 2016-09-13 01:49:36 +02:00
parent 0167ba90a1
commit 690847a25f

View File

@ -2105,7 +2105,9 @@ static void anop(RAnal *a, RAnalOp *op, ut64 addr, const ut8 *buf, int len, csh
op->stackptr = INSOP(1).imm;
}
}
op->val = INSOP(1).imm;
if (INSOP(1).type == X86_OP_IMM) {
op->val = INSOP(1).imm;
}
break;
case X86_INS_SBB:
// dst = dst - (src + cf)