rizin/test/db/abi/compilers/pelles_c
NOT XVilka ba8c170852
Migrate from Capstone to Zydis (x86 architecture) (#5164)
* Added build files [Capstone to Zydis]

* x86 Analysis [Capstone to Zydis]

* Changed x86 RzIL [Capstone to Zydis]

* Changed asm and arch files [Capstone to Zydis]

* Compilation, build error and test fixes [Capstone to Zydis]

* Test changes [Capstone to Zydis]

* Remaining changes [Capstone to Zydis]

* Added BE support [Capstone to Zydis]

---------

Co-authored-by: tushar3q34 <tushar3q34@gmail.com>
2025-05-23 13:03:46 +00:00

86 lines
1.3 KiB
Text

NAME=ELF_ABI : Pelles C 32 load
FILE=bins/abi_bins/pe/compilers/echo_32_pelleC.exe
CMDS=<<EOF
iI~machine,arch
EOF
EXPECT=<<EOF
arch x86
machine i386
EOF
RUN
NAME=ELF_ABI : Pelles C 32 flagspaces
FILE=bins/abi_bins/pe/compilers/echo_32_pelleC.exe
ARGS=-A
CMDS=<<EOF
fsl
EOF
EXPECT=<<EOF
0 * classes
108 * functions
38 * imports
0 * platform.ports
66 * pointers
0 * registers
0 * registers.extended
0 * registers.mmio
916 * relocs
4 * sections
0 * segments
174 * strings
1 * symbols
EOF
RUN
NAME=ELF_ABI : Pelles C 32 main_entrance
FILE=bins/abi_bins/pe/compilers/echo_32_pelleC.exe
ARGS=-A
CMDS=<<EOF
pdf~main
EOF
EXPECT=
RUN
NAME=ELF_ABI : Pelles C 64 load
FILE=bins/abi_bins/pe/compilers/echo_64_pelleC.exe
CMDS=<<EOF
iI~machine,arch
EOF
EXPECT=<<EOF
arch x86
machine AMD 64
EOF
RUN
NAME=ELF_ABI : Pelles C 64 flagspaces
FILE=bins/abi_bins/pe/compilers/echo_64_pelleC.exe
ARGS=-A
CMDS=<<EOF
fsl
EOF
EXPECT=<<EOF
0 * classes
86 * functions
38 * imports
0 * platform.ports
80 * pointers
0 * registers
0 * registers.extended
0 * registers.mmio
420 * relocs
5 * sections
0 * segments
125 * strings
1 * symbols
EOF
RUN
NAME=ELF_ABI : Pelles C 64 main_entrance
FILE=bins/abi_bins/pe/compilers/echo_64_pelleC.exe
ARGS=-A
CMDS=<<EOF
pdf~main
EOF
EXPECT=
RUN