mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 21:29:49 +00:00
[MIPS] Patched nonspaced instructions (like syscall)
This commit is contained in:
parent
276f9acae7
commit
1da79cf791
@ -87,6 +87,7 @@ static int replace(int argc, const char *argv[], char *newstr) {
|
||||
{ "subu", "1 = 2 - 3", 3},
|
||||
{ "sub", "1 = 2 - 3", 3},
|
||||
{ "sw", "[3 + 2] = 1", 3},
|
||||
{ "syscall", "syscall", 0},
|
||||
{ "xor", "1 = 2 ^ 3", 3},
|
||||
{ "xori", "1 = 2 ^ 3", 3},
|
||||
{ NULL }
|
||||
@ -186,6 +187,8 @@ static int parse(RParse *p, const char *data, char *str) {
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
strncpy (w0, buf, WSZ - 1);
|
||||
}
|
||||
{
|
||||
const char *wa[] = { w0, w1, w2, w3, w4 };
|
||||
|
Loading…
Reference in New Issue
Block a user