rizin/binr/rapatch2/patch.txt
2011-04-28 01:19:38 +02:00

21 lines
381 B
Text

# 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