platform_external_dtc/fuzzing
Mike McTernan cca1ca7b21 Improve fuzzer coverage.
Add a corpus file with sample properties and quirky features like
aliases and memory reservation regions.
Call more functions that are used to inspect properties (adding coverage
for our main use-cases).

fdt_ro.c function coverage from 40% to 100%.
fdt_strerror.c function coverage from 0% to 100%.

Also remove standalone AFL main function as no longer needed.

Bug: 242028005
Test: Run fuzzer with 128 jobs for 1 hour.
Test: check coverage using haiku corpus + new additions.
Change-Id: I3c5843ed0ac62704571ed0a62fe2758416cf0a6f
2022-09-12 08:39:34 +00:00
..
corpus Improve fuzzer coverage. 2022-09-12 08:39:34 +00:00
Android.bp ANDROID: fuzz: Clean-up & Use <sanitizer/*.h> 2022-08-10 17:08:31 +01:00
libfdt_fuzzer.c Improve fuzzer coverage. 2022-09-12 08:39:34 +00:00