1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 16:48:12 +00:00
serenity/Userland/Libraries/LibELF
Daniel Bertalan e0e3198d51 LibELF: Fix 'applying offset produced null pointer' UBSAN failure
These integer => pointer => integer conversions were technically prone
to UB, since they were used as offsets (which are perfectly fine to be
zero), but we calculated them with pointer arithmetic. This made Clang
insert pointer overflow UBSAN checks, which trigger in case of a zero
result.
2021-08-09 23:15:48 +02:00
..
Arch LibELF: Make sure calls to _fixup_plt_entry use a properly aligned stack 2021-07-10 01:41:57 +02:00
AuxiliaryVector.h Kernel: Properly set up the userland context for new processes on x86_64 2021-06-28 22:29:28 +02:00
CMakeLists.txt LibELF+LibTest: Fix serenity_install_sources() paths 2021-03-15 09:06:10 +01:00
CoreDump.h LibELF+Utilities: Avoid truncating 64-bit values 2021-07-22 08:57:01 +02:00
DynamicLinker.cpp LibELF/DynamicLinker: Evaluate symbols in library insertion order (#8802) 2021-07-16 11:55:01 +02:00
DynamicLinker.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DynamicLoader.cpp LibELF: Fix 'applying offset produced null pointer' UBSAN failure 2021-08-09 23:15:48 +02:00
DynamicLoader.h LibELF: Swap the arguments for negative_offset_from_tls_block_end 2021-07-04 01:07:28 +02:00
DynamicObject.cpp LibELF: Implement support for RELA relocations 2021-07-01 10:50:00 +02:00
DynamicObject.h LibELF+Utilities: Avoid truncating 64-bit values 2021-07-22 08:57:01 +02:00
Hashes.h AK+Userland: Use akaster@serenityos.org for my copyright headers 2021-05-30 14:35:34 +01:00
Image.cpp LibELF+Utilities: Avoid truncating 64-bit values 2021-07-22 08:57:01 +02:00
Image.h LibELF+Utilities: Avoid truncating 64-bit values 2021-07-22 08:57:01 +02:00
Relocation.cpp LibELF: Fix unaligned writes in the relocation code 2021-07-27 13:15:16 +02:00
Relocation.h DynamicLoader+LibELF: Move self-relocation code into a separate file 2021-07-27 13:15:16 +02:00
Validation.cpp LibELF: Check for missing PT_LOAD alignment header value 2021-07-01 10:50:49 +02:00
Validation.h Kernel+LibELF: Add support for validating and loading ELF64 executables 2021-06-28 22:29:28 +02:00