1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:17:35 +00:00
serenity/DevTools/UserspaceEmulator
Andreas Kling ae1d14bc7a UserspaceEmulator: Load the target executable ELF semi-properly :^)
This patch adds a basic ELF program loader to the UserspaceEmulator and
creates MMU regions for each PT_LOAD header. (Note that we don't yet
respect the R/W/X flags etc.)

We also turn the SoftCPU into an X86::InstructionStream and give it an
EIP register so we can actually execute code by fetching memory through
our MMU abstraction.
2020-07-11 16:45:48 +02:00
..
CMakeLists.txt UserspaceEmulator: Start sketching out a SoftMMU class :^) 2020-07-09 16:18:47 +02:00
Emulator.cpp UserspaceEmulator: Load the target executable ELF semi-properly :^) 2020-07-11 16:45:48 +02:00
Emulator.h UserspaceEmulator: Load the target executable ELF semi-properly :^) 2020-07-11 16:45:48 +02:00
main.cpp UserspaceEmulator: Load the target executable ELF semi-properly :^) 2020-07-11 16:45:48 +02:00
SoftCPU.cpp UserspaceEmulator: Load the target executable ELF semi-properly :^) 2020-07-11 16:45:48 +02:00
SoftCPU.h UserspaceEmulator: Load the target executable ELF semi-properly :^) 2020-07-11 16:45:48 +02:00
SoftMMU.cpp UserspaceEmulator: Warn in SoftMMU if accessing unknown memory 2020-07-10 20:29:44 +02:00
SoftMMU.h UserspaceEmulator: Add 8/16 bit memory read/write operations 2020-07-10 20:20:27 +02:00