Debian Codegraph @

arch/WASM/WASMModule.c

raw symbols SCIP
1 /* Capstone Disassembly Engine */cxx . . $ `<file>/arch/WASM/WASMModule.c`/
2 /* By Spike, xwings 2019 */
3
4 #ifdef CAPSTONE_HAS_WASMcxx . . $ `<built-in>:426:9`!
5
6 #include "../../cs_priv.h"cxx . . $ `<file>/cs_priv.h`/
7 #include "WASMDisassembler.h"cxx . . $ `<file>/arch/WASM/WASMDisassembler.h`/
8 #include "WASMInstPrinter.h"cxx . . $ `<file>/arch/WASM/WASMInstPrinter.h`/
9 #include "WASMMapping.h"cxx . . $ `<file>/arch/WASM/WASMMapping.h`/
10 #include "WASMModule.h"cxx . . $ `<file>/arch/WASM/WASMModule.h`/
11
12 cs_errcxx . . $ cs_err# WASM_global_initcxx . . $ WASM_global_init(2c23641276a36c6e).(cs_structcxx . . $ cs_struct# *ud)
13 {
14 // verify if requested mode is valid
15 if (ud->modecxx . . $ cs_struct#mode.)
16 return CS_ERR_MODEcxx . . $ CS_ERR_MODE.;
17
18 ud->printercxx . . $ cs_struct#printer. = WASM_printInstcxx . . $ WASM_printInst(6238f66e5ea10f57).;
19 ud->printer_infocxx . . $ cs_struct#printer_info. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!;
20 ud->insn_idcxx . . $ cs_struct#insn_id. = WASM_get_insn_idcxx . . $ WASM_get_insn_id(b32a94ba649bfb5a).;
21 ud->insn_namecxx . . $ cs_struct#insn_name. = WASM_insn_namecxx . . $ WASM_insn_name(efd1348d9ae5172e).;
22 ud->group_namecxx . . $ cs_struct#group_name. = WASM_group_namecxx . . $ WASM_group_name(efd1348d9ae5172e).;
23 ud->disasmcxx . . $ cs_struct#disasm. = WASM_getInstructioncxx . . $ WASM_getInstruction(fe94ce91eeab61e9).;
24
25 return CS_ERR_OKcxx . . $ CS_ERR_OK.;
26 }
27
28 cs_errcxx . . $ cs_err# WASM_optioncxx . . $ WASM_option(34dd9365584c51ad).(cs_structcxx . . $ cs_struct# *handle, cs_opt_typecxx . . $ cs_opt_type# type, size_t value)
29 {
30 return CS_ERR_OPTIONcxx . . $ CS_ERR_OPTION.;
31 }
32
33 #endif