mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 21:29:49 +00:00
fd6f3732f2
* 'r-3' == 'r- 3' == 'r -3' * 'r+3' == 'r+ 3' == 'r +3'
53 lines
416 B
Plaintext
53 lines
416 B
Plaintext
NAME=r-+
|
|
FILE=malloc://512
|
|
CMDS=<<EOF
|
|
r
|
|
r-3
|
|
r
|
|
r+3
|
|
r
|
|
r -3
|
|
r
|
|
r +3
|
|
r
|
|
EOF
|
|
EXPECT=<<EOF
|
|
512
|
|
509
|
|
512
|
|
509
|
|
512
|
|
EOF
|
|
RUN
|
|
|
|
NAME=r
|
|
FILE=malloc://512
|
|
CMDS=r
|
|
EXPECT=<<EOF
|
|
512
|
|
EOF
|
|
RUN
|
|
|
|
NAME=wx 90 r pd 1
|
|
FILE=malloc://512
|
|
CMDS=<<EOF
|
|
e asm.arch=x86
|
|
e asm.bits=64
|
|
wx 90
|
|
r
|
|
pd 1
|
|
EOF
|
|
EXPECT=<<EOF
|
|
512
|
|
0x00000000 90 nop
|
|
EOF
|
|
RUN
|
|
|
|
NAME=rj-pj
|
|
FILE=bins/elf/crackme0x05
|
|
CMDS=rj
|
|
EXPECT=<<EOF
|
|
{"size":7656}
|
|
EOF
|
|
RUN
|