mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-11 15:04:23 +00:00
2c92c7d172
* Honor bits in r_syscall_setup - Initial work on RPair in r_syscall - Not yet integrated, but design is mostly done * Add r_str_split() * Add python2 and python3 makefile rules in r2-bindings
22 lines
381 B
Plaintext
22 lines
381 B
Plaintext
# This is an example file for rapatch
|
|
|
|
#0x8048000 : mov eax, 33
|
|
#0x8048005 # This is fucking awesome
|
|
!echo ++ Patching binary
|
|
. import.rdb
|
|
|
|
0x8048000 "Hello World"
|
|
0x8048200 223399
|
|
entry0 {
|
|
printf@alias(${imp.printf});
|
|
|
|
main@global(128,128) {
|
|
printf("%d\n", 33);
|
|
printf("1234567890\n");
|
|
printf("hello world\n");
|
|
: mov eax,1
|
|
: int 0x80
|
|
}
|
|
}
|
|
#entry0+4 : nop;nop;nop
|