ladybird/Libraries/LibELF
Andreas Kling 780c64e1f0 LibELF: Fix ELF::Image::symbol_count() asserting on section-less ELF
If we have no sections, we also have no symbols, so just return 0.

Found by oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28683
2020-12-21 18:37:53 +01:00
..
Arch/i386 LibELF: Re-organize ELFDynamicObject::load and add PLT trampoline 2020-01-01 23:54:06 +01:00
AuxiliaryVector.h Kernel: Add ability to load interpreter instead of main program 2020-12-14 23:05:53 +01:00
CoreDump.h LibELF: Refactor coredump notes section structures 2020-12-14 23:05:53 +01:00
DynamicLoader.cpp Everywhere: Switch from (void) to [[maybe_unused]] (#4473) 2020-12-21 00:09:48 +01:00
DynamicLoader.h Loader: Stabilize loader & Use shared libraries everywhere :^) 2020-12-14 23:05:53 +01:00
DynamicObject.cpp LibC: Link statically with libstdc++ 2020-12-14 23:05:53 +01:00
DynamicObject.h Loader: Stabilize loader & Use shared libraries everywhere :^) 2020-12-14 23:05:53 +01:00
exec_elf.h Loader: Add dynamic loader program 2020-12-14 23:05:53 +01:00
Image.cpp LibELF: Fix ELF::Image::symbol_count() asserting on section-less ELF 2020-12-21 18:37:53 +01:00
Image.h LibELF+LibDebug: Remove use of ByteBuffer::wrap() 2020-12-19 13:14:00 +01:00
Loader.cpp LibELF: Move the implementation of find_demangled_function to ELF::Image 2020-12-14 23:05:53 +01:00
Loader.h LibELF: Move the implementation of find_demangled_function to ELF::Image 2020-12-14 23:05:53 +01:00
Validation.cpp LibELF: Allow using ELF::Loader for ET_CORE objects 2020-12-14 23:05:53 +01:00
Validation.h LibELF+Kernel: Validate program headers in Image::parse 2020-12-01 09:58:21 +01:00