/external/google-breakpad/src/third_party/libdisasm/ |
D | libdis.h | 523 } x86_insn_t; typedef 527 int x86_insn_is_valid( x86_insn_t *insn ); 539 typedef void (*DISASM_CALLBACK)( x86_insn_t *insn, void * arg ); 550 typedef int32_t (*DISASM_RESOLVER)( x86_op_t *op, x86_insn_t * current_insn, 567 x86_insn_t * insn ); 613 typedef void (*x86_operand_fn)(x86_op_t *op, x86_insn_t *insn, void *arg); 639 void x86_oplist_free( x86_insn_t *insn ); 644 int x86_operand_foreach( x86_insn_t *insn, x86_operand_fn func, void *arg, 648 size_t x86_operand_count( x86_insn_t *insn, enum x86_op_foreach_type type ); 651 x86_op_t * x86_operand_1st( x86_insn_t *insn ); [all …]
|
D | x86_insn.c | 11 int x86_insn_is_valid( x86_insn_t *insn ) { in x86_insn_is_valid() 19 uint32_t x86_get_address( x86_insn_t *insn ) { in x86_get_address() 40 int32_t x86_get_rel_offset( x86_insn_t *insn ) { in x86_get_rel_offset() 57 x86_op_t * x86_get_branch_target( x86_insn_t *insn ) { in x86_get_branch_target() 71 x86_op_t * x86_get_imm( x86_insn_t *insn ) { in x86_get_imm() 92 unsigned char * x86_get_raw_imm( x86_insn_t *insn ) { in x86_get_raw_imm() 155 void x86_set_insn_addr( x86_insn_t *insn, uint32_t addr ) { in x86_set_insn_addr() 159 void x86_set_insn_offset( x86_insn_t *insn, unsigned int offset ){ in x86_set_insn_offset() 163 void x86_set_insn_function( x86_insn_t *insn, void * func ){ in x86_set_insn_function() 167 void x86_set_insn_block( x86_insn_t *insn, void * block ){ in x86_set_insn_block() [all …]
|
D | x86_operand_list.c | 5 static void x86_oplist_append( x86_insn_t *insn, x86_oplist_t *op ) { in x86_oplist_append() 36 x86_op_t * x86_operand_new( x86_insn_t *insn ) { in x86_operand_new() 48 void x86_oplist_free( x86_insn_t *insn ) { in x86_oplist_free() 71 int x86_operand_foreach( x86_insn_t *insn, x86_operand_fn func, void *arg, in x86_operand_foreach() 149 static void count_operand( x86_op_t *op, x86_insn_t *insn, void *arg ) { in count_operand() 154 size_t x86_operand_count( x86_insn_t *insn, enum x86_op_foreach_type type ) { in x86_operand_count() 169 x86_op_t * x86_operand_1st( x86_insn_t *insn ) { in x86_operand_1st() 177 x86_op_t * x86_operand_2nd( x86_insn_t *insn ) { in x86_operand_2nd() 185 x86_op_t * x86_operand_3rd( x86_insn_t *insn ) { in x86_operand_3rd()
|
D | x86_disasm.c | 18 x86_insn_t *insn ){ in x86_disasm() 29 memset( insn, 0, sizeof(x86_insn_t) ); in x86_disasm() 76 x86_insn_t insn; in x86_disasm_range() 103 static inline int follow_insn_dest( x86_insn_t *insn ) { in follow_insn_dest() 111 static inline int insn_doesnt_return( x86_insn_t *insn ) { in insn_doesnt_return() 115 static int32_t internal_resolver( x86_op_t *op, x86_insn_t *insn ){ in internal_resolver() 131 x86_insn_t insn; in x86_disasm_forward()
|
D | ia32_insn.c | 56 static void ia32_stack_mod(x86_insn_t *insn) { in ia32_stack_mod() 169 static void ia32_handle_cpu( x86_insn_t *insn, unsigned int cpu ) { in ia32_handle_cpu() 176 static void ia32_handle_mnemtype(x86_insn_t *insn, unsigned int mnemtype) { in ia32_handle_mnemtype() 184 static void ia32_handle_notes(x86_insn_t *insn, unsigned int notes) { in ia32_handle_notes() 189 static void ia32_handle_eflags( x86_insn_t *insn, unsigned int eflags) { in ia32_handle_eflags() 216 static void ia32_handle_prefix( x86_insn_t *insn, unsigned int prefixes ) { in ia32_handle_prefix() 242 static void reg_32_to_16( x86_op_t *op, x86_insn_t *insn, void *arg ) { in reg_32_to_16() 253 static void handle_insn_metadata( x86_insn_t *insn, ia32_insn_t *raw_insn ) { in handle_insn_metadata() 262 ia32_insn_t *raw_insn, x86_insn_t *insn, in ia32_decode_insn() 540 ia32_insn_t *raw_insn, x86_insn_t * insn ) { in handle_insn_suffix() [all …]
|
D | x86_format.c | 645 static int format_operand_att( x86_op_t *op, x86_insn_t *insn, char *buf, in format_operand_att() 719 static int format_operand_native( x86_op_t *op, x86_insn_t *insn, char *buf, in format_operand_native() 783 static int format_operand_xml( x86_op_t *op, x86_insn_t *insn, char *buf, in format_operand_xml() 884 static int format_operand_raw( x86_op_t *op, x86_insn_t *insn, char *buf, in format_operand_raw() 985 x86_insn_t *insn; in x86_format_operand() 992 insn = (x86_insn_t *) op->insn; in x86_format_operand() 1017 static int format_att_mnemonic( x86_insn_t *insn, char *buf, int len) { in format_att_mnemonic() 1071 int x86_format_mnemonic(x86_insn_t *insn, char *buf, int len, in x86_format_mnemonic() 1089 static void format_op_raw( x86_op_t *op, x86_insn_t *insn, void *arg ) { in format_op_raw() 1095 static int format_insn_note(x86_insn_t *insn, char *buf, int len){ in format_insn_note() [all …]
|
D | ia32_operand.c | 39 x86_op_t *op, x86_insn_t *insn, in decode_operand_value() 232 static size_t decode_operand_size( unsigned int op_type, x86_insn_t *insn, in decode_operand_size() 380 x86_insn_t *insn, unsigned int raw_op, in ia32_decode_operand()
|
D | x86_operand_list.h | 6 x86_op_t * x86_operand_new( x86_insn_t *insn );
|
D | ia32_implicit.h | 11 unsigned int ia32_insn_implicit_ops( x86_insn_t *insn, unsigned int impl_idx );
|
D | ia32_operand.h | 8 x86_insn_t *insn, unsigned int raw_op,
|
D | ia32_modrm.h | 8 x86_op_t *op, x86_insn_t *insn,
|
D | ia32_modrm.c | 209 x86_op_t *op, x86_insn_t *insn, size_t gen_regs ) { in ia32_modrm_decode()
|
D | ia32_insn.h | 37 x86_insn_t *insn);
|
D | ia32_implicit.c | 377 unsigned int ia32_insn_implicit_ops( x86_insn_t *insn, unsigned int impl_idx ) { in ia32_insn_implicit_ops()
|
/external/google-breakpad/src/third_party/libdisasm/swig/ |
D | libdisasm_oop.i | 38 %rename(X86_Insn) x86_insn_t; 495 } x86_insn_t; typedef 497 typedef void (*x86_operand_fn)(x86_op_t *op, x86_insn_t *insn, 512 size_t x86_operand_count( x86_insn_t *insn, 514 x86_op_t * x86_operand_1st( x86_insn_t *insn ); 515 x86_op_t * x86_operand_2nd( x86_insn_t *insn ); 516 x86_op_t * x86_operand_3rd( x86_insn_t *insn ); 517 long x86_get_rel_offset( x86_insn_t *insn ); 518 x86_op_t * x86_get_branch_target( x86_insn_t *insn ); 519 x86_op_t * x86_get_imm( x86_insn_t *insn ); [all …]
|
D | libdisasm.i | 42 %rename(insn) x86_insn_t; 206 x86_insn_t * x86_insn_new() { in x86_insn_new() 207 x86_insn_t *insn = (x86_insn_t *) in x86_insn_new() 208 calloc( sizeof(x86_insn_t), 1 ); in x86_insn_new() 212 void x86_insn_free( x86_insn_t *insn ) { in x86_insn_free() 221 x86_insn_t * x86_insn_copy( x86_insn_t *src) { in x86_insn_copy() 223 x86_insn_t *insn = (x86_insn_t *) in x86_insn_copy() 224 calloc( sizeof(x86_insn_t), 1 ); in x86_insn_copy() 227 memcpy( insn, src, sizeof(x86_insn_t) ); in x86_insn_copy() 252 x86_op_list * x86_insn_op_list( x86_insn_t *insn ) { in x86_insn_op_list() [all …]
|
/external/google-breakpad/src/processor/ |
D | disassembler_x86.h | 81 const libdis::x86_insn_t* currentInstruction() { in currentInstruction() 112 libdis::x86_insn_t current_instr_;
|
D | disassembler_x86_unittest.cc | 89 const libdis::x86_insn_t* instruction = dis.currentInstruction(); in TEST()
|