Conversation
Contributor
mschwarzl
commented
Aug 27, 2025
- Implemented a REPRL interface that can be used for fuzzing workerd with Fuzzilli
- Stdin.reprl opens up the shared memory and required pipes, waits for the file size and parses the file from Fuzzilli
- Added a new fuzzilli command to main
- Added a test for the REPRL interface
|
All contributors have signed the CLA ✍️ ✅ |
|
The generated output of |
Contributor
Author
|
I have read the CLA Document and I hereby sign the CLA |
Contributor
Author
|
recheck |
b4d4fff to
53e719f
Compare
Contributor
Author
|
recheck |
6e435f0 to
55b86b3
Compare
mikea
reviewed
Sep 25, 2025
b7bc1cf to
01c1059
Compare
jasnell
reviewed
Oct 27, 2025
jasnell
reviewed
Oct 27, 2025
jasnell
reviewed
Oct 27, 2025
jasnell
reviewed
Oct 27, 2025
d436ec9 to
c773dd9
Compare
CodSpeed Performance ReportMerging #4917 will degrade performances by 9.25%Comparing Summary
Benchmarks breakdown
Footnotes
|
543fb2a to
39fc71c
Compare
20ac51e to
2192f02
Compare
jasnell
approved these changes
Nov 4, 2025
This commit adds comprehensive support for fuzzing workerd using Fuzzilli's REPRL (Read-Eval-Print-Reset-Loop) protocol. Key changes: - Implement REPRL protocol handler in workerd server with --stdin-reprl flag - Add fuzzilli() JavaScript API for crash testing and coverage tracking - Integrate libreprl C library for REPRL client communication - Add KJ-based test framework integration (test-reprl.c++) - Create example Fuzzilli configurations and mock services - Add immediate-crash.h utility for controlled crash testing - Fix V8 ASAN macro redefinition warnings by adding V8_USE_ADDRESS_SANITIZER - Update .bazelrc to use clang-19 directly instead of ccache wrapper The implementation allows Fuzzilli to: - Execute JavaScript code in isolated REPRL sessions - Collect sanitizer coverage feedback - Detect crashes and memory errors - Reset worker state between executions Example usage: bazel test --config=fuzzilli //src/workerd/tests:test-reprl ./workerd test fuzzilli/config.capnp --experimental --stdin-reprl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.