mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-03 20:22:38 +00:00
Add support to multiline assembly patching (#13526)
For example, this line 'OFFSET : nop;nop;nop' (provided in the example patchfile at binr/rabin2/patch.txt) now actually works
This commit is contained in:
parent
d271da09ab
commit
c68988dc50
@ -24,7 +24,7 @@ R_API int r_core_patch_line (RCore *core, char *str) {
|
||||
break;
|
||||
case ':':
|
||||
r_core_cmdf (core, "s %s", str);
|
||||
r_core_cmdf (core, "wa %s", p);
|
||||
r_core_cmdf (core, "\"wa %s\"", p);
|
||||
break;
|
||||
case 'v':
|
||||
q = strchr (p + 1,' ');
|
||||
|
Loading…
x
Reference in New Issue
Block a user