1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:47:44 +00:00
serenity/Userland/Libraries/LibX86
Thomas Mangin 34508c0b01 LibX86: sanity check for Instruction read size
During "Emulator hacking: Let's make the userspace emulator go faster!",
the switch implented in read() was inlined (toward the end of the video).

This patch restore the assert check for any read other than 8, 16 or 32
bits was lost during the code conversion.
2021-01-31 19:06:24 +01:00
..
CMakeLists.txt Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Disassembler.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ELFSymbolProvider.h Libraries: Add missing headers 2021-01-22 21:49:54 +01:00
Instruction.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Instruction.h LibX86: sanity check for Instruction read size 2021-01-31 19:06:24 +01:00
Interpreter.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00