Fix regressiono

This commit is contained in:
pancake 2019-03-26 00:21:05 +01:00
parent a9733fe978
commit 9043e098bd
2 changed files with 2 additions and 3 deletions

View File

@ -704,7 +704,6 @@ static void anop_esil(RAnal *a, RAnalOp *op, ut64 addr, const ut8 *buf, int len,
case X86_INS_MOVDQA:
case X86_INS_MOVDQ2Q:
{
op->type = R_ANAL_OP_TYPE_MOV;
switch (INSOP(0).type) {
case X86_OP_MEM:
if (op->prefix & R_ANAL_OP_PREFIX_REP) {
@ -747,8 +746,7 @@ static void anop_esil(RAnal *a, RAnalOp *op, ut64 addr, const ut8 *buf, int len,
// turns into 'r** = X' (first one will keep higher bytes,
// second one will overwrite them with zeros).
esilprintf (op, "%s,%s,=", src, dst64);
}
else {
} else {
esilprintf (op, "%s,%s,=", src, dst);
}
}

View File

@ -385,6 +385,7 @@ On x86 acording to Wikipedia
// XXX: this definition is plain wrong. use enum or empower bits
#define R_ANAL_OP_TYPE_MASK 0x8000ffff
#define R_ANAL_OP_HINT_MASK 0xf0000000
typedef enum {
R_ANAL_OP_TYPE_COND = 0x80000000, // TODO must be moved to prefix?
//TODO: MOVE TO PREFIX .. it is used by anal_ex.. must be updated