|
GDB (xrefs)
|
Go to the source code of this file.
Functions | |
| static int32_t | extract_signed_bitfield (uint32_t insn, unsigned width, unsigned offset) |
| static int | decode_masked_match (uint32_t insn, uint32_t mask, uint32_t pattern) |
| int | aarch64_decode_adr (CORE_ADDR addr, uint32_t insn, int *is_adrp, unsigned *rd, int32_t *offset) |
| int | aarch64_decode_b (CORE_ADDR addr, uint32_t insn, int *is_bl, int32_t *offset) |
| int | aarch64_decode_bcond (CORE_ADDR addr, uint32_t insn, unsigned *cond, int32_t *offset) |
| int | aarch64_decode_cb (CORE_ADDR addr, uint32_t insn, int *is64, int *is_cbnz, unsigned *rn, int32_t *offset) |
| int | aarch64_decode_tb (CORE_ADDR addr, uint32_t insn, int *is_tbnz, unsigned *bit, unsigned *rt, int32_t *imm) |
| int | aarch64_decode_ldr_literal (CORE_ADDR addr, uint32_t insn, int *is_w, int *is64, unsigned *rt, int32_t *offset) |
| void | aarch64_relocate_instruction (uint32_t insn, const struct aarch64_insn_visitor *visitor, struct aarch64_insn_data *data) |
| int | aarch64_emit_insn (uint32_t *buf, uint32_t insn) |
| int | aarch64_emit_load_store (uint32_t *buf, uint32_t size, enum aarch64_opcodes opcode, struct aarch64_register rt, struct aarch64_register rn, struct aarch64_memory_operand operand) |
Variables | |
| int | aarch64_debug = 0 |
| int aarch64_decode_adr | ( | CORE_ADDR | addr, |
| uint32_t | insn, | ||
| int * | is_adrp, | ||
| unsigned * | rd, | ||
| int32_t * | offset | ||
| ) |
Definition at line 69 of file aarch64-insn.c.
References aarch64_debug, core_addr_to_string_nz(), debug_printf(), decode_masked_match(), extract_signed_bitfield(), and offset.
Referenced by aarch64_relocate_instruction().
| int aarch64_decode_b | ( | CORE_ADDR | addr, |
| uint32_t | insn, | ||
| int * | is_bl, | ||
| int32_t * | offset | ||
| ) |
Definition at line 113 of file aarch64-insn.c.
References aarch64_debug, core_addr_to_string_nz(), debug_printf(), decode_masked_match(), extract_signed_bitfield(), and offset.
Referenced by aarch64_relocate_instruction().
| int aarch64_decode_bcond | ( | CORE_ADDR | addr, |
| uint32_t | insn, | ||
| unsigned * | cond, | ||
| int32_t * | offset | ||
| ) |
Definition at line 147 of file aarch64-insn.c.
References aarch64_debug, core_addr_to_string_nz(), debug_printf(), decode_masked_match(), extract_signed_bitfield(), and offset.
Referenced by aarch64_relocate_instruction().
| int aarch64_decode_cb | ( | CORE_ADDR | addr, |
| uint32_t | insn, | ||
| int * | is64, | ||
| int * | is_cbnz, | ||
| unsigned * | rn, | ||
| int32_t * | offset | ||
| ) |
Definition at line 179 of file aarch64-insn.c.
References aarch64_debug, core_addr_to_string_nz(), debug_printf(), decode_masked_match(), extract_signed_bitfield(), and offset.
Referenced by aarch64_relocate_instruction().
| int aarch64_decode_ldr_literal | ( | CORE_ADDR | addr, |
| uint32_t | insn, | ||
| int * | is_w, | ||
| int * | is64, | ||
| unsigned * | rt, | ||
| int32_t * | offset | ||
| ) |
Definition at line 252 of file aarch64-insn.c.
References aarch64_debug, core_addr_to_string_nz(), debug_printf(), extract_signed_bitfield(), and offset.
Referenced by aarch64_relocate_instruction().
| int aarch64_decode_tb | ( | CORE_ADDR | addr, |
| uint32_t | insn, | ||
| int * | is_tbnz, | ||
| unsigned * | bit, | ||
| unsigned * | rt, | ||
| int32_t * | imm | ||
| ) |
Definition at line 215 of file aarch64-insn.c.
References aarch64_debug, bit, core_addr_to_string_nz(), debug_printf(), decode_masked_match(), and extract_signed_bitfield().
Referenced by aarch64_relocate_instruction().
| int aarch64_emit_insn | ( | uint32_t * | buf, |
| uint32_t | insn | ||
| ) |
Definition at line 336 of file aarch64-insn.c.
Referenced by aarch64_displaced_step_others(), and aarch64_emit_load_store().
| int aarch64_emit_load_store | ( | uint32_t * | buf, |
| uint32_t | size, | ||
| enum aarch64_opcodes | opcode, | ||
| struct aarch64_register | rt, | ||
| struct aarch64_register | rn, | ||
| struct aarch64_memory_operand | operand | ||
| ) |
Definition at line 345 of file aarch64-insn.c.
References aarch64_emit_insn(), ENCODE, aarch64_memory_operand::index, MEMORY_OPERAND_OFFSET, MEMORY_OPERAND_POSTINDEX, MEMORY_OPERAND_PREINDEX, aarch64_register::num, size, and aarch64_memory_operand::type.
| void aarch64_relocate_instruction | ( | uint32_t | insn, |
| const struct aarch64_insn_visitor * | visitor, | ||
| struct aarch64_insn_data * | data | ||
| ) |
Definition at line 296 of file aarch64-insn.c.
References aarch64_decode_adr(), aarch64_decode_b(), aarch64_decode_bcond(), aarch64_decode_cb(), aarch64_decode_ldr_literal(), aarch64_decode_tb(), aarch64_insn_visitor::adr, aarch64_insn_visitor::b, aarch64_insn_visitor::b_cond, bit, aarch64_insn_visitor::cb, gdbarch::data, aarch64_insn_visitor::ldr_literal, offset, aarch64_insn_visitor::others, aarch64_insn_visitor::tb, and visitor.
Referenced by aarch64_displaced_step_copy_insn().
|
static |
Definition at line 53 of file aarch64-insn.c.
Referenced by aarch64_decode_adr(), aarch64_decode_b(), aarch64_decode_bcond(), aarch64_decode_cb(), and aarch64_decode_tb().
|
static |
Definition at line 36 of file aarch64-insn.c.
References offset.
Referenced by aarch64_decode_adr(), aarch64_decode_b(), aarch64_decode_bcond(), aarch64_decode_cb(), aarch64_decode_ldr_literal(), and aarch64_decode_tb().
| int aarch64_debug = 0 |
Definition at line 23 of file aarch64-insn.c.
Referenced by _initialize_aarch64_tdep(), aarch64_analyze_prologue(), aarch64_decode_adr(), aarch64_decode_b(), aarch64_decode_bcond(), aarch64_decode_cb(), aarch64_decode_ldr_literal(), aarch64_decode_tb(), aarch64_push_dummy_call(), aarch64_return_value(), aarch64_store_return_value(), BP_MANIPULATION(), pass_in_v(), pass_in_x(), and pass_on_stack().
1.8.14