1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:58:13 +00:00
serenity/DevTools/UserspaceEmulator
Andreas Kling 2fceffff6f UserspaceEmulator: Track malloc ChunkedBlocks for faster auditing
Instead of doing an O(n) scan over all the mallocations whenever we're
doing a read/write audit, UE now keeps track of ChunkedBlocks and their
chunks. Both the block lookup and the chunk lookup is O(1).

We know what ChunkedBlocks look like via mallocdefs.h from LibC.

Note that the old linear scan is still in use for big mallocations,
but the vast majority of mallocations are chunked, so this helps a lot.

This makes malloc auditing significantly faster! :^)
2020-11-14 22:51:58 +01:00
..
CMakeLists.txt UserspaceEmulator: Set the process and thread name to "(UE) Executable" 2020-07-27 19:10:18 +02:00
Emulator.cpp UserspaceEmulator: Honor the read/write/execute bits in mmap regions 2020-11-14 15:33:56 +01:00
Emulator.h UserspaceEmulator: Emulate the sys$get_stack_bounds() syscall 2020-11-13 11:05:46 +01:00
main.cpp UserspaceEmulator: Optionally write reports to the debug log 2020-10-25 10:13:03 +01:00
MallocTracer.cpp UserspaceEmulator: Track malloc ChunkedBlocks for faster auditing 2020-11-14 22:51:58 +01:00
MallocTracer.h UserspaceEmulator: Track malloc ChunkedBlocks for faster auditing 2020-11-14 22:51:58 +01:00
MmapRegion.cpp UserspaceEmulator: Optionally write reports to the debug log 2020-10-25 10:13:03 +01:00
MmapRegion.h UserspaceEmulator: Honor the read/write/execute bits in mmap regions 2020-11-14 15:33:56 +01:00
Report.h UserspaceEmulator: Optionally write reports to the debug log 2020-10-25 10:13:03 +01:00
SharedBufferRegion.cpp UserspaceEmulator+LibX86: Add support for 64-bit memory reads and writes (#3584) 2020-09-23 20:45:43 +02:00
SharedBufferRegion.h UserspaceEmulator+LibX86: Add support for 64-bit memory reads and writes (#3584) 2020-09-23 20:45:43 +02:00
SimpleRegion.cpp UserspaceEmulator+LibX86: Add support for 64-bit memory reads and writes (#3584) 2020-09-23 20:45:43 +02:00
SimpleRegion.h UserspaceEmulator+LibX86: Add support for 64-bit memory reads and writes (#3584) 2020-09-23 20:45:43 +02:00
SoftCPU.cpp UserspaceEmulator: Implement FISUB_RM32 2020-11-14 15:34:53 +01:00
SoftCPU.h UserspaceEmulator: Initial FPU support (by @nico) 2020-11-13 11:05:46 +01:00
SoftMMU.cpp UserspaceEmulator: Honor the read/write/execute bits in mmap regions 2020-11-14 15:33:56 +01:00
SoftMMU.h UserspaceEmulator: Honor the read/write/execute bits in mmap regions 2020-11-14 15:33:56 +01:00
ValueWithShadow.h AK+Format: Do some housekeeping in the format implementation. 2020-10-02 20:48:19 +02:00