mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-03 03:35:37 +00:00
fix the incrementation of edi/esi in string mov
This commit is contained in:
parent
8a6088a0dd
commit
186cc728f8
@ -436,14 +436,12 @@ Sets the byte in the operand to 1 if the Sign Flag is not equal
|
||||
width, dst, counter, counter, dst, src);
|
||||
} else {
|
||||
int width = INSOP(0).size;
|
||||
char *src = getarg (&gop, 1, 0, NULL);
|
||||
char *dst = getarg (&gop, 0, 1, NULL);
|
||||
esilprintf (op, "%s,%s,df,?{,%d,%s,-=,%d,%s,-=,},"\
|
||||
"df,!,?{,%d,%s,+=,%d,%s,+=,}",
|
||||
src, dst, width, src, width,
|
||||
dst, width, src, width, dst);
|
||||
free (src);
|
||||
free (dst);
|
||||
const char *src = cs_reg_name(*handle, INSOP(1).mem.base);
|
||||
const char *dst = cs_reg_name(*handle, INSOP(0).mem.base);
|
||||
esilprintf (op, "%s,[%d],%s,=[%d],df,?{,%d,%s,-=,%d,%s,-=,},"\
|
||||
"df,!,?{,%d,%s,+=,%d,%s,+=,},%s,=,%s,=",
|
||||
src, width, dst, width, width, src, width,
|
||||
dst, width, src, width, dst, dst, src);
|
||||
}
|
||||
break;
|
||||
// mov
|
||||
|
Loading…
x
Reference in New Issue
Block a user