ladybird/Userland/Libraries/LibELF
Andreas Kling 68576bcf1b LibELF: Call mmap() before constructing the DynamicLoader object
Refactor DynamicLoader construction with a try_create() helper so that
we can call mmap() before making a loader. This way the loader doesn't
need to have an "mmap failed" state.

This patch also takes care of determining the ELF file size in
try_create() instead of expecting callers to provide it.
2021-01-31 11:06:00 +01:00
..
Arch/i386 Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
AuxiliaryVector.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
CMakeLists.txt Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
CoreDump.h Kernel: Set "pledge_violation" coredump metadata in REQUIRE_PROMISE() 2021-01-20 21:01:15 +01:00
DynamicLinker.cpp LibELF: Call mmap() before constructing the DynamicLoader object 2021-01-31 11:06:00 +01:00
DynamicLinker.h LibELF: Use Optional<SymbolLookupResult> as a return type 2021-01-25 18:57:06 +01:00
DynamicLoader.cpp LibELF: Call mmap() before constructing the DynamicLoader object 2021-01-31 11:06:00 +01:00
DynamicLoader.h LibELF: Call mmap() before constructing the DynamicLoader object 2021-01-31 11:06:00 +01:00
DynamicObject.cpp LibELF: Use Optional<SymbolLookupResult> as a return type 2021-01-25 18:57:06 +01:00
DynamicObject.h LibELF: Use Optional<SymbolLookupResult> as a return type 2021-01-25 18:57:06 +01:00
exec_elf.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Image.cpp LibELF: Avoid quadratic memory usage weakness 2021-01-30 09:25:02 +01:00
Image.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Validation.cpp LibELF: Add a bunch of overflow checks in ELF validation 2021-01-30 13:54:24 +01:00
Validation.h Libraries: Add missing headers 2021-01-22 21:49:54 +01:00