serenity/DevTools/UserspaceEmulator
Nico Weber 993ceb66fd UserspaceEmulator: Fix off-by-one in code cache access
m_cached_code_end points at the first invalid byte, so we need to
update the cache if the last byte we want to read points at the
end or past it.  Previously we updated the cache 1 byte prematurely in
read16, read32, read64 (but not in read8).

Noticed by reading the code (the code looked different from read8() and
the other 3).  I didn't find anything that actually hit this case.
2020-09-23 21:00:28 +02:00
..
CMakeLists.txt UserspaceEmulator: Set the process and thread name to "(UE) Executable" 2020-07-27 19:10:18 +02:00
Emulator.cpp UserspaceEmulator: Support all msg_iovlens in recvmsg and sendmsg 2020-09-19 00:39:05 +02:00
Emulator.h Kernel+LibC+UserspaceEmulator: Mostly add recvmsg(), sendmsg() 2020-09-17 17:23:01 +02:00
main.cpp Userland: Use find_executable_in_path in UserspaceEmulator. 2020-09-16 19:39:17 +02:00
MallocTracer.cpp UserspaceEmulator: Extra format arguments in MallocTracker, found by Coverity 2020-08-17 09:17:57 +02:00
MallocTracer.h UserspaceEmulator: Report heap buffer overflows :^) 2020-08-01 09:44:19 +02:00
MmapRegion.cpp UserspaceEmulator+LibX86: Add support for 64-bit memory reads and writes (#3584) 2020-09-23 20:45:43 +02:00
MmapRegion.h UserspaceEmulator+LibX86: Add support for 64-bit memory reads and writes (#3584) 2020-09-23 20:45:43 +02:00
SharedBufferRegion.cpp UserspaceEmulator+LibX86: Add support for 64-bit memory reads and writes (#3584) 2020-09-23 20:45:43 +02:00
SharedBufferRegion.h UserspaceEmulator+LibX86: Add support for 64-bit memory reads and writes (#3584) 2020-09-23 20:45:43 +02:00
SimpleRegion.cpp UserspaceEmulator+LibX86: Add support for 64-bit memory reads and writes (#3584) 2020-09-23 20:45:43 +02:00
SimpleRegion.h UserspaceEmulator+LibX86: Add support for 64-bit memory reads and writes (#3584) 2020-09-23 20:45:43 +02:00
SoftCPU.cpp UserspaceEmulator+LibX86: Add support for 64-bit memory reads and writes (#3584) 2020-09-23 20:45:43 +02:00
SoftCPU.h UserspaceEmulator: Fix off-by-one in code cache access 2020-09-23 21:00:28 +02:00
SoftMMU.cpp UserspaceEmulator+LibX86: Add support for 64-bit memory reads and writes (#3584) 2020-09-23 20:45:43 +02:00
SoftMMU.h UserspaceEmulator+LibX86: Add support for 64-bit memory reads and writes (#3584) 2020-09-23 20:45:43 +02:00
ValueWithShadow.h UserspaceEmulator+LibX86: Add support for 64-bit memory reads and writes (#3584) 2020-09-23 20:45:43 +02:00