Skip to content

Commit

Permalink
interpreters/wamr: New option for configurable bounds checks
Browse files Browse the repository at this point in the history
Works with bytecodealliance/wasm-micro-runtime#2289

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
  • Loading branch information
no1wudi committed Jul 5, 2023
1 parent 85fe229 commit 3cfaf35
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions interpreters/wamr/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3cfaf35

Please sign in to comment.