9 #ifndef _INCLUDE_WASM_H_
10 #define _INCLUDE_WASM_H_
15 #define RZ_BIN_WASM_MAGIC_BYTES "\x00" \
17 #define RZ_BIN_WASM_VERSION 0x1
18 #define RZ_BIN_WASM_STRING_LENGTH 256
19 #define RZ_BIN_WASM_END_OF_CODE 0xb
21 #define RZ_BIN_WASM_SECTION_CUSTOM 0x0
22 #define RZ_BIN_WASM_SECTION_TYPE 0x1
23 #define RZ_BIN_WASM_SECTION_IMPORT 0x2
24 #define RZ_BIN_WASM_SECTION_FUNCTION 0x3
25 #define RZ_BIN_WASM_SECTION_TABLE 0x4
26 #define RZ_BIN_WASM_SECTION_MEMORY 0x5
27 #define RZ_BIN_WASM_SECTION_GLOBAL 0x6
28 #define RZ_BIN_WASM_SECTION_EXPORT 0x7
29 #define RZ_BIN_WASM_SECTION_START 0x8
30 #define RZ_BIN_WASM_SECTION_ELEMENT 0x9
31 #define RZ_BIN_WASM_SECTION_CODE 0xa
32 #define RZ_BIN_WASM_SECTION_DATA 0xb
XX curplugin == o->plugin.
struct rz_bin_wasm_local_entry_t * locals
struct rz_bin_wasm_name_t * mod_name
RzBinWasmCustomNameFunctionNames * func
RzBinWasmCustomNameLocalNames * local
struct rz_bin_wasm_init_expr_t init
char field_str[RZ_BIN_WASM_STRING_LENGTH]
rz_bin_wasm_value_type_t content_type
struct rz_bin_wasm_init_expr_t init
rz_bin_wasm_value_type_t content_type
char field_str[RZ_BIN_WASM_STRING_LENGTH]
struct rz_bin_wasm_memory_type_t type_m
struct rz_bin_wasm_global_type_t type_g
struct rz_bin_wasm_table_type_t type_t
char module_str[RZ_BIN_WASM_STRING_LENGTH]
rz_bin_wasm_value_type_t type
struct rz_bin_wasm_resizable_limits_t limits
struct rz_bin_wasm_resizable_limits_t limits
RzBinWasmStartEntry * g_start
struct rz_bin_wasm_resizable_limits_t limits
struct rz_bin_wasm_resizable_limits_t limits
rz_bin_wasm_value_type_t elem_type
rz_bin_wasm_value_type_t return_type
rz_bin_wasm_value_type_t * param_types
char to_str[RZ_BIN_WASM_STRING_LENGTH]