This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 29a49f366 wamr: Add a new option to custom stack guard size
29a49f366 is described below
commit 29a49f366e8c2c2d5ee040d68ec9b07e1cae0a6d
Author: Huang Qi <[email protected]>
AuthorDate: Wed Aug 10 12:03:39 2022 +0800
wamr: Add a new option to custom stack guard size
Signed-off-by: Huang Qi <[email protected]>
---
interpreters/wamr/Kconfig | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/interpreters/wamr/Kconfig b/interpreters/wamr/Kconfig
index 853973715..c609bfb5f 100644
--- a/interpreters/wamr/Kconfig
+++ b/interpreters/wamr/Kconfig
@@ -81,6 +81,13 @@ config INTERPRETERS_WAMR_MINILOADER
---help---
Mini-loader don't check the integrity of wasm module
+config INTERPRETERS_WAMR_STACK_GUARD_SIZE
+ int "Custom stack guard size"
+ default 0
+ ---help---
+ Reserve some space in stack as guard to detect stack overflow,
+ use stack base by default but may not safe enough.
+
config INTERPRETERS_WAMR_THREAD_MGR
bool "Enable thread manager"
default n