| 1 | /* Capstone Disassembly Engine */cxx . . $ `<file>/arch/M68K/M68KModule.c`/ |
| 2 | /* M68K Backend by Daniel Collin <[email protected]> 2015 */ |
| 3 | |
| 4 | #ifdef CAPSTONE_HAS_M68Kcxx . . $ `<built-in>:414:9`! |
| 5 | |
| 6 | #include "../../utils.h"cxx . . $ `<file>/utils.h`/ |
| 7 | #include "../../MCRegisterInfo.h"cxx . . $ `<file>/MCRegisterInfo.h`/ |
| 8 | #include "M68KDisassembler.h"cxx . . $ `<file>/arch/M68K/M68KDisassembler.h`/ |
| 9 | #include "M68KInstPrinter.h"cxx . . $ `<file>/arch/M68K/M68KInstPrinter.h`/ |
| 10 | #include "M68KModule.h"cxx . . $ `<file>/arch/M68K/M68KModule.h`/ |
| 11 | |
| 12 | cs_errcxx . . $ cs_err# M68K_global_initcxx . . $ M68K_global_init(2c23641276a36c6e).(cs_structcxx . . $ cs_struct# *ud) |
| 13 | { |
| 14 | m68k_infocxx . . $ m68k_info# *info; |
| 15 | |
| 16 | info = cs_mem_malloccxx . . $ cs_mem_malloc.(sizeof(m68k_infocxx . . $ m68k_info#)); |
| 17 | if (!info) { |
| 18 | return CS_ERR_MEMcxx . . $ CS_ERR_MEM.; |
| 19 | } |
| 20 | |
| 21 | ud->printercxx . . $ cs_struct#printer. = M68K_printInstcxx . . $ M68K_printInst(6238f66e5ea10f57).; |
| 22 | ud->printer_infocxx . . $ cs_struct#printer_info. = info; |
| 23 | ud->getinsn_infocxx . . $ cs_struct#getinsn_info. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!; |
| 24 | ud->disasmcxx . . $ cs_struct#disasm. = M68K_getInstructioncxx . . $ M68K_getInstruction(fe94ce91eeab61e9).; |
| 25 | ud->skipdata_sizecxx . . $ cs_struct#skipdata_size. = 2; |
| 26 | ud->post_printercxx . . $ cs_struct#post_printer. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!; |
| 27 | |
| 28 | ud->reg_namecxx . . $ cs_struct#reg_name. = M68K_reg_namecxx . . $ M68K_reg_name(efd1348d9ae5172e).; |
| 29 | ud->insn_idcxx . . $ cs_struct#insn_id. = M68K_get_insn_idcxx . . $ M68K_get_insn_id(b32a94ba649bfb5a).; |
| 30 | ud->insn_namecxx . . $ cs_struct#insn_name. = M68K_insn_namecxx . . $ M68K_insn_name(efd1348d9ae5172e).; |
| 31 | ud->group_namecxx . . $ cs_struct#group_name. = M68K_group_namecxx . . $ M68K_group_name(efd1348d9ae5172e).; |
| 32 | |
| 33 | return CS_ERR_OKcxx . . $ CS_ERR_OK.; |
| 34 | } |
| 35 | |
| 36 | cs_errcxx . . $ cs_err# M68K_optioncxx . . $ M68K_option(34dd9365584c51ad).(cs_structcxx . . $ cs_struct# *handle, cs_opt_typecxx . . $ cs_opt_type# type, size_tcxx . . $ size_t# value) |
| 37 | { |
| 38 | return CS_ERR_OKcxx . . $ CS_ERR_OK.; |
| 39 | } |
| 40 | |
| 41 | #endif |
| 42 |