|
OpenOCD
|

Go to the source code of this file.
Functions | |
| int | oocd_cs_disassemble (struct command_invocation *cmd, struct target *target, uint64_t address, unsigned int count, const char *insn_set) |
| int | oocd_cs_list_insn_types (struct command_invocation *cmd) |
| static void | print_opcode (struct command_invocation *cmd, const cs_insn *insn) |
Variables | |
| struct { | |
| cs_arch arch | |
| cs_mode mode | |
| const char * name | |
| } | all_archs [] |
| int oocd_cs_disassemble | ( | struct command_invocation * | cmd, |
| struct target * | target, | ||
| uint64_t | address, | ||
| unsigned int | count, | ||
| const char * | insn_set | ||
| ) |
Definition at line 64 of file oocd_capstone.c.
References address, all_archs, arch, ARRAY_SIZE, cmd, command_print(), count, ERROR_FAIL, ERROR_OK, mode, name, print_opcode(), size, and target_read_buffer().
Referenced by COMMAND_HANDLER().
| int oocd_cs_list_insn_types | ( | struct command_invocation * | cmd | ) |
Definition at line 43 of file oocd_capstone.c.
References all_archs, ARRAY_SIZE, cmd, command_print_sameline(), and ERROR_OK.
Referenced by COMMAND_HANDLER(), and target_insn_set().
|
static |
Definition at line 52 of file oocd_capstone.c.
References ARRAY_SIZE, cmd, and command_print().
Referenced by oocd_cs_disassemble().
| struct { ... } all_archs[] |
Referenced by oocd_cs_disassemble(), and oocd_cs_list_insn_types().
| cs_arch arch |
Definition at line 27 of file oocd_capstone.c.
Referenced by armv7a_handle_cache_info_command(), armv7m_handle_cache_info_command(), armv8_handle_inner_cache_info_command(), at91sam7_read_part_info(), oocd_cs_disassemble(), and rp2xxx_call_rom_func_batch().
| cs_mode mode |
Definition at line 28 of file oocd_capstone.c.
Referenced by oocd_cs_disassemble().
| const char* name |
Definition at line 26 of file oocd_capstone.c.
Referenced by oocd_cs_disassemble().