Skip to content

Commit

Permalink
interpreters/wamr: New option for configurable bounds checks
Browse files Browse the repository at this point in the history
VELAPLATFO-10411

Works with bytecodealliance/wasm-micro-runtime#2289

Change-Id: I00308f799ab3e713d665df9a4d4077b51365776e
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
  • Loading branch information
no1wudi committed Jul 7, 2023
1 parent b80b7a4 commit dedc36e
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 @@ -168,4 +168,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 dedc36e

Please sign in to comment.