radare2/test/db/cmd/cmd_r
pancake fd6f3732f2 Handle spaces in the 'r-' and 'r+' resize commands
* 'r-3' == 'r- 3' == 'r -3'
* 'r+3' == 'r+ 3' == 'r +3'
2022-01-23 20:20:33 +01:00

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