ladybird/Meta/Lagom/Fuzzers/FuzzilliJsInstructions.md
Linus Groh 46cd9157cd Lagom/Fuzzers: Add a Dockerfile for FuzzilliJs
Based on Fedora. This allows building and running FuzzilliJs and Fuzzilli
itself in a Docker/Podman container.
2020-11-08 11:01:07 +01:00

828 B

How to use FuzzilliJs

  1. Download a copy of the Fuzzilli repo from https://github.com/googleprojectzero/fuzzilli
  2. Install Swift and make sure it's in your path environment variable.
  3. Build FuzzilliJs as you would the other fuzzers. See README.md in the parent folder.
  4. Apply the add-serenity-support-to-fuzzilli.patch patch file to the Fuzzilli root directory. patch -p1 < /path/to/add-serenity-support-to-fuzzilli.patch
  5. Build Fuzzilli with swift build -c release
  6. Run Fuzzilli with swift run -c release FuzzilliCli --profile=serenity /path/to/FuzzilliJs. See swift run FuzzilliCli --help for options.

Alternatively you can use FuzzilliJs.dockerfile to build & run Fuzzilli and FuzzilliJs with Docker or Podman.