Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In-source fuzzing support #1177

Merged
merged 3 commits into from
May 13, 2021
Merged

In-source fuzzing support #1177

merged 3 commits into from
May 13, 2021

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented May 13, 2021

Motivation:

gRPC Swift was recently added to OSS Fuzz. Doing so required patching
gRPC to make the server pipeline configurator public and a small driver
program to setup and run a server on an embedded channel. We should make
supporting oss-fuzz a little nicer!

Modifications:

  • Add a FuzzTesting sub package with a 'ServerFuzzer' target
  • Symlink in the echo model and implementation
  • Add an underscore-public API addition to GRPC to configure an
    EmbeddedChannel for fuzzing

Result:

Better support for oss-fuzz

Motivation:

gRPC Swift was recently added to OSS Fuzz. Doing so required patching
gRPC to make the server pipeline configurator public and a small driver
program to setup and run a server on an embedded channel. We should make
supporting oss-fuzz a little nicer!

Modifications:

- Add a FuzzTesting sub package with a 'ServerFuzzer' target
- Symlink in the echo model and implementation
- Add an underscore-public API addition to GRPC to configure an
  `EmbeddedChannel` for fuzzing

Result:

Better support for oss-fuzz
@glbrntt glbrntt requested a review from Lukasa May 13, 2021 14:10
@glbrntt glbrntt added the 🔨 semver/patch No public API change. label May 13, 2021
Davidde94
Davidde94 approved these changes May 13, 2021
Copy link
Collaborator

@Lukasa Lukasa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ace, LGTM.

@glbrntt glbrntt merged commit f358115 into grpc:main May 13, 2021
@glbrntt glbrntt deleted the gb-fuzzer branch May 13, 2021 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants