1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00
serenity/Userland/Libraries/LibWasm
Andrew Kaster 2af591267c LibWasm: Adjust signed integer operations to avoid UB
Perform signed integer shifts, addition, subtraction, and rotations
using their corresponding unsigned type. Additionally, mod the right
hand side of shifts and rotations by the bit width of the integer per
the spec. This seems strange, but the spec is clear on the desired
wrapping behavior of arithmetic operations.
2021-07-12 18:42:45 +04:30
..
AbstractMachine LibWasm: Adjust signed integer operations to avoid UB 2021-07-12 18:42:45 +04:30
Parser AK: Rename Vector::append(Vector) => Vector::extend(Vector) 2021-06-12 13:24:45 +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: Use AK::StackInfo to track stack size 2021-07-12 18:42:45 +04:30
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