From be0e67769953db2085d754a424538a052b9fc9c3 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Tue, 4 Jul 2023 17:09:42 +0800 Subject: [PATCH] interpreters/wamr: New option for configurable bounds checks Works with https://github.com/bytecodealliance/wasm-micro-runtime/pull/2289 Signed-off-by: Huang Qi --- interpreters/wamr/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/interpreters/wamr/Kconfig b/interpreters/wamr/Kconfig index 947a54c85..acf55eba5 100644 --- a/interpreters/wamr/Kconfig +++ b/interpreters/wamr/Kconfig @@ -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