1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 11:27:35 +00:00
serenity/Userland/DevTools/UserspaceEmulator
Daniel Bertalan bfe5509a28 UserspaceEmulator: Prefix MmapRegions' name with '(UE)'
When printing a backtrace, each library's base address is found by
walking through all memory regions in the coredump, and selecting the
address of the first region whose name begins with the library's soname.
This is done to support the Clang toolchain, where .text is not at
offset 0.

However, because the libraries loaded by the emulated process used the
same names, we could not distinguish those with the ones used by
UserspaceEmulator, so the backtrace ended up being garbage.

Using the libraries mapped by UE would not be a sufficient, as the
running application could ask for other libraries too, and doing away
with setting names would make debugging issues within UE code more
difficult.
2021-08-14 18:42:14 +02:00
..
CMakeLists.txt UserspaceEmulator: Move to using the new SoftFPU 2021-07-22 23:33:21 +02:00
Emulator.cpp UserspaceEmulator: Move all the profiling details into the Emulator 2021-08-10 05:13:44 +04:30
Emulator.h Kernel+UserspaceEmulator: Remove unused sys$gettimeofday() 2021-08-10 13:01:39 +02:00
Emulator_syscalls.cpp UserspaceEmulator: Fail sys$map_time_page() with ENOSYS for now 2021-08-10 19:21:16 +02:00
EmulatorControl.h UserspaceEmulator+LibC: Add support for Region-of-Interest profiling 2021-08-10 05:13:44 +04:30
main.cpp UserspaceEmulator: Move all the profiling details into the Emulator 2021-08-10 05:13:44 +04:30
MallocTracer.cpp Everywhere: Use tobyase@serenityos.org for my copyright headers 2021-08-09 21:43:05 +02:00
MallocTracer.h LibC+UE: Keep more unused chunked blocks around 2021-05-23 19:31:39 +02:00
MmapRegion.cpp UserspaceEmulator: Prefix MmapRegions' name with '(UE)' 2021-08-14 18:42:14 +02:00
MmapRegion.h UserspaceEmulator: Prefix MmapRegions' name with '(UE)' 2021-08-14 18:42:14 +02:00
Range.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Range.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RangeAllocator.cpp Everywhere: Sort out superfluous QuickSort.h imports 2021-05-29 23:41:54 +01:00
RangeAllocator.h DevTools: Remove redundant default destructor and forward declarations 2021-05-21 22:53:33 +01:00
Region.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Region.h AK+LibX86: Generalize u128/256 to AK::UFixedBigInt 2021-06-11 18:14:11 +04:30
Report.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SimpleRegion.cpp UserpaceEmulator: Handle possibly unaligned IO 2021-07-14 11:26:34 +04:30
SimpleRegion.h UE+LibX86: Support bigger reads and writes 2021-04-23 22:50:53 +02:00
SoftCPU.cpp DevTools: Remove unused header includes 2021-08-01 08:10:16 +02:00
SoftCPU.h UserspaceEmulator: Move to using the new SoftFPU 2021-07-22 23:33:21 +02:00
SoftFPU.cpp UserspaceEmulator: Implement SoftFPU instructions 2021-07-22 23:33:21 +02:00
SoftFPU.h UserspaceEmulator: Sketch out a SoftFPU interface 2021-07-22 23:33:21 +02:00
SoftMMU.cpp Userland: Replace VERIFY(is<T>) with verify_cast<T> 2021-06-24 21:13:09 +02:00
SoftMMU.h UserspaceEmulator: Make symbolication work when .text isn't the first 2021-08-08 10:55:36 +02:00
ValueWithShadow.h AK+LibX86: Generalize u128/256 to AK::UFixedBigInt 2021-06-11 18:14:11 +04:30