Skip to content

Commit

Permalink
fuzzing: add some info about the oss-fuzz integration
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Sep 15, 2023
1 parent fd5462f commit d549b37
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions fuzzing/README.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Fuzzing
=======

Uses `python-afl <https://github.com/jwilk/python-afl>`__ and `afl
<https://lcamtuf.coredump.cx/afl/>`__
Local fuzzing via `python-afl <https://github.com/jwilk/python-afl>`__ and `afl++
<https://aflplus.plus/>`__:

* Install afl, for example ``sudo apt install afl++`` on Debian/Ubuntu
* ``poetry install --with fuzzing``
Expand All @@ -11,3 +11,11 @@ Uses `python-afl <https://github.com/jwilk/python-afl>`__ and `afl
* ``./run.sh`` will start multiple afl-fuzz instances
* CTRL+C to stop
* Run ``./check_crashes.sh`` to get a summary of the errors found

Fuzzing via `OSS-Fuzz <https://github.com/google/oss-fuzz>`__:

* mutagen was initially added here: https://github.com/google/oss-fuzz/pull/10072
* The integration code is here: https://github.com/google/oss-fuzz/tree/master/projects/mutagen
* Maintainers get emails about new findings, and after 90 days they are made public
* Already public crash results can be found here: https://bugs.chromium.org/p/oss-fuzz/issues/list?q=label:Proj-mutagen
* Once fixed in mutagen, the reports will be closed automatically

0 comments on commit d549b37

Please sign in to comment.