1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:18:11 +00:00
serenity/Userland/Libraries/LibELF
Itamar 7bd796b7e3 LibELF: Perform verification of TLS data in dlopen
When loading a library at runtime with dlopen(), we now check that:
1. The library's TLS size does not overflow the size of the allocated
TLS block.
2. The Library's TLS data is all zeroed.

We check for both of these cases because we currently do not support
them correctly. When we do add support for them, we can remove these
checks.
2021-04-30 18:47:39 +02:00
..
Arch/i386 LibC: Remove text relocation 2021-02-19 09:04:05 +01:00
AuxiliaryVector.h Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
CMakeLists.txt LibELF+LibTest: Fix serenity_install_sources() paths 2021-03-15 09:06:10 +01:00
CoreDump.h Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00
DynamicLinker.cpp LibELF: Perform verification of TLS data in dlopen 2021-04-30 18:47:39 +02:00
DynamicLinker.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DynamicLoader.cpp LibELF: Change TLS offset calculation 2021-04-30 18:47:39 +02:00
DynamicLoader.h LibELF: Change TLS offset calculation 2021-04-30 18:47:39 +02:00
DynamicObject.cpp LibELF: Change TLS offset calculation 2021-04-30 18:47:39 +02:00
DynamicObject.h LibELF: Change TLS offset calculation 2021-04-30 18:47:39 +02:00
Hashes.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Image.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Image.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Validation.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Validation.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00