radare2/test/new/db/cmd/cmd_tmpbuf
2020-01-19 16:56:08 +08:00

51 lines
520 B
Plaintext

NAME=p8 2 @x:9090
FILE=malloc://1024
EXPECT=<<EOF
9090
EOF
CMDS=<<EOF
e asm.arch=x86
e asm.bits=64
p8 2 @x:9090
EOF
RUN
NAME=p8 8 @x:9090
FILE=malloc://1024
EXPECT=<<EOF
9090000000000000
EOF
CMDS=<<EOF
e asm.arch=x86
e asm.bits=64
p8 8 @x:9090
EOF
RUN
NAME=pi 2 @x:9090
FILE=malloc://1024
EXPECT=<<EOF
nop
nop
EOF
CMDS=<<EOF
e asm.arch=x86
e asm.bits=64
pi 2 @x:9090
EOF
RUN
NAME=pi 3 @x:9090
FILE=malloc://1024
EXPECT=<<EOF
nop
nop
add byte [rax], al
EOF
CMDS=<<EOF
e asm.arch=x86
e asm.bits=64
pi 3 @x:9090
EOF
RUN