Commit Graph

6 Commits

Author SHA1 Message Date
Max 78ecd3f07f
Small change to maintain the existing corpus (#8176)
Co-authored-by: Max Shavrick <mxms@google.com>
2022-08-06 22:12:35 +01:00
Max 1ac061d41b
[e2fsprogs] Only set one flag for now (#8171)
Only set one flag for now

Co-authored-by: Max Shavrick <mxms@google.com>
2022-08-06 12:18:02 +01:00
Max 02abbeaf3a
Add myself to auto_ccs and remove usage of EXT2_FLAG_NOFREE_ON_ERROR (#8154)
Co-authored-by: Max Shavrick <mxms@google.com>
2022-08-05 05:50:33 +00:00
Max d417f39fed
Improve e2fsprogs fuzzers (#8098)
* Fixed up ext2fs fuzzers.

Disable checksum fatal errors, making fuzzing a bit easier.

* Fixed missing path separator

Co-authored-by: mxms <mxms@google.com>
2022-07-29 14:06:14 -07:00
Ravi Jotwani 089c9e039b
[e2fsprogs] Delete ext2fs_read_write_dir_block_fuzzer.cc (#4302)
Deleting this fuzzer as it has proved problematic (see internal bug #160587918). Reasons for deletion:
- This fuzzer is not written well. We pass an uninitialized output buffer to `ext2fs_read_dir_block()`, have redundant function calls (see [here](https://github.com/tytso/e2fsprogs/blob/master/lib/ext2fs/dirblock.c#L62) and [here](d36af019b0/projects/e2fsprogs/fuzz/ext2fs_read_write_dir_block_fuzzer.cc (L66))), and pass empty `blk64_t` structs to the fuzz targets.
- Removing this fuzzer has negligible impact on total coverage. Running [this](https://github.com/googleinterns/oss-fuzz-utils/blob/master/coverage.sh) coverage utility after removing the fuzzer locally outputs the following results (fuzzing each build for 10 minutes).
```original: 244/13082 regions - 1.86515823269% coverage
modified: 239/13070 regions - 1.8286151492% coverage```

@tytso @alsophian Please feel free to chime in.
2020-08-12 15:43:50 -07:00
Ravi Jotwani f8c9eec4cf
E2fsprogs integration (#4006)
* added draco integration files

* wrote build file and Dockerfile for Draco

* split security-research-pocs fuzzer into four

* added project build to build.sh

* added more fuzzers

* fixed sanitizer flags

* removed commented code, combined fuzzers, fized build script

* changed to singular filenames, converted usage of random int to enum, changed buffer name, and fixed build script

* placed test files in memory instead of on disk, added asserts
2020-06-25 11:42:17 -07:00