2019-12-08 14:31:14 +00:00
|
|
|
NAME=no flags
|
|
|
|
FILE=-
|
|
|
|
CMDS=<<EOF
|
|
|
|
f patata
|
|
|
|
f-*
|
|
|
|
f~?
|
|
|
|
EOF
|
2020-04-05 12:56:06 +00:00
|
|
|
EXPECT=<<EOF
|
|
|
|
0
|
|
|
|
EOF
|
2019-12-08 14:31:14 +00:00
|
|
|
RUN
|
|
|
|
|
|
|
|
NAME=no flags
|
2020-04-13 17:49:23 +00:00
|
|
|
FILE=bins/elf/analysis/elf-relro
|
2019-12-08 14:31:14 +00:00
|
|
|
CMDS=<<EOF
|
|
|
|
f patata
|
|
|
|
fs *
|
|
|
|
f-*
|
|
|
|
f~?
|
|
|
|
EOF
|
2020-04-05 12:56:06 +00:00
|
|
|
EXPECT=<<EOF
|
|
|
|
0
|
|
|
|
EOF
|
2019-12-08 14:31:14 +00:00
|
|
|
RUN
|
|
|
|
|
|
|
|
NAME=fr foo bar
|
|
|
|
FILE=-
|
|
|
|
CMDS=<<EOF
|
2020-01-17 14:05:06 +00:00
|
|
|
e asm.arch=x86
|
|
|
|
e asm.bits=64
|
2019-12-08 14:31:14 +00:00
|
|
|
f foo
|
|
|
|
fr foo bar
|
|
|
|
f
|
|
|
|
pd 1
|
|
|
|
EOF
|
2020-04-05 12:56:06 +00:00
|
|
|
EXPECT=<<EOF
|
|
|
|
0x00000000 1 bar
|
|
|
|
;-- bar:
|
|
|
|
0x00000000 0000 add byte [rax], al
|
|
|
|
EOF
|
2019-12-08 14:31:14 +00:00
|
|
|
RUN
|