1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 21:35:06 +00:00
serenity/Userland/Libraries/LibWasm/AbstractMachine
Ali Mohammad Pur eccdf4eb4b LibWasm: Fix validation of if-else blocks
We were doing a number of things wrong:
- Switching to the parent context in the else meant that we couldn't
  break out of the else section anymore
- We were not validating the resulting values, and so the stack was
  in a relatively unknown state after 'else'

This commit fixes these issues :^)
2022-02-16 22:48:32 +03:30
..
AbstractMachine.cpp LibWasm: Make MemoryInstance allocation fail if initial growth fails 2022-02-16 22:48:32 +03:30
AbstractMachine.h LibWasm: Make MemoryInstance allocation fail if initial growth fails 2022-02-16 22:48:32 +03:30
BytecodeInterpreter.cpp Everywhere: Fix many spelling errors 2022-01-07 10:56:59 +01:00
BytecodeInterpreter.h LibWasm: Implement memory.init and passive mode data 2021-12-21 05:03:44 +03:30
Configuration.cpp LibWasm: Avoid making StringView of temporary ByteBuffer 2021-09-11 13:22:51 +03:00
Configuration.h LibWasm: Replace the numeric operation macros with templated functions 2021-08-12 21:03:53 +02:00
Interpreter.h LibWasm: Give traps a reason and display it when needed 2021-07-02 04:53:01 +04:30
Operators.h AK+Everywhere: Replace __builtin bit functions 2021-12-21 22:13:51 +01:00
Validator.cpp LibWasm: Fix validation of if-else blocks 2022-02-16 22:48:32 +03:30
Validator.h LibWasm: Fix validation of if-else blocks 2022-02-16 22:48:32 +03:30