ladybird/DevTools/UserspaceEmulator
Andreas Kling 31b94114c0 UserspaceEmulator: Recognize xor/sub zeroing idioms and don't taint
"xor reg,reg" or "sub reg,reg" both zero out the register, which means
we know for sure the result is 0. So mark the value as initialized,
and make sure we don't taint the CPU flags.

This removes some false positives from the uninitialized memory use
detection mechanism.

Fixes #2850.
2020-07-27 13:20:23 +02:00
..
CMakeLists.txt UserspaceEmulator: Show file and line numbers in backtraces :^) 2020-07-21 19:08:01 +02:00
Emulator.cpp UserspaceEmulator: Tweak some output strings 2020-07-21 23:35:09 +02:00
Emulator.h UserspaceEmulator: Show file and line numbers in backtraces :^) 2020-07-21 19:08:01 +02:00
main.cpp UserspaceEmulator: Pass arguments through to emulated process 2020-07-13 13:50:22 +02:00
MallocTracer.cpp UserspaceEmulator: Tweak some output strings 2020-07-21 23:35:09 +02:00
MallocTracer.h UserspaceEmulator: Capture backtraces of malloc/free events 2020-07-16 19:21:45 +02:00
MmapRegion.cpp UserspaceEmulator: Mark mmap and shbuf regions as initialized up front 2020-07-21 16:28:44 +02:00
MmapRegion.h UserspaceEmulator+LibX86: Start tracking uninitialized memory :^) 2020-07-21 02:37:29 +02:00
SharedBufferRegion.cpp UserspaceEmulator: Mark mmap and shbuf regions as initialized up front 2020-07-21 16:28:44 +02:00
SharedBufferRegion.h UserspaceEmulator+LibX86: Start tracking uninitialized memory :^) 2020-07-21 02:37:29 +02:00
SimpleRegion.cpp UserspaceEmulator+LibX86: Start tracking uninitialized memory :^) 2020-07-21 02:37:29 +02:00
SimpleRegion.h UserspaceEmulator+LibX86: Start tracking uninitialized memory :^) 2020-07-21 02:37:29 +02:00
SoftCPU.cpp UserspaceEmulator: Recognize xor/sub zeroing idioms and don't taint 2020-07-27 13:20:23 +02:00
SoftCPU.h UserspaceEmulator: Recognize xor/sub zeroing idioms and don't taint 2020-07-27 13:20:23 +02:00
SoftMMU.cpp UserspaceEmulator+LibX86: Start tracking uninitialized memory :^) 2020-07-21 02:37:29 +02:00
SoftMMU.h UserspaceEmulator+LibX86: Start tracking uninitialized memory :^) 2020-07-21 02:37:29 +02:00
ValueWithShadow.h UserspaceEmulator: Recognize xor/sub zeroing idioms and don't taint 2020-07-27 13:20:23 +02:00