1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:28:11 +00:00
serenity/Userland/DevTools/UserspaceEmulator
Andreas Kling c192b6c61d Emulator: Use libc.so bounds to fast-reject non-malloc addresses
The auditing code always starts by checking if we're in one of the
ignored code ranges (malloc, free, realloc, syscall, etc.)

To reduce the number of checks needed, we can cache the bounds of
the LibC text segment. This allows us to fast-reject addresses that
cannot possibly be a LibC function.
2021-03-09 15:01:08 +01:00
..
CMakeLists.txt UserspaceEmulator: Implement a proper VM allocator 2021-02-06 23:15:44 +01:00
Emulator.cpp Emulator: Use libc.so bounds to fast-reject non-malloc addresses 2021-03-09 15:01:08 +01:00
Emulator.h Emulator: Use libc.so bounds to fast-reject non-malloc addresses 2021-03-09 15:01:08 +01:00
main.cpp UserspaceEmulator: Improve error message for typos 2021-01-23 16:47:09 +01:00
MallocTracer.cpp UserspaceEmulator: Don't set the MmapRegion malloc-block bit too early 2021-03-09 13:57:17 +01:00
MallocTracer.h UserspaceEmulator: Don't assume entire malloc block is chunked 2021-03-09 13:29:41 +01:00
MmapRegion.cpp UserspaceEmulator: Remember VM region names for MAP_ANONYMOUS 2021-03-09 11:31:18 +01:00
MmapRegion.h UserspaceEmulator: Remember VM region names for MAP_ANONYMOUS 2021-03-09 11:31:18 +01:00
Range.cpp UserspaceEmulator: Enable splitting regions at arbitrary points 2021-03-08 22:57:36 +01:00
Range.h UserspaceEmulator: Enable splitting regions at arbitrary points 2021-03-08 22:57:36 +01:00
RangeAllocator.cpp UserspaceEmulator: Honor alignment requests in virt$mmap(MAP_RANDOMIZED) 2021-03-09 14:42:49 +01:00
RangeAllocator.h UserspaceEmulator: Implement a proper VM allocator 2021-02-06 23:15:44 +01:00
Region.cpp UserspaceEmulator: Implement a proper VM allocator 2021-02-06 23:15:44 +01:00
Region.h UserspaceEmulator: Enable splitting regions at arbitrary points 2021-03-08 22:57:36 +01:00
Report.h UserspaceEmulator: Use vdbgln() instead of dbgln() when reporting 2021-02-08 18:08:55 +01:00
SimpleRegion.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
SimpleRegion.h DevTools: Move to Userland/DevTools/ 2021-01-12 12:18:55 +01:00
SoftCPU.cpp UserspaceEmulator: Support FLDL2E / FLDPI, fix typos, use M_LN2 constant 2021-03-09 14:57:55 +01:00
SoftCPU.h UserspaceEmulator+LibC: Use sys$emuctl() to pass malloc info to UE 2021-03-09 11:31:18 +01:00
SoftMMU.cpp UserspaceEmulator: Keep the MMU regions list sorted 2021-03-09 11:31:18 +01:00
SoftMMU.h UserspaceEmulator: Support munmap/mprotect with partial mappings 2021-03-08 22:57:36 +01:00
ValueWithShadow.h DevTools: Move to Userland/DevTools/ 2021-01-12 12:18:55 +01:00