* 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>
53 lines
1.4 KiB
Text
53 lines
1.4 KiB
Text
NAME=PE: tls 1
|
|
FILE=bins/pe/tls.exe
|
|
ARGS=-A
|
|
CMDS=ie;iee
|
|
EXPECT=<<EOF
|
|
vaddr paddr hvaddr haddr type
|
|
----------------------------------------------------
|
|
0x00401000 0x00000200 ---------- 0x00000068 program
|
|
vaddr paddr hvaddr haddr type
|
|
-------------------------------------------------
|
|
0x00401020 0x00000220 ---------- 0x00000384 tls
|
|
EOF
|
|
RUN
|
|
|
|
NAME=PE: tls 2
|
|
FILE=bins/pe/tls_hello.exe
|
|
ARGS=-A
|
|
CMDS=ie;iee
|
|
EXPECT=<<EOF
|
|
vaddr paddr hvaddr haddr type
|
|
----------------------------------------------------
|
|
0x004014c8 0x000008c8 ---------- 0x00000098 program
|
|
vaddr paddr hvaddr haddr type
|
|
-------------------------------------------------
|
|
0x00401618 0x00000a18 ---------- 0x00007fb0 tls
|
|
EOF
|
|
RUN
|
|
|
|
NAME=1: PE: tls 3
|
|
FILE=bins/pe/tls_obfuscation.exe
|
|
ARGS=-A
|
|
CMDS=ie
|
|
EXPECT=<<EOF
|
|
vaddr paddr hvaddr haddr type
|
|
----------------------------------------------------
|
|
0x00401000 0x00000200 ---------- 0x00000068 program
|
|
EOF
|
|
RUN
|
|
|
|
NAME=2: PE: tls 3
|
|
FILE=bins/pe/tls_obfuscation.exe
|
|
ARGS=-A
|
|
CMDS=iee
|
|
EXPECT=<<EOF
|
|
vaddr paddr hvaddr haddr type
|
|
-------------------------------------------------
|
|
0x00401016 0x00000216 ---------- 0x00000330 tls
|
|
0x00401001 0x00000201 ---------- 0x00000334 tls
|
|
0x00401006 0x00000206 ---------- 0x00000338 tls
|
|
0x0040100f 0x0000020f ---------- 0x0000033c tls
|
|
0x00401011 0x00000211 ---------- 0x00000340 tls
|
|
EOF
|
|
RUN
|