/external/capstone/suite/cstest/include/ |
D | factory.h | 11 char *get_detail_evm(csh *handle, cs_mode mode, cs_insn *ins); 12 char *get_detail_arm(csh *handle, cs_mode mode, cs_insn *ins); 13 char *get_detail_arm64(csh *handle, cs_mode mode, cs_insn *ins); 14 char *get_detail_m680x(csh *handle, cs_mode mode, cs_insn *ins); 15 char *get_detail_mips(csh *handle, cs_mode mode, cs_insn *ins); 16 char *get_detail_ppc(csh *handle, cs_mode mode, cs_insn *ins); 17 char *get_detail_sparc(csh *handle, cs_mode mode, cs_insn *ins); 18 char *get_detail_sysz(csh *handle, cs_mode mode, cs_insn *ins); 19 char *get_detail_x86(csh *handle, cs_mode mode, cs_insn *ins); 20 char *get_detail_xcore(csh *handle, cs_mode mode, cs_insn *ins); [all …]
|
/external/capstone/bindings/python/pyx/ |
D | ccapstone.pxd | 8 ctypedef size_t csh 38 cs_err cs_open(cs_arch arch, cs_mode mode, csh *handle) 40 cs_err cs_close(csh *handle) 42 cs_err cs_errno(csh handle) 44 size_t cs_disasm(csh handle, 50 cs_err cs_option(csh handle, cs_opt_type type, size_t value) 54 const char *cs_reg_name(csh handle, unsigned int reg_id) 56 const char *cs_insn_name(csh handle, unsigned int insn_id) 58 const char *cs_group_name(csh handle, unsigned int group_id) 60 bool cs_insn_group(csh handle, cs_insn *insn, unsigned int group_id) [all …]
|
/external/capstone/bindings/vb6/ |
D | vbCapstone.cpp | 30 cs_err __stdcall bs_open(cs_arch arch, cs_mode mode, csh *handle){ in bs_open() 35 cs_err __stdcall bs_close(csh *handle){ in bs_close() 40 cs_err __stdcall bs_option(csh handle, cs_opt_type type, size_t value){ in bs_option() 45 cs_err __stdcall bs_errno(csh handle){ in bs_errno() 55 size_t __stdcall bs_disasm(csh handle, const uint8_t *code, size_t code_size, uint64_t address, siz… in bs_disasm() 65 const char* __stdcall bs_reg_name(csh handle, unsigned int reg_id){ in bs_reg_name() 75 cs_insn* __stdcall bs_malloc(csh handle){ in bs_malloc() 81 int __stdcall bs_op_index(csh handle, const cs_insn *insn, unsigned int op_type, unsigned int posit… in bs_op_index() 86 int __stdcall bs_op_count(csh handle, const cs_insn *insn, unsigned int op_type){ in bs_op_count() 91 bool __stdcall bs_reg_write(csh handle, const cs_insn *insn, unsigned int reg_id){ in bs_reg_write() [all …]
|
/external/capstone/arch/ARM/ |
D | ARMInstPrinter.c | 140 if (MI->csh->detail != CS_OPT_ON) in set_mem_access() 143 MI->csh->doing_mem = status; in set_mem_access() 156 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in set_mem_access() 168 if (MI->csh->detail) { in op_addImm() 213 if (MI->csh->detail) { in printRegImmShift() 214 if (MI->csh->doing_mem) in printRegImmShift() 223 if (MI->csh->detail) { in printRegImmShift() 224 if (MI->csh->doing_mem) in printRegImmShift() 273 void ARM_post_printer(csh ud, cs_insn *insn, char *insn_asm, MCInst *mci) in ARM_post_printer() 281 } else if (mci->csh->mode & CS_MODE_THUMB) { in ARM_post_printer() [all …]
|
D | ARMMapping.h | 11 const char *ARM_reg_name(csh handle, unsigned int reg); 12 const char *ARM_reg_name2(csh handle, unsigned int reg); 17 const char *ARM_insn_name(csh handle, unsigned int id); 19 const char *ARM_group_name(csh handle, unsigned int id);
|
/external/capstone/include/capstone/ |
D | capstone.h | 71 typedef size_t csh; typedef 431 cs_err CAPSTONE_API cs_open(cs_arch arch, cs_mode mode, csh *handle); 448 cs_err CAPSTONE_API cs_close(csh *handle); 465 cs_err CAPSTONE_API cs_option(csh handle, cs_opt_type type, size_t value); 476 cs_err CAPSTONE_API cs_errno(csh handle); 524 size_t CAPSTONE_API cs_disasm(csh handle, 536 size_t CAPSTONE_API cs_disasm_ex(csh handle, 562 cs_insn * CAPSTONE_API cs_malloc(csh handle); 600 bool CAPSTONE_API cs_disasm_iter(csh handle, 618 const char * CAPSTONE_API cs_reg_name(csh handle, unsigned int reg_id); [all …]
|
/external/capstone/bindings/java/capstone/ |
D | Capstone.java | 99 private Pointer csh; field in Capstone.CsInsn 142 csh = _csh; in CsInsn() 217 return cs.cs_op_count(csh, raw.getPointer(), type); in opCount() 221 return cs.cs_op_index(csh, raw.getPointer(), type, index); in opIndex() 225 return cs.cs_reg_read(csh, raw.getPointer(), reg_id) != 0; in regRead() 229 return cs.cs_reg_write(csh, raw.getPointer(), reg_id) != 0; in regWrite() 233 return cs.cs_errno(csh); in errno() 237 return cs.cs_reg_name(csh, reg_id); in regName() 241 return cs.cs_insn_name(csh, id); in insnName() 245 return cs.cs_group_name(csh, id); in groupName() [all …]
|
/external/capstone/arch/AArch64/ |
D | AArch64InstPrinter.c | 64 MI->csh->doing_mem = status; in set_mem_access() 66 if (MI->csh->detail != CS_OPT_ON) in set_mem_access() 72 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in set_mem_access() 138 if (MI->csh->detail) { in AArch64_printInst() 141 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in AArch64_printInst() 149 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in AArch64_printInst() 203 if (MI->csh->detail) { in AArch64_printInst() 206 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in AArch64_printInst() 214 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in AArch64_printInst() 222 access = get_op_access(MI->csh, MCInst_getOpcode(MI), MI->ac_idx); in AArch64_printInst() [all …]
|
/external/capstone/bindings/python/capstone/ |
D | __init__.py | 446 def __init__(self, csh, arch): argument 447 self.csh = csh 462 csh = ctypes.c_size_t() 463 status = _cs.cs_open(arch, mode, ctypes.byref(csh)) 468 res = _cs.cs_disasm(csh, code, len(code), offset, count, ctypes.byref(all_insn)) 472 yield CsInsn(_dummy_cs(csh, arch), all_insn[i]) 476 status = _cs.cs_errno(csh) 482 status = _cs.cs_close(ctypes.byref(csh)) 503 csh = ctypes.c_size_t() 504 status = _cs.cs_open(arch, mode, ctypes.byref(csh)) [all …]
|
/external/capstone/cstool/ |
D | cstool.c | 63 void print_insn_detail_x86(csh ud, cs_mode mode, cs_insn *ins); 64 void print_insn_detail_arm(csh handle, cs_insn *ins); 65 void print_insn_detail_arm64(csh handle, cs_insn *ins); 66 void print_insn_detail_mips(csh handle, cs_insn *ins); 67 void print_insn_detail_ppc(csh handle, cs_insn *ins); 68 void print_insn_detail_sparc(csh handle, cs_insn *ins); 69 void print_insn_detail_sysz(csh handle, cs_insn *ins); 70 void print_insn_detail_xcore(csh handle, cs_insn *ins); 71 void print_insn_detail_m68k(csh handle, cs_insn *ins); 72 void print_insn_detail_tms320c64x(csh handle, cs_insn *ins); [all …]
|
/external/capstone/arch/Sparc/ |
D | SparcInstPrinter.c | 49 if (MI->csh->detail) { in Sparc_add_hint() 56 if (MI->csh->detail) { in Sparc_add_reg() 65 if (MI->csh->detail != CS_OPT_ON) in set_mem_access() 68 MI->csh->doing_mem = status; in set_mem_access() 80 void Sparc_post_printer(csh ud, cs_insn *insn, char *insn_asm, MCInst *mci) in Sparc_post_printer() 145 if (MI->csh->mode & CS_MODE_V9 || (MCInst_getNumOperands(MI) != 3) || in printSparcAliasInstr() 177 if (MI->csh->detail) { in printOperand() 178 if (MI->csh->doing_mem) { in printOperand() 268 if (MI->csh->detail) { in printOperand() 269 if (MI->csh->doing_mem) { in printOperand() [all …]
|
/external/capstone/arch/X86/ |
D | X86IntelInstPrinter.c | 62 if (MI->csh->detail != CS_OPT_ON) in set_mem_access() 65 MI->csh->doing_mem = status; in set_mem_access() 92 switch(MI->csh->mode) { in printopaquemem() 213 switch(MI->csh->mode) { in printf32mem() 380 if (MI->csh->syntax == CS_OPT_SYNTAX_MASM) { in printImm() 440 if (MI->csh->syntax == CS_OPT_SYNTAX_MASM) { in printImm() 487 printImm(MI, O, imm, MI->csh->imm_unsigned); in _printOperand() 523 if (MI->csh->detail) { in printSrcIdx() 537 get_op_access(MI->csh, MCInst_getOpcode(MI), access, &MI->flat_insn->detail->x86.eflags); in printSrcIdx() 548 if (MI->csh->detail) { in printSrcIdx() [all …]
|
D | X86ATTInstPrinter.c | 62 if (MI->csh->detail != CS_OPT_ON) in set_mem_access() 65 MI->csh->doing_mem = status; in set_mem_access() 73 switch(MI->csh->mode) { in printopaquemem() 187 switch(MI->csh->mode) { in printf32mem() 340 if (MI->csh->imm_unsigned) { in _printOperand() 405 if (MI->csh->detail) { in printSrcIdx() 416 get_op_access(MI->csh, MCInst_getOpcode(MI), access, &MI->flat_insn->detail->x86.eflags); in printSrcIdx() 426 if (MI->csh->detail) { in printSrcIdx() 444 if (MI->csh->detail) { in printDstIdx() 455 get_op_access(MI->csh, MCInst_getOpcode(MI), access, &MI->flat_insn->detail->x86.eflags); in printDstIdx() [all …]
|
/external/one-true-awk/testdir/ |
D | test.data | 143 4diag:*:0:996:Hardware Diagnostics:/usr/diags:/bin/csh 156 17EZsetup:*:992:998:System Setup:/var/sysadmdesktop/EZsetup:/bin/csh 157 18demos:*:993:997:Demonstration User:/usr/demos:/bin/csh 158 19tutor:*:994:997:Tutorial User:/usr/tutor:/bin/csh 159 20tour:*:995:997:IRIS Space Tour:/usr/people/tour:/bin/csh 160 21guest:nfP4/Wpvio/Rw:998:998:Guest Account:/usr/people/guest:/bin/csh 161 224Dgifts:0nWRTZsOMt.:999:998:4Dgifts Account:/usr/people/4Dgifts:/bin/csh 173 4d iag * 0 996 Hardware Diagnostics /usr/diags /bin/csh 186 17 EZsetup * 992 998 System Setup /var/sysadmdesktop/EZsetup /bin/csh 187 18 demos * 993 997 Demonstration User /usr/demos /bin/csh [all …]
|
/external/capstone/arch/M680X/ |
D | M680XInstPrinter.c | 104 SStream_concat(OS, handle->reg_name((csh)handle, reg)); in printRegName() 112 SStream_concat(OS, handle->insn_name((csh)handle, insn)); in printInstructionName() 158 printRegName(MI->csh, O, op->reg); in printOperand() 166 if (MI->csh->imm_unsigned) in printOperand() 179 printRegName(MI->csh, O, op->idx.offset_reg); in printOperand() 195 printRegName(MI->csh, O, op->idx.base_reg); in printOperand() 279 printInstructionName(MI->csh, O, info->insn); in M680X_printInst() 298 const char *M680X_reg_name(csh handle, unsigned int reg) in M680X_reg_name() 311 const char *M680X_insn_name(csh handle, unsigned int id) in M680X_insn_name() 325 const char *M680X_group_name(csh handle, unsigned int id) in M680X_group_name()
|
D | M680XInstPrinter.h | 17 const char *M680X_reg_name(csh handle, unsigned int reg); 18 const char *M680X_insn_name(csh handle, unsigned int id); 19 const char *M680X_group_name(csh handle, unsigned int id); 20 void M680X_post_printer(csh handle, cs_insn *flat_insn, char *insn_asm,
|
/external/capstone/arch/XCore/ |
D | XCoreInstPrinter.c | 39 void XCore_post_printer(csh ud, cs_insn *insn, char *insn_asm, MCInst *mci) in XCore_post_printer() 67 if (MI->csh->detail) { in XCore_insn_extract() 89 if (MI->csh->detail) { in XCore_insn_extract() 108 if (MI->csh->detail) { in XCore_insn_extract() 113 if (MI->csh->detail) { in XCore_insn_extract() 119 if (MI->csh->detail) { in XCore_insn_extract() 128 if (MI->csh->detail) { in XCore_insn_extract() 140 if (MI->csh->detail) { in XCore_insn_extract() 152 if (MI->csh->detail != CS_OPT_ON) in set_mem_access() 155 MI->csh->doing_mem = status; in set_mem_access() [all …]
|
D | XCoreMapping.h | 10 const char *XCore_reg_name(csh handle, unsigned int reg); 15 const char *XCore_insn_name(csh handle, unsigned int id); 17 const char *XCore_group_name(csh handle, unsigned int id);
|
/external/capstone/arch/SystemZ/ |
D | SystemZInstPrinter.c | 34 void SystemZ_post_printer(csh ud, cs_insn *insn, char *insn_asm, MCInst *mci) in SystemZ_post_printer() 52 if (MI->csh->detail) { in printAddress() 60 if (MI->csh->detail) { in printAddress() 67 if (MI->csh->detail) { in printAddress() 86 if (MI->csh->detail) { in _printOperand() 96 if (MI->csh->detail) { in _printOperand() 110 if (MI->csh->detail) { in printU1ImmOperand() 123 if (MI->csh->detail) { in printU2ImmOperand() 136 if (MI->csh->detail) { in printU3ImmOperand() 149 if (MI->csh->detail) { in printU4ImmOperand() [all …]
|
D | SystemZMapping.h | 10 const char *SystemZ_reg_name(csh handle, unsigned int reg); 15 const char *SystemZ_insn_name(csh handle, unsigned int id); 17 const char *SystemZ_group_name(csh handle, unsigned int id);
|
/external/capstone/suite/cstest/src/ |
D | main.c | 20 csh *handle; in setup_MC() 74 handle = (csh *)malloc(sizeof(csh)); in setup_MC() 107 test_single_MC((csh *)*state, mc_mode, list_lines[counter] + 3); in test_MC() 109 test_single_MC((csh *)*state, mc_mode, list_lines[counter]); in test_MC() 121 csh *handle; in setup_issue() 126 char *(*function)(csh *, cs_mode, cs_insn*); in setup_issue() 184 handle = (csh *)calloc(1, sizeof(csh)); in setup_issue() 229 test_single_issue((csh *)*state, issue_mode, list_lines[counter], getDetail); in test_issue() 231 test_single_issue((csh *)*state, issue_mode, list_lines[counter] + 3, getDetail); in test_issue()
|
/external/capstone/arch/M68K/ |
D | M68KInstPrinter.h | 15 const char* M68K_reg_name(csh handle, unsigned int reg); 17 const char *M68K_insn_name(csh handle, unsigned int id); 18 const char* M68K_group_name(csh handle, unsigned int id); 19 void M68K_post_printer(csh handle, cs_insn* flat_insn, char* insn_asm, MCInst* mci);
|
/external/capstone/arch/MOS65XX/ |
D | MOS65XXDisassembler.h | 13 const char *MOS65XX_insn_name(csh handle, unsigned int id); 15 const char *MOS65XX_group_name(csh handle, unsigned int id); 17 const char* MOS65XX_reg_name(csh handle, unsigned int reg); 19 bool MOS65XX_getInstruction(csh ud, const uint8_t *code, size_t code_len,
|
/external/capstone/arch/PowerPC/ |
D | PPCInstPrinter.c | 62 if (MI->csh->detail != CS_OPT_ON) in set_mem_access() 65 MI->csh->doing_mem = status; in set_mem_access() 77 void PPC_post_printer(csh ud, cs_insn *insn, char *insn_asm, MCInst *mci) in PPC_post_printer() 131 if (MI->csh->detail) { in PPC_printInst() 209 if (MI->csh->detail) { in PPC_printInst() 378 if (MI->csh->detail) { in printU2ImmOperand() 395 if (MI->csh->detail) { in printU4ImmOperand() 409 if (MI->csh->detail) { in printS5ImmOperand() 422 if (MI->csh->detail) { in printU5ImmOperand() 435 if (MI->csh->detail) { in printU6ImmOperand() [all …]
|
/external/capstone/arch/TMS320C64x/ |
D | TMS320C64xMapping.h | 10 const char *TMS320C64x_reg_name(csh handle, unsigned int reg); 15 const char *TMS320C64x_insn_name(csh handle, unsigned int id); 17 const char *TMS320C64x_group_name(csh handle, unsigned int id);
|