1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 20:55:07 +00:00
serenity/Userland/Libraries/LibELF
Brian Gianforcaro d347432a9e LibELF: Use member initialization for AuxiliaryVector::optional_string
When the member is initialized in the constructor body, but also has a
default constructor, you pay for default construction to just throw it
away. In this case a StringView is light weight to initialize, but we
might as well fix all cases we find.

Found by PVS-Studio: https://pvs-studio.com/en/docs/warnings/v818/
2021-10-10 13:48:04 +02:00
..
Arch CMake: Let Meta/serenity.sh run aarch64 make it past cmake 2021-08-28 14:43:07 +01:00
AuxiliaryVector.h LibELF: Use member initialization for AuxiliaryVector::optional_string 2021-10-10 13:48:04 +02:00
CMakeLists.txt LibELF+LibTest: Fix serenity_install_sources() paths 2021-03-15 09:06:10 +01:00
Core.h Everywhere: Core dump => Coredump 2021-08-23 00:02:09 +02:00
DynamicLinker.cpp LibELF: Fix dynamic linking of dlopen()-ed libs 2021-10-06 12:33:21 +02:00
DynamicLinker.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DynamicLoader.cpp LibELF: Name non-executable map regions ".rodata" instead of ".text" 2021-09-04 20:30:56 +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: Indicate value of unimplemented dtag 2021-09-26 12:45:55 +02:00
DynamicObject.h LibELF+readelf: Remove duplicated dtag->string map 2021-09-26 12:45:55 +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: Use default instead of an empty constructor/destructor 2021-09-16 17:17:13 +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: Allow (but ignore) PT_LOAD headers with zero size 2021-08-31 16:46:16 +02:00
Validation.h Kernel+LibELF: Add support for validating and loading ELF64 executables 2021-06-28 22:29:28 +02:00