mkxp-z/binding-sandbox
刘皓 42c4ff9497
Make sandbox_malloc into a coroutine
According to AddressSanitizer, when `sandbox_malloc` causes the
WebAssembly memory to grow in size, every single coroutine on the
sandbox stack gets corrupted. So if `sandbox_malloc` is going to cause
the memory to grow in size, we need to yield so that there are no
coroutines on the sandbox stack while the reallocation occurs.
2025-02-17 00:38:40 -05:00
..
audio-binding.h Replace WABT's WebAssembly runtime with a custom implementation 2025-02-11 20:40:55 -05:00
binding-base.cpp Make sandbox_malloc into a coroutine 2025-02-17 00:38:40 -05:00
binding-base.h Make sandbox_malloc into a coroutine 2025-02-17 00:38:40 -05:00
binding-sandbox.h Replace WABT's WebAssembly runtime with a custom implementation 2025-02-11 20:40:55 -05:00
binding-util.cpp Start writing class/method stubs for binding-sandbox 2025-01-21 12:56:17 -05:00
binding-util.h Make sandbox_malloc into a coroutine 2025-02-17 00:38:40 -05:00
bitmap-binding.h Make sandbox_malloc into a coroutine 2025-02-17 00:38:40 -05:00
core.h Replace WABT's WebAssembly runtime with a custom implementation 2025-02-11 20:40:55 -05:00
etc-binding.h Make sandbox_malloc into a coroutine 2025-02-17 00:38:40 -05:00
font-binding.h Make sandbox_malloc into a coroutine 2025-02-17 00:38:40 -05:00
graphics-binding.h Implement plane bindings for binding-sandbox 2025-02-06 19:44:34 -05:00
input-binding.h Start implementing input for libretro builds 2025-02-04 23:47:54 -05:00
plane-binding.h Make sandbox_malloc into a coroutine 2025-02-17 00:38:40 -05:00
sandbox.cpp Make sandbox_malloc into a coroutine 2025-02-17 00:38:40 -05:00
sandbox.h Make sandbox_malloc into a coroutine 2025-02-17 00:38:40 -05:00
sprite-binding.h Make sandbox_malloc into a coroutine 2025-02-17 00:38:40 -05:00
table-binding.h Make sandbox_malloc into a coroutine 2025-02-17 00:38:40 -05:00
tilemap-binding.h Make sandbox_malloc into a coroutine 2025-02-17 00:38:40 -05:00
types.h Refactor the non-autogenerated parts of sandbox-bindgen into separate files 2025-02-05 01:11:23 -05:00
viewport-binding.h Make sandbox_malloc into a coroutine 2025-02-17 00:38:40 -05:00
wasi.cpp Fix use after free in wasi.cpp found by AddressSanitizer 2025-02-17 00:07:54 -05:00
wasi.h Replace WABT's WebAssembly runtime with a custom implementation 2025-02-11 20:40:55 -05:00
wasm-rt.cpp Make sandbox_malloc into a coroutine 2025-02-17 00:38:40 -05:00
wasm-rt.h Make sandbox_malloc into a coroutine 2025-02-17 00:38:40 -05:00
window-binding.h Make sandbox_malloc into a coroutine 2025-02-17 00:38:40 -05:00