1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 00:57:43 +00:00
serenity/DevTools/UserspaceEmulator
Andreas Kling 0b287c18b9 UserspaceEmulator: Implement the execve() syscall :^)
This virtual syscall works by exec'ing the UserspaceEmulator itself,
with the emulated program's provided arguments as the arguments to the
new UserspaceEmulator instance.

This means that we "follow" exec'ed programs and emulate them as well.
In the future we might want to make this an opt-in (or opt-out, idk)
behavior, but for now it's what we do.

This is really quite cool, I think! :^)
2020-07-27 19:10:18 +02:00
..
CMakeLists.txt UserspaceEmulator: Show file and line numbers in backtraces :^) 2020-07-21 19:08:01 +02:00
Emulator.cpp UserspaceEmulator: Implement the execve() syscall :^) 2020-07-27 19:10:18 +02:00
Emulator.h UserspaceEmulator: Implement the execve() syscall :^) 2020-07-27 19:10:18 +02:00
main.cpp UserspaceEmulator: Transfer the environment to the emulated process 2020-07-27 15:57:12 +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: Mark SimpleRegions as initialized up front for now 2020-07-27 13:40:36 +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