ladybird/Meta
Nico Weber 00f658b984
Lagom+LibELF: Add an ELF fuzzer, and tweak the code to survive a few minutes of fuzzing (#3071)
If a buffer smaller than Elf32_Ehdr was passed to Image, header()
would do an out-of-bounds read.

Make parse() check for that. Make most Image methods assert that the image
is_valid(). For that to work, set m_valid early in Image::parse()
instead of only at its end.

Also reorder a few things so that the fuzzer doesn't hit (valid)
assertions, which were harmless from a security PoV but which still
allowed userspace to crash the kernel with an invalid ELF file.

Make dbgprintf()s configurable at run time so that the fuzzer doesn't
produce lots of logspam.
2020-08-10 15:55:17 +02:00
..
CLion Meta: Update CLion configuration to include LibM and generated files 2020-08-06 09:43:03 +02:00
Lagom Lagom+LibELF: Add an ELF fuzzer, and tweak the code to survive a few minutes of fuzzing (#3071) 2020-08-10 15:55:17 +02:00
bochsrc Meta: move Kernel/.bochsrc => Meta/bochsrc 2020-07-01 12:53:39 +02:00
build-image-grub.sh Meta: Fix style of image building scripts 2020-07-28 19:09:44 +02:00
build-image-qemu.sh Meta: Fix style of image building scripts 2020-07-28 19:09:44 +02:00
build-root-filesystem.sh Userland: Add passwd utility 2020-07-28 17:07:22 +02:00
check-style.sh Meta: make check-style.sh ignore Libraries/LibCore/puff.cpp 2020-07-29 17:36:21 +02:00
debug-kernel.sh Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
grub-ebr.cfg Kernel: Stop bootloader from setting video mode with Multiboot 2020-05-28 00:50:55 +02:00
grub-gpt.cfg Kernel: Stop bootloader from setting video mode with Multiboot 2020-05-28 00:50:55 +02:00
grub-mbr.cfg Kernel: Stop bootloader from setting video mode with Multiboot 2020-05-28 00:50:55 +02:00
lint-executable-resources.sh Meta: Ensure that icons and other resources remain non-executable 2020-07-29 01:34:22 +02:00
lint-missing-resources.sh Meta: Find potentially missing resources 2020-07-29 01:34:22 +02:00
lint-shell-scripts.sh Meta: Do not run shellcheck on our Shell's scripts 2020-07-05 15:43:14 +02:00
refresh-serenity-qtcreator.sh Meta: Tweak QtCreator .files sync script to include .idl files 2020-06-21 00:58:55 +02:00
run.sh run.sh: Remove cpu_reset debug output 2020-07-06 17:03:26 +02:00
screenshot-000ccc0.png Meta: Update ReadMe with a new screenshot. :^) 2019-02-12 15:47:37 +01:00
screenshot-8ea4375.png Meta: Time for a new screenshot! :^) 2020-06-02 19:29:31 +02:00
screenshot-1133aca.png Meta: Time for a new screenshot (Quake edition) :^) 2019-11-06 21:51:33 +01:00
screenshot-9145a72.png Meta: Time for a new screnshot! :^) 2019-09-18 12:15:02 +02:00
screenshot-23263aa.png Meta: Update ReadMe with a new screenshot :^) 2019-02-27 13:17:43 +01:00
screenshot-191112e.png Meta: Time for a new screenshot to keep things fresh. :^) 2019-06-07 18:14:13 +02:00
screenshot-b5521e1.png Meta: Time for a new screenshot! :^) 2019-03-08 01:10:33 +01:00
screenshot-cdb82f6.png Meta: Tweak ReadMe and add a new screenshot. 2019-03-20 15:52:37 +01:00
screenshot-d727005.png Meta: Tweak ReadMe and add a new screenshot. 2019-04-30 15:27:35 +02:00
screenshot-ef9fbef.png Meta: Time for a new screenshot :^) 2019-04-06 01:31:12 +02:00
screenshot-f8fc892.png Add a little ReadMe. 2019-02-08 11:06:34 +01:00
write-only-on-difference.sh Meta: Provide a way to only update a file if the output changes 2020-08-04 11:27:14 +02:00