1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:18:11 +00:00
serenity/Userland/Libraries/LibWasm
Ali Mohammad Pur b64d6bb3a3 LibWasm: Limit the number of function locals
It's possible for the module to request too many locals, we now reject
such modules instead of trying to allocate space for them.
The value itself is chosen arbitrarily, so future tweaks _might_ be
necessary.
Found by OSS-Fuzz: https://oss-fuzz.com/testcase?key=4755809098661888
2021-08-31 16:37:49 +02:00
..
AbstractMachine LibWasm: Make the Truncate operator trap on undefined results 2021-08-30 22:47:02 +02:00
Parser LibWasm: Limit the number of function locals 2021-08-31 16:37:49 +02:00
Printer LibWasm: Jump to the default label in br_table with negative values 2021-07-06 17:55:00 +04:30
Tests Meta+LibWasm: Add support for module linking tests 2021-06-22 00:26:25 +04:30
CMakeLists.txt LibWasm: Remove empty AbstractMachine/Interpreter.cpp 2021-06-20 01:49:56 +01:00
Constants.h LibWasm: Limit the number of function locals 2021-08-31 16:37:49 +02:00
Opcode.h LibWasm: Parse the "extend" set of instructions 2021-06-02 16:09:16 +04:30
Types.h LibWasm+wasm: Switch to east-const to comply with project style 2021-06-04 16:07:42 +04:30