wasm loader: Reject v128 for interpreters (#3611)
discussed in: https://github.com/bytecodealliance/wasm-micro-runtime/pull/3592
This commit is contained in:
@ -20,6 +20,9 @@ wasm_memory_check_flags(const uint8 mem_flag, char *error_buf,
|
||||
bool
|
||||
is_valid_value_type(uint8 value_tpye);
|
||||
|
||||
bool
|
||||
is_valid_value_type_for_interpreter(uint8 value_tpye);
|
||||
|
||||
bool
|
||||
is_valid_func_type(const WASMFuncType *func_type);
|
||||
|
||||
@ -31,4 +34,4 @@ is_indices_overflow(uint32 import, uint32 other, char *error_buf,
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* end of _WASM_LOADER_COMMON_H */
|
||||
#endif /* end of _WASM_LOADER_COMMON_H */
|
||||
|
||||
Reference in New Issue
Block a user