mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-02 18:27:18 +00:00
164 lines
1.6 KiB
Plaintext
164 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
|
|
amd64syscall
|
|
ms
|
|
reg
|
|
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
|
|
reg
|
|
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
|
|
reg
|
|
EOF
|
|
RUN
|
|
|
|
NAME=afcl: mips-32-override
|
|
FILE=bins/elf/libc.so.0
|
|
ARGS=-a mips -b 64
|
|
CMDS=afcl
|
|
EXPECT=<<EOF
|
|
n32
|
|
o32
|
|
reg
|
|
EOF
|
|
RUN
|