ladybird/Userland/Libraries/LibELF
sin-ack ef6921d7c7 Kernel+LibC+LibELF: Set stack size based on PT_GNU_STACK during execve
Some programs explicitly ask for a different initial stack size than
what the OS provides. This is implemented in ELF by having a
PT_GNU_STACK header which has its p_memsz set to the amount that the
program requires. This commit implements this policy by reading the
p_memsz of the header and setting the main thread stack size to that.
ELF::Image::validate_program_headers ensures that the size attribute is
a reasonable value.
2022-12-11 19:55:37 -07: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 Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
DynamicLinker.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
DynamicLinker.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
DynamicLoader.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
DynamicLoader.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
DynamicObject.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
DynamicObject.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Hashes.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Image.cpp Kernel+LibC+LibELF: Set stack size based on PT_GNU_STACK during execve 2022-12-11 19:55:37 -07:00
Image.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +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 Kernel+LibC+LibELF: Set stack size based on PT_GNU_STACK during execve 2022-12-11 19:55:37 -07:00
Validation.h LibELF: Remove unused m_program_interpreter member from DynamicLoader 2022-03-31 10:18:07 +02:00