Skip to content

Conversation

@no1wudi
Copy link
Contributor

@no1wudi no1wudi commented Aug 10, 2022

Summary

Reserve some space in stack as guard to detect stack overflow, use stack base by default but may not safe enough.

See also : bytecodealliance/wasm-micro-runtime#1368

Impact

New option

Testing

Custom board

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
@xiaoxiang781216 xiaoxiang781216 merged commit 29a49f3 into apache:master Aug 10, 2022
yamt added a commit to yamt/incubator-nuttx-apps that referenced this pull request Dec 25, 2023
using 0 by default seems a bit too aggressive to me.

1024 here is what would have been used before this kconfig knob
was introduced by apache#1259.
It also matches some expectations in the recent wamrc.
https://github.com/bytecodealliance/wasm-micro-runtime/blob/40b430fd240ad45f5c7a7dd0239fa2425e7c294e/core/iwasm/compilation/aot_emit_aot_file.c#L2672-L2678
yamt added a commit to yamt/incubator-nuttx-apps that referenced this pull request Jan 19, 2024
using 0 by default seems a bit too aggressive to me.

1024 here is what would have been used before this kconfig knob
was introduced by apache#1259.
It also matches some expectations in the recent wamrc.
https://github.com/bytecodealliance/wasm-micro-runtime/blob/40b430fd240ad45f5c7a7dd0239fa2425e7c294e/core/iwasm/compilation/aot_emit_aot_file.c#L2672-L2678
jerpelea pushed a commit that referenced this pull request Jan 19, 2024
using 0 by default seems a bit too aggressive to me.

1024 here is what would have been used before this kconfig knob
was introduced by #1259.
It also matches some expectations in the recent wamrc.
https://github.com/bytecodealliance/wasm-micro-runtime/blob/40b430fd240ad45f5c7a7dd0239fa2425e7c294e/core/iwasm/compilation/aot_emit_aot_file.c#L2672-L2678
mlyszczek pushed a commit to mlyszczek/incubator-nuttx-apps that referenced this pull request Feb 27, 2024
using 0 by default seems a bit too aggressive to me.

1024 here is what would have been used before this kconfig knob
was introduced by apache#1259.
It also matches some expectations in the recent wamrc.
https://github.com/bytecodealliance/wasm-micro-runtime/blob/40b430fd240ad45f5c7a7dd0239fa2425e7c294e/core/iwasm/compilation/aot_emit_aot_file.c#L2672-L2678
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants