feat(fuzzing): add ClusterFuzzLite integration and initial fuzz targets - #911
Open
harshitnub077 wants to merge 1 commit into
Open
feat(fuzzing): add ClusterFuzzLite integration and initial fuzz targets#911harshitnub077 wants to merge 1 commit into
harshitnub077 wants to merge 1 commit into
Conversation
Introduce automated fuzzing infrastructure using ClusterFuzzLite to run continuously on GitHub Actions (PRs and batch schedules). Added native Go fuzz targets for configuration parsing and monitor arguments: - FuzzUruncConfigFromMap - FuzzUnikernelConfigDecode - FuzzGetUnikernelConfig - FuzzBytesToStringMB - FuzzSubnetMaskToCIDR These targets establish a baseline that prevents regressions and will automatically catch bugs like silent truncation and plaintext corruption during decoding. Fixes: urunc-dev#852 Signed-off-by: harshit kudhial <harshitkudhial@gmail.com>
✅ Deploy Preview for urunc canceled.
|
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.
Description
Hey everyone! This PR sets up the continuous fuzzing infrastructure using ClusterFuzzLite that I proposed in #910. This also serves as the core deliverable for the CNCF LFX Mentorship (#852).
Instead of playing whack-a-mole with edge cases in configuration parsing (like the base64 or memory truncation bugs we were tracking in #909), this PR integrates systematic fuzzing directly into our CI to catch these regressions automatically moving forward.
Here's a quick rundown of what's included:
cflite_pr.yml,cflite_batch.yml, andcflite_build.ymlto run the fuzzers on PRs and on a daily schedule..clusterfuzzlitedirectory with the necessary Dockerfile and build scripts.FuzzUruncConfigFromMap,FuzzUnikernelConfigDecode,FuzzGetUnikernelConfig,FuzzBytesToStringMB, andFuzzSubnetMaskToCIDR) to establish a solid baseline.I've tested the builds locally and everything seems to be compiling correctly.
Could one of the maintainers please add the
ok-to-testlabel so the new CI pipelines can run? Let me know if you have any feedback or if anything needs adjusting!Fixes: #910, #852
Addresses: #909
System info