binaryen
binaryen copied to clipboard
Wrap `strToStack` calls in a `preserveStack` call to avoid permanently leaking stack space.
I see we have existing bugs here, but every strToStack call needs to be wrapped in a preserveStack call to avoid permanently leaking stack space.
Originally posted by @tlively in https://github.com/WebAssembly/binaryen/pull/4811#discussion_r933633879