Debian Codegraph @

arch/AArch64/AArch64Module.c

raw symbols SCIP
1 /* Capstone Disassembly Engine */cxx . . $ `<file>/arch/AArch64/AArch64Module.c`/
2 /* By Dang Hoang Vu <[email protected]> 2013 */
3
4 #ifdef CAPSTONE_HAS_ARM64cxx . . $ `<built-in>:413:9`!
5
6 #include "../../utils.h"cxx . . $ `<file>/utils.h`/
7 #include "../../MCRegisterInfo.h"cxx . . $ `<file>/MCRegisterInfo.h`/
8 #include "AArch64Disassembler.h"cxx . . $ `<file>/arch/AArch64/AArch64Disassembler.h`/
9 #include "AArch64InstPrinter.h"cxx . . $ `<file>/arch/AArch64/AArch64InstPrinter.h`/
10 #include "AArch64Mapping.h"cxx . . $ `<file>/arch/AArch64/AArch64Mapping.h`/
11 #include "AArch64Module.h"cxx . . $ `<file>/arch/AArch64/AArch64Module.h`/
12
13 cs_errcxx . . $ cs_err# AArch64_global_initcxx . . $ AArch64_global_init(2c23641276a36c6e).(cs_structcxx . . $ cs_struct# *ud)
14 {
15 MCRegisterInfocxx . . $ MCRegisterInfo# *mri;
16 mri = cs_mem_malloccxx . . $ cs_mem_malloc.(sizeof(*mri));
17
18 AArch64_initcxx . . $ AArch64_init(c2e0c34190506c3d).(mri);
19 ud->printercxx . . $ cs_struct#printer. = AArch64_printInstcxx . . $ AArch64_printInst(6238f66e5ea10f57).;
20 ud->printer_infocxx . . $ cs_struct#printer_info. = mri;
21 ud->getinsn_infocxx . . $ cs_struct#getinsn_info. = mri;
22 ud->disasmcxx . . $ cs_struct#disasm. = AArch64_getInstructioncxx . . $ AArch64_getInstruction(fe94ce91eeab61e9).;
23 ud->reg_namecxx . . $ cs_struct#reg_name. = AArch64_reg_namecxx . . $ AArch64_reg_name(efd1348d9ae5172e).;
24 ud->insn_idcxx . . $ cs_struct#insn_id. = AArch64_get_insn_idcxx . . $ AArch64_get_insn_id(b32a94ba649bfb5a).;
25 ud->insn_namecxx . . $ cs_struct#insn_name. = AArch64_insn_namecxx . . $ AArch64_insn_name(efd1348d9ae5172e).;
26 ud->group_namecxx . . $ cs_struct#group_name. = AArch64_group_namecxx . . $ AArch64_group_name(efd1348d9ae5172e).;
27 ud->post_printercxx . . $ cs_struct#post_printer. = AArch64_post_printercxx . . $ AArch64_post_printer(1e4eab0813f35322).;
28 #ifndef CAPSTONE_DIET
29 ud->reg_accesscxx . . $ cs_struct#reg_access. = AArch64_reg_accesscxx . . $ AArch64_reg_access(a4e53139cd2f126c).;
30 #endif
31
32 return CS_ERR_OKcxx . . $ CS_ERR_OK.;
33 }
34
35 cs_errcxx . . $ cs_err# AArch64_optioncxx . . $ AArch64_option(34dd9365584c51ad).(cs_structcxx . . $ cs_struct# *handle, cs_opt_typecxx . . $ cs_opt_type# type, size_t value)
36 {
37 if (type == CS_OPT_MODEcxx . . $ CS_OPT_MODE.) {
38 handle->modecxx . . $ cs_struct#mode. = (cs_modecxx . . $ cs_mode#)value;
39 }
40
41 return CS_ERR_OKcxx . . $ CS_ERR_OK.;
42 }
43
44 #endif