fuzzilli/README.md
This folder contains the capnp configuration, JavaScript mocks for certain APIs which communicates with a Fuzzilli.
The base configuration can be found in worker.js and config.capnp.
The folder contains a config-full.capnp`` and worker-full.jsfile which imports the to-date fuzzed APIs. To test a certain API import it in the used.js` file.
The main execution looks as follows:
bazel test --config=fuzzilli //src/workerd/tests:test-reprl-kj --action_env=CC=/usr/bin/clang-19 --test_timeout=5 --test_output=all
From the Fuzzilli directory test if the REPRL interface works by running:
# in Fuzzilli folder
swift run REPRLRun <path-to-workerd> fuzzilli <path-to-capnp-config> --experimental
swift run -c release FuzzilliCli --inspect=all --profile=workerd <path-to-workerd-root>/bazel-bin/src/workerd/server/workerd --additionalArguments=<path-to-workerd-root>/samples/reprl/config-full.capnp,--experimental --storagePath=fs-new --jobs=30 --importCorpus=<path-to-corpus> --corpusImportMode=full --staticCorpus