/external/google-breakpad/src/third_party/libdisasm/ |
D | ia32_modrm.c | 93 static void byte_decode(unsigned char b, struct modRM_byte *modrm) { in byte_decode() argument 96 modrm->mod = b >> 6; /* top 2 bits */ in byte_decode() 97 modrm->reg = (b & 56) >> 3; /* middle 3 bits */ in byte_decode() 98 modrm->rm = b & 7; /* bottom 3 bits */ in byte_decode() 144 x86_op_t *op, struct modRM_byte *modrm ) { in modrm_decode16() argument 149 switch( modrm->rm ) { in modrm_decode16() 174 if ( modrm->mod != MOD16_MOD_NODISP ) { in modrm_decode16() 189 if ( modrm->mod == MOD16_MOD_DISP8 ) { in modrm_decode16() 194 } else if ( modrm->mod == MOD16_MOD_DISP16 ) { in modrm_decode16() 214 struct modRM_byte modrm; in ia32_modrm_decode() local [all …]
|
D | ia32_invariant.c | 64 static void byte_decode(unsigned char b, struct modRM_byte *modrm) { argument 66 static inline void byte_decode(unsigned char b, struct modRM_byte *modrm) { 70 modrm->mod = b >> 6; /* top 2 bits */ 71 modrm->reg = (b & 56) >> 3; /* middle 3 bits */ 72 modrm->rm = b & 7; /* bottom 3 bits */ 76 struct modRM_byte modrm; local 84 byte_decode(*in, &modrm); /* get bitfields */ 94 if ( ! mode_16 && modrm.rm == MODRM_RM_SIB && 95 modrm.mod != MODRM_MOD_NOEA ) { 105 if ( sib.base == SIB_BASE_EBP && ! modrm.mod ) { [all …]
|
D | ia32_operand.c | 41 unsigned int op_value, unsigned char modrm, in decode_operand_value() argument 90 ia32_reg_decode( modrm, op, REG_CTRL_OFFSET ); in decode_operand_value() 93 ia32_reg_decode( modrm, op, REG_DEBUG_OFFSET ); in decode_operand_value() 96 ia32_reg_decode( modrm, op, gen_regs ); in decode_operand_value() 99 ia32_reg_decode( modrm, op, REG_MMX_OFFSET ); in decode_operand_value() 102 ia32_reg_decode( modrm, op, REG_SEG_OFFSET ); in decode_operand_value() 105 ia32_reg_decode( modrm, op, REG_TEST_OFFSET ); in decode_operand_value() 108 ia32_reg_decode( modrm, op, REG_SIMD_OFFSET ); in decode_operand_value() 382 unsigned char modrm ) { in ia32_decode_operand() argument 417 op_size, raw_op, modrm, gen_regs ); in ia32_decode_operand()
|
D | ia32_insn.c | 265 unsigned char modrm; in ia32_decode_insn() local 295 modrm = GET_BYTE( buf, buf_len ); in ia32_decode_insn() 307 raw_insn->dest_flag, prefixes, modrm ); in ia32_decode_insn() 314 raw_insn->src_flag, prefixes, modrm ); in ia32_decode_insn() 320 raw_insn->aux_flag, prefixes, modrm ); in ia32_decode_insn()
|
D | ia32_operand.h | 10 unsigned char modrm );
|
/external/elfutils/libcpu/ |
D | i386_data.h | 49 unsigned int modrm : 1; member 169 uint_fast8_t modrm = data[0]; in general_mod$r_m() local 176 if ((modrm & 0xc7) == 6 || (modrm & 0xc0) == 0x80) in general_mod$r_m() 179 else if ((modrm & 0xc0) == 0x40) in general_mod$r_m() 182 else if ((modrm & 0xc0) == 0) in general_mod$r_m() 187 if ((modrm & 0xc7) == 6) in general_mod$r_m() 196 if ((modrm & 0x4) == 0) in general_mod$r_m() 198 "xp"[(modrm >> 1) & 1], "sd"[modrm & 1]); in general_mod$r_m() 201 ((const char [4][3]) { "si", "di", "bp", "bx" })[modrm & 3]); in general_mod$r_m() 213 if ((modrm & 7) != 4) in general_mod$r_m() [all …]
|
D | i386_disasm.c | 593 if (instrtab[cnt].modrm) in i386_disasm() 595 uint_fast8_t modrm = codep[-1]; in i386_disasm() local 601 if ((modrm & 0xc7) == 6 || (modrm & 0xc0) == 0x80) in i386_disasm() 603 else if ((modrm & 0xc0) == 0x40) in i386_disasm() 610 if ((modrm & 0xc0) != 0xc0 && (modrm & 0x7) == 0x4) in i386_disasm() 614 if ((modrm & 0xc7) == 5 || (modrm & 0xc0) == 0x80 in i386_disasm() 615 || ((modrm & 0xc7) == 0x4 in i386_disasm() 619 else if ((modrm & 0xc0) == 0x40) in i386_disasm() 911 ADD_STRING (tttn[codep[-1 - instrtab[cnt].modrm] & 0x0f]); in i386_disasm()
|
D | i386_parse.y | 117 int modrm; member 852 instr->modrm = 1; in fillin_arg() 1205 fprintf (outfile, " .modrm = %d,", instr->modrm); in instrtable_out()
|
/external/capstone/suite/cstest/ |
D | issues.cs | 19 …0x00 0x00 0x00 ; Opcode:0x83 0x00 0x00 0x00 ; rex: 0x0 ; addr_size: 8 ; modrm: 0x3d ; disp: 0x21… 23 …0x00 0x00 0x00 ; Opcode:0x0f 0x95 0x00 0x00 ; rex: 0x0 ; addr_size: 8 ; modrm: 0x44 ; disp: 0x5e… 27 …0x00 0x00 0x00 ; Opcode:0x0f 0x94 0x00 0x00 ; rex: 0x0 ; addr_size: 8 ; modrm: 0x44 ; disp: 0x1f… 31 …0x00 0x00 0x00 ; Opcode:0xdb 0x00 0x00 0x00 ; rex: 0x0 ; addr_size: 8 ; modrm: 0x7c ; disp: 0x40… 35 …0x00 0x00 0x00 ; Opcode:0xdd 0x00 0x00 0x00 ; rex: 0x0 ; addr_size: 8 ; modrm: 0xd9 ; disp: 0x0 … 39 …0x00 0x00 0x00 ; Opcode:0xdf 0x00 0x00 0x00 ; rex: 0x0 ; addr_size: 8 ; modrm: 0x7c ; disp: 0x68… 75 …0x00 0x66 0x00 ; Opcode:0xa3 0x00 0x00 0x00 ; rex: 0x0 ; addr_size: 4 ; modrm: 0x0 ; disp: 0x804… 103 …0x64 0x00 0x00 ; Opcode:0xa3 0x00 0x00 0x00 ; rex: 0x0 ; addr_size: 4 ; modrm: 0x0 ; disp: 0x0 ;… 115 …0x00 0x00 0x00 ; Opcode:0x0f 0x29 0x00 0x00 ; rex: 0x0 ; addr_size: 8 ; modrm: 0x8d ; disp: 0xff… 175 …0x00 0x00 0x00 ; Opcode:0xa3 0x00 0x00 0x00 ; rex: 0x0 ; addr_size: 4 ; modrm: 0x0 ; disp: 0x100… [all …]
|
/external/capstone/bindings/java/capstone/ |
D | X86.java | 85 public byte modrm; field in X86.UnionOpInfo 125 public byte modrm; field in X86.OpInfo 147 modrm = e.modrm; in OpInfo()
|
/external/capstone/bindings/vb6/ |
D | CX86Inst.cls | 85 Public modrm As Byte 126 push r, "modrm: " & Hex(modrm) 173 Me.modrm = cs.modrm
|
D | mx86.bas | 398 modrm As Byte ' ModR/M byte UNSIGNED
|
/external/capstone/bindings/ocaml/ |
D | x86.ml | 34 modrm: int; RecordField
|
D | test_x86.ml | 61 printf "\tmodrm: 0x%x\n" x86.modrm;
|
/external/capstone/bindings/python/capstone/ |
D | x86.py | 81 a.modrm, a.sib, a.disp, a.sib_index, a.sib_scale, \
|
D | __init__.py | 642 self.modrm, self.sib, self.disp, \
|
/external/capstone/cstool/ |
D | README | 33 modrm: 0xd8
|
D | cstool_x86.c | 197 printf("\tmodrm: 0x%x\n", x86->modrm); in print_insn_detail_x86()
|
/external/capstone/bindings/python/ |
D | test_x86.py | 146 print("\tmodrm: 0x%x" % (insn.modrm))
|
/external/capstone/suite/cstest/src/ |
D | x86_detail.c | 210 add_str(&result, " ; modrm: 0x%x", x86->modrm); in get_detail_x86()
|
/external/capstone/bindings/java/ |
D | TestX86.java | 62 System.out.printf("\tmodrm: 0x%x\n", operands.modrm); in print_ins_detail()
|
/external/capstone/tests/ |
D | test_x86.c | 202 printf("\tmodrm: 0x%x\n", x86->modrm); in print_insn_detail()
|
/external/llvm-project/llvm/test/MC/Disassembler/X86/ |
D | x86-64.txt | 617 # Make sure we ignore EVEX.X when modrm.rm encodes a GPR. 621 # Make sure we ignore EVEX.X when modrm.rm encodes a k-register.
|
/external/capstone/bindings/python/pyx/ |
D | ccapstone.pyx | 33 self.modrm, self.sib, self.disp, \
|
/external/capstone/arch/X86/ |
D | X86Disassembler.c | 888 pub->detail->x86.modrm = inter->orgModRM; in update_pub_insn()
|