* Split `rz_core_print_disasm_json` as: `rz_core_print_disasm_json` and `rz_core_disasm` * Use `rz_str_enc_string_as_type` in `ds_init` * Refactor `rz_core_print_disasm` and `rz_core_handle_backwards_disasm` * Add `rz_core_asm_bb_middle` * Move global `disasm_texts` to `RzDisasmState` * Rewrite `core_analysis_bytes_standard` with `rz_core_analysis_bytes` * Add `test_rz_core_print_disasm` and `test_rz_core_analysis_bytes` * Rewrite `rz_core_print_disasm` with `RzCmdStateOutput` * `pdi` -> `pdq` in tests * `pdi` -> `pDq` in tests * `pid` -> `pdq` in tests * `pId` -> `pDq` in tests * `pij` -> `pdj` in tests * `pIj` -> `pDj` in tests * `pdeqq` -> `pdeQ` in tests * Remove `pDJ` from `test/db/json/`
20 lines
504 B
Text
20 lines
504 B
Text
NAME=ELF: corkami tiny.elf - entry0
|
|
FILE=bins/elf/analysis/tiny.elf
|
|
CMDS=?v entry0; e asm.bytes=true; pdq 4 @ entry0;
|
|
EXPECT=<<EOF
|
|
0x10020
|
|
0x00010020 entry0:
|
|
0x00010020 b32a mov bl, 0x2a
|
|
0x00010022 31c0 xor eax, eax
|
|
0x00010024 40 inc eax
|
|
0x00010025 cd80 int 0x80
|
|
EOF
|
|
RUN
|
|
|
|
NAME=ELF: corkami tiny.elf - sections
|
|
FILE=bins/elf/analysis/tiny.elf
|
|
CMDS=oml
|
|
EXPECT=<<EOF
|
|
1 fd: 3 +0x00000000 0x00010000 * 0x0002001f r-- fmap.LOAD0
|
|
EOF
|
|
RUN
|