rizin/test/db/formats/elf/code
billow 40ca22202b
Refactor rz_core_print_disasm_json (#2746)
* 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/`
2022-07-09 08:10:06 +08:00

11 lines
345 B
Text

NAME=ELF: dis entry0 hello-android-arm
FILE=bins/elf/analysis/hello-android-arm
CMDS=e asm.bytes=true; pdq 4@ entry0;
EXPECT=<<EOF
0x00008300 sym._start:
0x00008300 0d00a0e1 mov r0, sp
0x00008304 0010a0e3 mov r1, 0
0x00008308 04208fe2 add r2, pc, 4
0x0000830c 04308fe2 add r3, pc, 4
EOF
RUN