1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 09:07:35 +00:00
serenity/Userland/DevTools/UserspaceEmulator
Daniel Bertalan c1d6637dc7 UserspaceEmulator: Make symbolication work when .text isn't the first
... segment

This happens with binaries build with Clang or with a custom linker
script. If this is the case, offsets should be calculated not from the
base address of `.text`, but from the first section loaded for the
library.

This commit moves all UserspaceEmulator symbolication into a common
helper function and fixes a FIXME.
2021-08-08 10:55:36 +02:00
..
CMakeLists.txt UserspaceEmulator: Move to using the new SoftFPU 2021-07-22 23:33:21 +02:00
Emulator.cpp UserspaceEmulator: Make symbolication work when .text isn't the first 2021-08-08 10:55:36 +02:00
Emulator.h UserspaceEmulator: Make symbolication work when .text isn't the first 2021-08-08 10:55:36 +02:00
Emulator_syscalls.cpp UserspaceEmulator: Optionally generate a Profiler-compatible profile 2021-08-06 01:14:03 +02:00
main.cpp UserspaceEmulator: Optionally generate a Profiler-compatible profile 2021-08-06 01:14:03 +02:00
MallocTracer.cpp Userland: Replace VERIFY(is<T>) with verify_cast<T> 2021-06-24 21:13:09 +02:00
MallocTracer.h LibC+UE: Keep more unused chunked blocks around 2021-05-23 19:31:39 +02:00
MmapRegion.cpp UserpaceEmulator: Handle possibly unaligned IO 2021-07-14 11:26:34 +04:30
MmapRegion.h UserspaceEmulator: Make symbolication work when .text isn't the first 2021-08-08 10:55:36 +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