mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 23:20:40 +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>
159 lines
1.6 KiB
Plaintext
159 lines
1.6 KiB
Plaintext
NAME=afcl: x86-64
|
|
FILE=--
|
|
CMDS=<<EOF
|
|
e asm.bits = 32
|
|
e asm.arch = x86
|
|
e asm.bits = 64
|
|
afcl
|
|
EOF
|
|
EXPECT=<<EOF
|
|
amd64
|
|
ms
|
|
swift
|
|
EOF
|
|
RUN
|
|
|
|
NAME=afcl: x86-64-override
|
|
FILE=/../bins/elf/true32
|
|
ARGS=-a x86 -b 64
|
|
BROKEN=1
|
|
CMDS=afcl
|
|
EXPECT=<<EOF
|
|
amd64
|
|
ms
|
|
EOF
|
|
RUN
|
|
|
|
NAME=afcl: x86-32
|
|
FILE=--
|
|
BROKEN=1
|
|
CMDS=<<EOF
|
|
e asm.bits = 64
|
|
e asm.arch = x86
|
|
e asm.bits = 32
|
|
afcl
|
|
EOF
|
|
EXPECT=<<EOF
|
|
pascal
|
|
optlink
|
|
stdcall
|
|
cdecl
|
|
fastcall
|
|
borland
|
|
watcom
|
|
EOF
|
|
RUN
|
|
|
|
NAME=afcl: x86-32-override
|
|
FILE=/../bins/elf/bomb
|
|
ARGS=-a x86 -b 32
|
|
BROKEN=1
|
|
CMDS=afcl
|
|
EXPECT=<<EOF
|
|
pascal
|
|
optlink
|
|
stdcall
|
|
cdecl
|
|
fastcall
|
|
borland
|
|
watcom
|
|
EOF
|
|
RUN
|
|
|
|
|
|
NAME=afcl: arm-64
|
|
FILE=--
|
|
CMDS=<<EOF
|
|
e asm.bits = 32
|
|
e asm.arch = arm
|
|
e asm.bits = 64
|
|
afcl
|
|
EOF
|
|
EXPECT=<<EOF
|
|
arm64
|
|
swift
|
|
EOF
|
|
RUN
|
|
|
|
NAME=afcl: arm-64-override
|
|
FILE=/../bins/elf/libmagic.so
|
|
ARGS=-a arm -b 64
|
|
BROKEN=1
|
|
CMDS=afcl
|
|
EXPECT=<<EOF
|
|
arm64
|
|
EOF
|
|
RUN
|
|
|
|
NAME=afcl: arm-32
|
|
FILE=--
|
|
BROKEN=1
|
|
CMDS=<<EOF
|
|
e asm.bits = 64
|
|
e asm.arch = arm
|
|
e asm.bits = 32
|
|
afcl
|
|
EOF
|
|
EXPECT=<<EOF
|
|
arm32
|
|
EOF
|
|
RUN
|
|
|
|
NAME=afcl: arm-32-override
|
|
FILE=/../bins/elf/libc.so.6
|
|
ARGS=-a arm -b 32
|
|
BROKEN=1
|
|
CMDS=afcl
|
|
EXPECT=<<EOF
|
|
arm32
|
|
EOF
|
|
RUN
|
|
|
|
NAME=afcl: arm-16
|
|
FILE=--
|
|
BROKEN=1
|
|
CMDS=<<EOF
|
|
e asm.bits = 64
|
|
e asm.arch = arm
|
|
e asm.bits = 16
|
|
afcl
|
|
EOF
|
|
EXPECT=<<EOF
|
|
arm32
|
|
EOF
|
|
RUN
|
|
|
|
NAME=afcl: arm-16-override
|
|
FILE=/../bins/elf/libmagic.so
|
|
ARGS=-a arm -b 16
|
|
BROKEN=1
|
|
CMDS=afcl
|
|
EXPECT=<<EOF
|
|
arm32
|
|
EOF
|
|
RUN
|
|
|
|
NAME=afcl: mips-32
|
|
FILE=--
|
|
CMDS=<<EOF
|
|
e asm.bits = 64
|
|
e asm.arch = mips
|
|
e asm.bits = 32
|
|
afcl
|
|
EOF
|
|
EXPECT=<<EOF
|
|
n32
|
|
o32
|
|
EOF
|
|
RUN
|
|
|
|
NAME=afcl: mips-32-override
|
|
FILE=../bins/elf/libc.so.0
|
|
ARGS=-a mips -b 64
|
|
CMDS=afcl
|
|
EXPECT=<<EOF
|
|
n32
|
|
o32
|
|
EOF
|
|
RUN
|