mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-05 04:56:10 +00:00
second interpretation of imul
imul is one of the few expressions that takes three arguments: `imul eax, eax, 0x16` is interpreted as `eax *= eax`, which is wrong. Also same case applies for `imul eax, ecx, 0x16` where eax = ecx * 0x16
This commit is contained in:
parent
207e8596cd
commit
1bc3a5a34a
@ -52,6 +52,7 @@ static int replace (int argc, char *argv[], char *newstr) {
|
||||
{ "fxch", "#,# = #,#", {1, 2, 2, 1}},
|
||||
{ "idiv", "# /= #", {1, 2}},
|
||||
{ "imul", "# *= #", {1, 2}},
|
||||
{ "imul", "# *= #", {1, 3}},
|
||||
{ "in", "# = io[#]", {1, 2}},
|
||||
{ "inc", "#++", {1}},
|
||||
{ "ja", "if (((unsigned) var) > 0) goto #", {1}},
|
||||
|
Loading…
x
Reference in New Issue
Block a user