1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-16 14:51:00 +00:00
serenity/DevTools/UserspaceEmulator
Andreas Kling e634fe6072 UserspaceEmulator: Warn on conditional op with uninitialized dependency
We now track whether the flags register is tainted by the use of one or
more uninitialized values in a computation.

For now, the state is binary; the flags are either tainted or not.
We could be more precise about this and only taint the specific flags
that get updated by each instruction, but I think this will already get
us 99% of the results we want. :^)
2020-07-21 16:40:09 +02:00
..
CMakeLists.txt UserspaceEmulator: Catch use-after-frees by tracking malloc/free :^) 2020-07-15 23:25:20 +02:00
Emulator.cpp UserspaceEmulator: Mark the full initial TCB as initialized memory 2020-07-21 16:27:54 +02:00
Emulator.h UserspaceEmulator: Add the get_dir_entries() syscall + an ioctl() stub 2020-07-18 17:57:40 +02:00
main.cpp UserspaceEmulator: Pass arguments through to emulated process 2020-07-13 13:50:22 +02:00
MallocTracer.cpp UserspaceEmulator+LibX86: Start tracking uninitialized memory :^) 2020-07-21 02:37:29 +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: Warn on conditional op with uninitialized dependency 2020-07-21 16:40:09 +02:00
SoftCPU.h UserspaceEmulator: Warn on conditional op with uninitialized dependency 2020-07-21 16:40:09 +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+LibX86: Start tracking uninitialized memory :^) 2020-07-21 02:37:29 +02:00