1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:18:13 +00:00
serenity/Userland/Libraries/LibELF
Daniel Bertalan 7aca408993 LibELF: Fail gracefully when IFUNC resolver's object has textrels
.text sections of objects that contain textrels have to be writable
during the relocation procedure. Because of this, we would segfault if
we tried to execute IFUNC resolvers defined in them. Let's print a
meaningful error message instead.

Additionally, a warning is now printed when we load objects with
textrels, as in the future, additional security mitigations might
interfere with them being loaded.
2022-05-01 12:42:01 +02:00
..
Arch LibELF: Store SSE registers in x86_64 PLT Trampoline 2021-10-31 00:21:31 +02:00
AuxiliaryVector.h Kernel+LibELF+LibVT: Remove unused AK::String header includes 2022-02-16 22:21:37 +01:00
CMakeLists.txt LibELF+LibTest: Fix serenity_install_sources() paths 2021-03-15 09:06:10 +01:00
Core.h LibELF: Exclude MemoryRegionInfo::object_name() from the Kernel 2022-02-16 22:21:37 +01:00
DynamicLinker.cpp LibELF: Add support for IFUNCs 2022-05-01 12:42:01 +02:00
DynamicLinker.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
DynamicLoader.cpp LibELF: Fail gracefully when IFUNC resolver's object has textrels 2022-05-01 12:42:01 +02:00
DynamicLoader.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
DynamicObject.cpp LibELF: Add support for IFUNCs 2022-05-01 12:42:01 +02:00
DynamicObject.h LibELF: Add support for IFUNCs 2022-05-01 12:42:01 +02:00
Hashes.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Image.cpp LibELF: Add support for IFUNCs 2022-05-01 12:42:01 +02:00
Image.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Relocation.cpp LibELF: Implement support for DT_RELR relative relocations 2022-02-11 18:07:53 +01:00
Relocation.h Kernel+LibELF+LibVT: Remove unused AK::String header includes 2022-02-16 22:21:37 +01:00
Validation.cpp LibELF: Relax restriction on allowed values of EI_OSABI to allow GNU 2022-05-01 12:42:01 +02:00
Validation.h LibELF: Remove unused m_program_interpreter member from DynamicLoader 2022-03-31 10:18:07 +02:00