mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-28 07:30:33 +00:00
781fcccf55
* Move CMDS= before EXPECT= in tests * Revert "Move CMDS= before EXPECT= in tests" This reverts commit13a9085a36
. * Move CMDS= before EXPECT= in tests, take 2 * Revert "Move CMDS= before EXPECT= in tests, take 2" This reverts commit7c0bf6d8e3
. * Move CMDS= before EXPECT= in tests, take 3 Co-authored-by: pancake <pancake@nopcode.org>
51 lines
520 B
Plaintext
51 lines
520 B
Plaintext
NAME=p8 2 @x:9090
|
|
FILE=malloc://1024
|
|
CMDS=<<EOF
|
|
e asm.arch=x86
|
|
e asm.bits=64
|
|
p8 2 @x:9090
|
|
EOF
|
|
EXPECT=<<EOF
|
|
9090
|
|
EOF
|
|
RUN
|
|
|
|
NAME=p8 8 @x:9090
|
|
FILE=malloc://1024
|
|
CMDS=<<EOF
|
|
e asm.arch=x86
|
|
e asm.bits=64
|
|
p8 8 @x:9090
|
|
EOF
|
|
EXPECT=<<EOF
|
|
9090000000000000
|
|
EOF
|
|
RUN
|
|
|
|
NAME=pi 2 @x:9090
|
|
FILE=malloc://1024
|
|
CMDS=<<EOF
|
|
e asm.arch=x86
|
|
e asm.bits=64
|
|
pi 2 @x:9090
|
|
EOF
|
|
EXPECT=<<EOF
|
|
nop
|
|
nop
|
|
EOF
|
|
RUN
|
|
|
|
NAME=pi 3 @x:9090
|
|
FILE=malloc://1024
|
|
CMDS=<<EOF
|
|
e asm.arch=x86
|
|
e asm.bits=64
|
|
pi 3 @x:9090
|
|
EOF
|
|
EXPECT=<<EOF
|
|
nop
|
|
nop
|
|
add byte [rax], al
|
|
EOF
|
|
RUN
|