* Start to create some RzBinObject specific API Adding some unit tests Fix for new relocs storage system Fix test_bin unit test for oob-write * Add `iA` command to newshell Add `ie`/`iee` commands Add support for `is`/`iE` commands Add support for `ii` command Add support for `il` command Add support for `iM` command Add support for `ir` command Add support for `iS`/`iSS` commands Add support for `iz` command Add support for `i` command Add support for `ic` command Add support for `iC` command Add support for `ih` and `iHH` commands Add support for `iI` command Add support for `iL` command Fix descriptions of commands already converted Add support for `idp` commands Add support for `iD` command Add support for `im` commands Add support for `iR` command Add support for `it` command Add support for `iV` commands Add support for `iw` command Add support for `ix` commands Add support for `iZ` command Add support for `ik` command Add support for `is.` command Add support for `iS.` command Reduce arguments in print_arch Few Doxygen and ownership annotations Add support for `iS=` command Add support for `izz` and `izzz` commands Add support for `ib` command Add support for `ic*` command Put section flags as the last field of the table * Proper language detection. * Rewritten blang.c * implemented `icc/icm/icf <class name>` * ignore blocks when printing langs Remove num from `iA` output * Fixed flags on java and added class column Add support for `ia` commands Fix `iCj` command * RzBin: add rz_bin_object_sections_mapping_list API * Fix rz-bin for new API Remove unused va var in rz-bin.c Fix `iA`/`-A` output * implemented classdump_cpp * Support namespaces Use `icc`, `icl` does not exist anymore Update output of broken tests for `icc` Add `rz_return_*()` asserts in new `*_print()` functions * Provide rz_core_bin_print API * Select which parts to print also based on the mode * Return bool from all `rz_core_bin_*_print()` API * Use RzBinFile in new `rz_core_bin_*_print()` API * Restore `dbg_dmi` test * Remove oldshell handlers for `i` commands * Remove `ieq` call in rizin, not needed * Allow NULL `bf` in `rz_cmd_info_handler()` * Re-add support for RZ_BIN_PREFIX for symbols/sections/segments/imports/relocs * Move `ib` command to `obR` * Show 'N/A' in `i` command when info are not available * Assert on bf->o, just to be sure * Make error messages clearer in `idp` commands Co-authored-by: wargio <wargio@libero.it> Co-authored-by: Giovanni <561184+wargio@users.noreply.github.com>
175 lines
No EOL
3.9 KiB
Text
175 lines
No EOL
3.9 KiB
Text
NAME=MAIN_ABI : arm-linux_android_abi detect
|
|
FILE=bins/abi_bins/elf/platforms/arm-linux-androideabi-echo
|
|
CMDS=<<EOF
|
|
ie
|
|
iI~arch,machine,bits,vaddr
|
|
EOF
|
|
EXPECT=<<EOF
|
|
vaddr paddr hvaddr haddr type
|
|
----------------------------------------------------
|
|
0x00008440 0x00000440 0x00008018 0x00000018 program
|
|
arch arm
|
|
bits 32
|
|
machine ARM
|
|
EOF
|
|
RUN
|
|
|
|
NAME=MAIN_ABI : arm-linux_gnu_guneabi detect
|
|
FILE=bins/abi_bins/elf/platforms/arm-linux-gnueabi-echo
|
|
CMDS=<<EOF
|
|
ie
|
|
iI~arch,machine,bits,vaddr
|
|
EOF
|
|
EXPECT=<<EOF
|
|
vaddr paddr hvaddr haddr type
|
|
----------------------------------------------------
|
|
0x00008438 0x00000438 0x00008018 0x00000018 program
|
|
arch arm
|
|
bits 32
|
|
machine ARM
|
|
EOF
|
|
RUN
|
|
|
|
NAME=MAIN_ABI : mips-linux-gnu-echo detect
|
|
FILE=bins/abi_bins/elf/platforms/mips-linux-gnu-echo
|
|
CMDS=<<EOF
|
|
ie
|
|
iI~arch,machine,bits,vaddr
|
|
EOF
|
|
EXPECT=<<EOF
|
|
vaddr paddr hvaddr haddr type
|
|
----------------------------------------------------
|
|
0x004006a0 0x000006a0 0x00400018 0x00000018 program
|
|
arch mips
|
|
bits 32
|
|
machine MIPS R3000
|
|
EOF
|
|
RUN
|
|
|
|
NAME=MAIN_ABI : mips64-linux-gnueabi detect
|
|
FILE=bins/abi_bins/elf/platforms/mips64-linux-gnueabi-echo
|
|
CMDS=<<EOF
|
|
ie
|
|
iI~arch,machine,bits,vaddr
|
|
EOF
|
|
EXPECT=<<EOF
|
|
vaddr paddr hvaddr haddr type
|
|
------------------------------------------------------
|
|
0x120000af0 0x00000af0 0x120000018 0x00000018 program
|
|
arch mips
|
|
bits 64
|
|
machine MIPS R3000
|
|
EOF
|
|
RUN
|
|
|
|
NAME=MAIN_ABI : powerpc-linux-gnu detect
|
|
FILE=bins/abi_bins/elf/platforms/powerpc-linux-gnu-symexec-guess
|
|
CMDS=<<EOF
|
|
ie
|
|
iI~arch,machine,bits,vaddr
|
|
EOF
|
|
EXPECT=<<EOF
|
|
vaddr paddr hvaddr haddr type
|
|
----------------------------------------------------
|
|
0x10000320 0x00000320 0x10000018 0x00000018 program
|
|
arch ppc
|
|
bits 32
|
|
machine PowerPC
|
|
EOF
|
|
RUN
|
|
|
|
NAME=MAIN_ABI : powerpc32-linux-gnu detect
|
|
FILE=bins/abi_bins/elf/platforms/powerpc32-linux-gnu-echo
|
|
CMDS=<<EOF
|
|
ie
|
|
iI~arch,machine,bits,vaddr
|
|
EOF
|
|
EXPECT=<<EOF
|
|
vaddr paddr hvaddr haddr type
|
|
----------------------------------------------------
|
|
0x10000420 0x00000420 0x10000018 0x00000018 program
|
|
arch ppc
|
|
bits 32
|
|
machine PowerPC
|
|
EOF
|
|
RUN
|
|
|
|
NAME=MAIN_ABI : x86_64-linux-gnu detect
|
|
FILE=bins/abi_bins/elf/platforms/x86_64-linux-gnu-echo
|
|
CMDS=<<EOF
|
|
ie;
|
|
iI~arch,machine,bits,vaddr
|
|
EOF
|
|
EXPECT=<<EOF
|
|
vaddr paddr hvaddr haddr type
|
|
----------------------------------------------------
|
|
0x00400600 0x00000600 0x00400018 0x00000018 program
|
|
arch x86
|
|
bits 64
|
|
machine AMD x86-64 architecture
|
|
EOF
|
|
RUN
|
|
|
|
NAME=MAIN_ABI : x86_64-macho detect
|
|
FILE=bins/abi_bins/elf/platforms/x86_64-macho-echo
|
|
CMDS=<<EOF
|
|
ie;
|
|
iI~arch,machine,bits,vaddr
|
|
EOF
|
|
EXPECT=<<EOF
|
|
vaddr paddr hvaddr haddr type
|
|
-----------------------------------------------------
|
|
0x100000e50 0x00000e50 ---------- 0x000004b8 program
|
|
arch x86
|
|
bits 64
|
|
machine x86 64 all
|
|
EOF
|
|
RUN
|
|
|
|
NAME=MAIN_ABI : x86-linux-gnu detect
|
|
FILE=bins/abi_bins/elf/platforms/x86-linux-gnu-echo
|
|
CMDS=<<EOF
|
|
ie
|
|
iI~arch,machine,bits,vaddr
|
|
EOF
|
|
EXPECT=<<EOF
|
|
vaddr paddr hvaddr haddr type
|
|
----------------------------------------------------
|
|
0x08048440 0x00000440 0x08048018 0x00000018 program
|
|
arch x86
|
|
bits 32
|
|
machine Intel 80386
|
|
EOF
|
|
RUN
|
|
|
|
NAME=MAIN_ABI : i686-w64-mingw32 detect
|
|
FILE=bins/abi_bins/pe/platforms/i686-w64-mingw32-echo
|
|
CMDS=<<EOF
|
|
ie
|
|
iI~arch,machine,bits,vaddr
|
|
EOF
|
|
EXPECT=<<EOF
|
|
vaddr paddr hvaddr haddr type
|
|
----------------------------------------------------
|
|
0x004014e0 0x000008e0 ---------- 0x000000a8 program
|
|
arch x86
|
|
bits 32
|
|
machine i386
|
|
EOF
|
|
RUN
|
|
|
|
NAME=MAIN_ABI : x86_64-w64-mingw32 detect
|
|
FILE=bins/abi_bins/pe/platforms/x86_64-w64-mingw32-echo
|
|
CMDS=<<EOF
|
|
ie
|
|
iI~arch,machine,bits,vaddr
|
|
EOF
|
|
EXPECT=<<EOF
|
|
vaddr paddr hvaddr haddr type
|
|
----------------------------------------------------
|
|
0x004014d0 0x00000ad0 ---------- 0x000000a8 program
|
|
arch x86
|
|
bits 64
|
|
machine AMD 64
|
|
EOF
|
|
RUN |