To build workerd for fuzzing:
- Clone workerd
- Follow the instructions here
- Run the fuzzbuild.sh script in the workerd root directory to build workerd with the fuzzili configuration
- Test if REPRL works:
swift run REPRLRun <path-to-workerd> fuzzilli <path-to-capnp-config> --experimental - Run Fuzzilli with a workerd config (See samples/reprl):
swift run -c release FuzzilliCli --inspect=all --profile=workerd <path-to-workerd> --additionalArguments=<path-to-workerd-config>,--experimental