Add fuzz targets for Folly's core functionalities and integrate with OSS-Fuzz#2604
Open
rootvector2 wants to merge 1 commit intofacebook:mainfrom
Open
Add fuzz targets for Folly's core functionalities and integrate with OSS-Fuzz#2604rootvector2 wants to merge 1 commit intofacebook:mainfrom
rootvector2 wants to merge 1 commit intofacebook:mainfrom
Conversation
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.
This PR adds a set of libFuzzer-based fuzz targets for commonly used parsing and conversion components in Folly, including JSON, URI, IPAddress, and conversion utilities.
The fuzzers are placed under folly/fuzz/ and are built optionally via a BUILD_FUZZ_TARGETS flag (disabled by default, so no impact on existing builds).
A small seed corpus is included for each target to improve initial coverage.
Additionally, a CIFuzz workflow is added to run fuzzing on pull requests.
This is intended to enable integration with OSS-Fuzz and improve overall robustness of input-handling code paths.