interpreters/wamr: New option for configurable bounds checks

Works with https://github.com/bytecodealliance/wasm-micro-runtime/pull/2289

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi 2023-07-04 17:09:42 +08:00 committed by Xiang Xiao
parent 9de5a2550e
commit be0e677699

View File

@ -165,4 +165,12 @@ config INTERPRETERS_WAMR_GLOBAL_HEAP_POOL_SIZE
endif
config INTERPRETERS_WAMR_CONFIGUABLE_BOUNDS_CHECKS
bool "Configuable bounds checks"
default n
---help---
Bounds checks enabled by default. With this option, you can
disable bounds checks passing --disable-bounds-checks to
iwasm.
endif