/external/capstone/ |
D | cs.c | 54 cs_err (*arch_init[MAX_ARCH])(cs_struct *) = { NULL }; 55 cs_err (*arch_option[MAX_ARCH]) (cs_struct *, cs_opt_type, size_t value) = { NULL }; 56 void (*arch_destroy[MAX_ARCH]) (cs_struct *) = { NULL }; 192 struct cs_struct *ud; in cs_errno() 196 ud = (struct cs_struct *)(uintptr_t)handle; in cs_errno() 238 struct cs_struct *ud; in cs_open() 282 struct cs_struct *ud; in cs_close() 288 ud = (struct cs_struct *)(*handle); in cs_close() 306 static void fill_insn(struct cs_struct *handle, cs_insn *insn, char *buffer, MCInst *mci, in fill_insn() 357 static uint8_t skipdata_size(cs_struct *handle) in skipdata_size() [all …]
|
D | cs_priv.h | 22 typedef void (*GetID_t)(cs_struct *h, cs_insn *insn, unsigned int id); 33 struct cs_struct { struct 62 extern cs_err (*arch_init[MAX_ARCH]) (cs_struct *); argument 65 extern cs_err (*arch_option[MAX_ARCH]) (cs_struct*, cs_opt_type, size_t value); 68 extern void (*arch_destroy[MAX_ARCH]) (cs_struct*);
|
D | MCInst.h | 28 typedef struct cs_struct cs_struct; typedef 100 cs_struct *csh; // save the main csh
|
/external/capstone/arch/ARM/ |
D | ARMMapping.h | 15 void ARM_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id); 22 bool ARM_rel_branch(cs_struct *h, unsigned int insn_id); 24 bool ARM_blx_to_arm_mode(cs_struct *h, unsigned int insn_id);
|
D | ARMModule.c | 12 static cs_err init(cs_struct *ud) in init() 42 static cs_err option(cs_struct *handle, cs_opt_type type, size_t value) in option() 66 static void destroy(cs_struct *handle) in destroy()
|
D | ARMInstPrinter.h | 28 void ARM_getRegName(cs_struct *handle, int value);
|
D | ARMDisassembler.c | 446 static DecodeStatus _ARM_getInstruction(cs_struct *ud, MCInst *MI, const uint8_t *code, size_t code… in _ARM_getInstruction() 578 static DecodeStatus AddThumbPredicate(cs_struct *ud, MCInst *MI) in AddThumbPredicate() 657 static void UpdateThumbVFPPredicate(cs_struct *ud, MCInst *MI) in UpdateThumbVFPPredicate() 683 static DecodeStatus _Thumb_getInstruction(cs_struct *ud, MCInst *MI, const uint8_t *code, size_t co… in _Thumb_getInstruction() 880 DecodeStatus status = _Thumb_getInstruction((cs_struct *)ud, instr, code, code_len, size, address); in Thumb_getInstruction() 889 DecodeStatus status = _ARM_getInstruction((cs_struct *)ud, instr, code, code_len, size, address); in ARM_getInstruction()
|
/external/capstone/arch/XCore/ |
D | XCoreModule.c | 12 static cs_err init(cs_struct *ud) in init() 33 static cs_err option(cs_struct *handle, cs_opt_type type, size_t value) in option() 38 static void destroy(cs_struct *handle) in destroy()
|
D | XCoreMapping.h | 13 void XCore_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id);
|
D | XCoreMapping.c | 1370 void XCore_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id) in XCore_get_insn_id()
|
/external/capstone/arch/SystemZ/ |
D | SystemZModule.c | 12 static cs_err init(cs_struct *ud) in init() 33 static cs_err option(cs_struct *handle, cs_opt_type type, size_t value) in option() 41 static void destroy(cs_struct *handle) in destroy()
|
D | SystemZMapping.h | 13 void SystemZ_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id);
|
/external/capstone/arch/AArch64/ |
D | AArch64Module.c | 12 static cs_err init(cs_struct *ud) in init() 36 static cs_err option(cs_struct *handle, cs_opt_type type, size_t value) in option() 45 static void destroy(cs_struct *handle) in destroy()
|
D | AArch64Mapping.h | 13 void AArch64_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id);
|
/external/capstone/arch/Sparc/ |
D | SparcModule.c | 12 static cs_err init(cs_struct *ud) in init() 37 static cs_err option(cs_struct *handle, cs_opt_type type, size_t value) in option() 49 static void destroy(cs_struct *handle) in destroy()
|
D | SparcMapping.h | 13 void Sparc_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id);
|
D | SparcInstPrinter.c | 81 if (((cs_struct *)ud)->detail != CS_OPT_ON) in Sparc_post_printer()
|
/external/capstone/arch/PowerPC/ |
D | PPCModule.c | 12 static cs_err init(cs_struct *ud) in init() 38 static cs_err option(cs_struct *handle, cs_opt_type type, size_t value) in option() 50 static void destroy(cs_struct *handle) in destroy()
|
D | PPCMapping.h | 13 void PPC_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id); 31 bool PPC_abs_branch(cs_struct *h, unsigned int id);
|
/external/capstone/arch/Mips/ |
D | MipsModule.c | 12 static cs_err init(cs_struct *ud) in init() 41 static cs_err option(cs_struct *handle, cs_opt_type type, size_t value) in option() 55 static void destroy(cs_struct *handle) in destroy()
|
D | MipsMapping.h | 13 void Mips_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id);
|
D | MipsDisassembler.c | 396 cs_struct *handle = (cs_struct *)(uintptr_t)ud; in Mips_getInstruction() 450 cs_struct *handle = (cs_struct *)(uintptr_t)ud; in Mips64_getInstruction()
|
/external/capstone/arch/X86/ |
D | X86Module.c | 12 static cs_err init(cs_struct *ud) in init() 43 static cs_err option(cs_struct *handle, cs_opt_type type, size_t value) in option() 90 static void destroy(cs_struct *handle) in destroy()
|
D | X86Mapping.h | 23 void X86_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id);
|
D | X86Disassembler.c | 789 cs_struct *handle = (cs_struct *)(uintptr_t)ud; in X86_getInstruction()
|