* 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
852 B
Text
53 lines
852 B
Text
NAME=test pDj missing newline issue
|
|
FILE==
|
|
CMDS=<<EOF
|
|
e asm.arch=x86
|
|
e asm.bits=64
|
|
wx 4883c768
|
|
pDj 4~{}
|
|
EOF
|
|
EXPECT=<<EOF
|
|
[
|
|
{
|
|
"offset": 0,
|
|
"ptr": 104,
|
|
"val": 104,
|
|
"esil": "104,rdi,+=,63,$o,of,:=,63,$s,sf,:=,$z,zf,:=,63,$c,cf,:=,$p,pf,:=,3,$c,af,:=",
|
|
"refptr": false,
|
|
"fcn_addr": 0,
|
|
"fcn_last": 0,
|
|
"size": 4,
|
|
"opcode": "add rdi, 0x68",
|
|
"disasm": "add rdi, 0x68",
|
|
"bytes": "4883c768",
|
|
"family": "cpu",
|
|
"type": "add",
|
|
"reloc": false,
|
|
"type_num": 17,
|
|
"type2_num": 0
|
|
}
|
|
]
|
|
EOF
|
|
RUN
|
|
|
|
NAME=/j with backslash
|
|
FILE=bins/pe/ConsoleApplication1.exe
|
|
CMDS=/j ConsoleApplication1.pdb~{}
|
|
EXPECT=<<EOF
|
|
[
|
|
{
|
|
"offset": 4203952,
|
|
"type": "string",
|
|
"data": "cation1\\Release\\ConsoleApplication1.pdb "
|
|
}
|
|
]
|
|
EOF
|
|
RUN
|
|
|
|
NAME=empty irj should print empty array
|
|
FILE==
|
|
CMDS=irj
|
|
EXPECT=<<EOF
|
|
|
|
EOF
|
|
RUN
|