sharkdp / bat

A cat(1) clone with wings.
Apache License 2.0
48.12k stars 1.2k forks source link

Integrating with google/oss-fuzz for continuous fuzz testing? #2793

Open silvergasp opened 8 months ago

silvergasp commented 8 months ago

Hey David,

I hope this message finds you well. I've been following along with bat for some time now, and I'm a daily user for bat. I'd like to suggest and champion an effort to set up some basic fuzz-testing and combine it with google/oss-fuzz for continuous fuzzing. I'm fully aware that you are a very busy person and I don't want to overload your review/maintenance capacity by introducing too many new ideas. Is this a bad time to discuss potential security/reliability improvements?

If you're not familiar with fuzzing or oss-fuzz I've included a few brief notes below.

Benefits of Fuzz-Testing

Google/oss-fuzz for Continuous Fuzzing

I’d be more than happy to lead the effort in integrating fuzz testing with bat and assist in any way required.

silvergasp commented 8 months ago

I've added a small proof of concept to demonstrate what this would all look like in #2794.