Home
last modified time | relevance | path

Searched refs:cs_struct (Results 1 – 25 of 36) sorted by relevance

12

/external/capstone/
Dcs.c54 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 …]
Dcs_priv.h22 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*);
DMCInst.h28 typedef struct cs_struct cs_struct; typedef
100 cs_struct *csh; // save the main csh
/external/capstone/arch/ARM/
DARMMapping.h15 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);
DARMModule.c12 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()
DARMInstPrinter.h28 void ARM_getRegName(cs_struct *handle, int value);
DARMDisassembler.c446 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/
DXCoreModule.c12 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()
DXCoreMapping.h13 void XCore_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id);
DXCoreMapping.c1370 void XCore_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id) in XCore_get_insn_id()
/external/capstone/arch/SystemZ/
DSystemZModule.c12 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()
DSystemZMapping.h13 void SystemZ_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id);
/external/capstone/arch/AArch64/
DAArch64Module.c12 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()
DAArch64Mapping.h13 void AArch64_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id);
/external/capstone/arch/Sparc/
DSparcModule.c12 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()
DSparcMapping.h13 void Sparc_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id);
DSparcInstPrinter.c81 if (((cs_struct *)ud)->detail != CS_OPT_ON) in Sparc_post_printer()
/external/capstone/arch/PowerPC/
DPPCModule.c12 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()
DPPCMapping.h13 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/
DMipsModule.c12 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()
DMipsMapping.h13 void Mips_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id);
DMipsDisassembler.c396 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/
DX86Module.c12 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()
DX86Mapping.h23 void X86_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id);
DX86Disassembler.c789 cs_struct *handle = (cs_struct *)(uintptr_t)ud; in X86_getInstruction()

12