Repository navigation
OSS-Fuzz: Improve fuzz_thrift - #3676
Open
arthurscchan wants to merge 2 commits into
Open
arthurscchan wants to merge 2 commits into
arthurscchan wants to merge 2 commits into
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The new integration breaks fuzz builds with Thrift disabled and enables a harness that leaks memory on successful parses.
3 open issues
What changed in this PR
This PR integrates the Thrift fuzzer into bRPC’s OSS-Fuzz build and packages its seed corpus, complementing the dependency installation changes in google/oss-fuzz#16364.
Changes:
- Register
fuzz_thriftas a CMake fuzz target. - Enable Thrift in OSS-Fuzz and package its libraries and corpus.
- Add a short-input corpus seed.
| File | Description |
|---|---|
test/fuzzing/oss-fuzz.sh |
Enables and builds the Thrift fuzzer and packages runtime libraries and seeds. |
test/fuzzing/fuzz_thrift_seed_corpus/short.bin |
Adds a seed intended to exercise short-input handling. |
test/CMakeLists.txt |
Adds fuzz_thrift to the fuzz-target list. |
Review effort: Balanced
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
Signed-off-by: Arthur SC Chan <arthur.chan@adalogics.com>
arthurscchan
force-pushed
the
brpc-thrift-ship
branch
from
October 30, 2026 09:45
d9e9904 to
40b732d
Compare
Contributor
|
Please don't add binary files to the apache brpc source code. |
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 add corpus seeds for fuzz_thrift, together with google/oss-fuzz#16364 to install missing modules for fuzz_thrift, aiming to improve the fuzzing coverage and effectiveness of project brpc.