diff options
author | 2022-08-09 16:55:11 +0100 | |
---|---|---|
committer | 2022-08-10 15:13:19 +0000 | |
commit | 404f524674f32b5838e7d6a03c2e5c3d7848e664 (patch) | |
tree | fc3ebb8aa9b40158b5d29b40a281a73ef6e24482 /fuzzing | |
parent | 2be373dea4709eae82f9b75c37288fd6c31c3e00 (diff) |
Improve fuzzer coverage with some additional corpus entires.
Adds small fdt header blocks with version field set to 0, -1, and also a file with a declared length less than the header. These small inputs are fast to process and fuzz and explore edges in header validation quickly.
Bug: 242028005
Test: Ran under gdb to confirm hitting previously uncovered code paths.
Test: Ran fuzzer for 1 hour on 128 cores (with b/240612647 check removed)
Change-Id: I35f40e0faf1cfd97993f4e60badcb3e4a5d30fb0
Diffstat (limited to 'fuzzing')
-rw-r--r-- | fuzzing/corpus/header-truncated | bin | 0 -> 40 bytes |
-rw-r--r-- | fuzzing/corpus/header-v-1 | bin | 0 -> 40 bytes |
-rw-r--r-- | fuzzing/corpus/header-v0 | bin | 0 -> 40 bytes |
-rw-r--r-- | fuzzing/corpus/oob_by_one | bin | 0 -> 256 bytes |
4 files changed, 0 insertions, 0 deletions
diff --git a/fuzzing/corpus/header-truncated b/fuzzing/corpus/header-truncated Binary files differnew file mode 100644 index 0000000..1db29d8 --- /dev/null +++ b/fuzzing/corpus/header-truncated diff --git a/fuzzing/corpus/header-v-1 b/fuzzing/corpus/header-v-1 Binary files differnew file mode 100644 index 0000000..a773d07 --- /dev/null +++ b/fuzzing/corpus/header-v-1 diff --git a/fuzzing/corpus/header-v0 b/fuzzing/corpus/header-v0 Binary files differnew file mode 100644 index 0000000..f22ec6a --- /dev/null +++ b/fuzzing/corpus/header-v0 diff --git a/fuzzing/corpus/oob_by_one b/fuzzing/corpus/oob_by_one Binary files differnew file mode 100644 index 0000000..216523c --- /dev/null +++ b/fuzzing/corpus/oob_by_one |