radare2/test/new/db/cmd/cmd_tcc

31 lines
759 B
Plaintext

NAME=tcc
FILE=../bins/elf/ls
CMDS=<<EOF
tcc
EOF
EXPECT=<<EOF
amd64
ms
swift
EOF
RUN
NAME=tccj, tccl, tcc* outputs
FILE=../bins/elf/ls
CMDS=<<EOF
tccj
tccl
tcc*
EOF
EXPECT=<<EOF
["rax amd64 (rdi, rsi, rdx, rcx, r8, r9, xmm0, xmm1, xmm2, xmm3, xmm4);","rax ms (rcx, rdx, r8, r9, stack);","rax swift (rdi, rsi, rdx, rcx, r8, r9, xmm0, xmm1, xmm2, xmm3, xmm4, r13, r12);"]
rax amd64 (rdi, rsi, rdx, rcx, r8, r9, xmm0, xmm1, xmm2, xmm3, xmm4);
rax ms (rcx, rdx, r8, r9, stack);
rax swift (rdi, rsi, rdx, rcx, r8, r9, xmm0, xmm1, xmm2, xmm3, xmm4, r13, r12);
tfc rax amd64 (rdi, rsi, rdx, rcx, r8, r9, xmm0, xmm1, xmm2, xmm3, xmm4);
tfc rax ms (rcx, rdx, r8, r9, stack);
tfc rax swift (rdi, rsi, rdx, rcx, r8, r9, xmm0, xmm1, xmm2, xmm3, xmm4, r13, r12);
EOF
RUN