Commit Graph

3 Commits

Author SHA1 Message Date
Dongge Liu 7e66453383
Make `Centipede` a default fuzzing engine (#10109)
1. Add `centipede` to `DEFAULT_ENGINES`.
2. Remove the `fuzzing_engines` attribute from `project.yaml`s if
redundant (i.e., all default engines are included in that YAML file).
3. Temporarily disable `centipede` on `c`/`c++` projects that previously
use all `DEFAULT_ENGINES` (200 projects did not specify
`fuzzing_engines` in `project.yaml`) so that we can gradually enable
centipede later them later.
2023-04-21 09:48:45 +10:00
Daniel Löbl b4f7c414e6
cgif: enable memory sanitizer (#9582)
Enable memory sanitizer for [cgif](https://github.com/dloebl/cgif). I
already found one small issue testing it locally (timeout crash reported
by oss-fuzz):

```
$ ./build/fuzz/cgif_fuzzer_standalone clusterfuzz-testcase-cgif_fuzzer-6560939899224064

==26604==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x7f6a00f022ba  (/home/dbl/projects/cgif/build/fuzz/../libcgif.so.0+0x162ba) (BuildId: 41f9aa2f4c1d42966ca54004a6e73b2e1bb38d78)
   [...]
SUMMARY: MemorySanitizer: use-of-uninitialized-value (/home/dbl/projects/cgif/build/fuzz/../libcgif.so.0+0x162ba) (BuildId: 41f9aa2f4c1d42966ca54004a6e73b2e1bb38d78) 
Exiting
```

Fixed with https://github.com/dloebl/cgif/pull/57.
2023-02-06 02:15:28 -08:00
Daniel Löbl 461d60ccc2
[cgif] Initial integration (#7321)
Add initial [cgif](https://github.com/dloebl/cgif) integration.
[cgif](https://github.com/dloebl/cgif) is a GIF encoding library written
in C. It is used as the GIF encoding layer of
[libvips](https://github.com/libvips/libvips).
Right now, it is only fuzzed indirectly via
[libvips](https://github.com/libvips/libvips):
https://github.com/google/oss-fuzz/pull/6241
Fuzzing [cgif](https://github.com/dloebl/cgif) directly would allow
covering the complete API.

I would be happy to update this PR with the `Dockerfile` and `build.sh`
once I have the OK from your side.
2023-01-30 00:48:05 +00:00