ladybird/Libraries/LibWasm
Ali Mohammad Pur f31519c393 LibWasm: Add runtime checks to nostack br/br_if
synthetic_br_nostack and synthetic_br_if_nostack assumed the runtime
value stack already matches the target label's expected size. The
register allocator can leave more values on the stack than the
validator's abstract count predicted, so the bare nostack variants get
us out of sync and we crash later. This makes it so they drop to regular
br/br_if behaviour if they notice that the size is not as expected.
2026-05-27 09:52:34 +02:00
..
AbstractMachine LibWasm: Add runtime checks to nostack br/br_if 2026-05-27 09:52:34 +02:00
Parser LibWasm: Store try_table catches out of line 2026-05-14 12:19:38 +02:00
Printer LibWasm: Store try_table catches out of line 2026-05-14 12:19:38 +02:00
Rust LibWasm: Store opcodes in 32 bits 2026-05-14 12:19:38 +02:00
Tests LibWasm: Fix “return” leaking intermediate value-stack entries to caller 2026-05-25 09:00:44 +02:00
WASI LibWasm: Split parameters from locals 2026-02-02 14:11:49 +01:00
CMakeLists.txt LibWasm+Meta: Add Cranelift AOT compilation backend 2026-05-10 16:41:42 +02:00
Constants.h LibWasm: Parse and validate array types 2026-02-10 13:00:16 +01:00
CraneliftBridge.cpp LibWasm: Tighten the cranelift direct-call lookup paths 2026-05-27 09:52:34 +02:00
CraneliftStubs.cpp LibWasm+Meta: Add Cranelift AOT compilation backend 2026-05-10 16:41:42 +02:00
Forward.h LibWasm: Prepare for VM and direct function calls 2026-05-10 16:41:42 +02:00
Opcode.h LibWasm: Store opcodes in 32 bits 2026-05-14 12:19:38 +02:00
Types.h LibWasm: Store try_table catches out of line 2026-05-14 12:19:38 +02:00
Wasi.h Everywhere: Slap some [[clang::lifetimebound]] where appropriate 2025-09-01 11:11:38 +02:00