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

Add FuzzTest support and connect it to Tensorflow project #9238

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

avoskoboinyk-lohika
Copy link

No description provided.

@google-cla
Copy link

google-cla bot commented Dec 19, 2022

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@DavidKorczynski
Copy link
Collaborator

DavidKorczynski commented Dec 19, 2022

Thanks a lot! We have a working set up for doing this with Tensorflow, see this PR for details: #8992

The PR was cleared with the necessary tensorflow logic in 0e2dbf2 in order to make the PR more clear, but I'll push those changes shortly. I made a PR with the changes here: #9239

@avoskoboinyk-lohika
Copy link
Author

@DavidKorczynski this PR includes some (basic) OSS-Fuzz wide documentation for FuzzTest support plus corrections in some scripts, while the mentioned PR only touches Tensorflow files. Is it intended?

@DavidKorczynski
Copy link
Collaborator

@DavidKorczynski this PR includes some (basic) OSS-Fuzz wide documentation for FuzzTest support plus corrections in some scripts, while the mentioned PR only touches Tensorflow files. Is it intended?

Yes, it's intended as FuzzTest itself comes with OSS-Fuzz support, see here: https://github.com/google/fuzztest/blob/6d21a370df3c897c02922e5c7e53ff5fc4f273ee/bazel/setup_configs.sh#L108-L166

The approach is to use the libFuzzer/Centipede as the engine when running FuzzTest fuzzers on Clusterfuzz (and thus, also in the OSS-Fuzz environment).

See also this script in the OSS-Fuzz repository that can compile FuzzTest fuzzers: https://github.com/google/oss-fuzz/blob/master/infra/base-images/base-builder/compile_fuzztests.sh You can check an example fuzztest project here: https://github.com/google/oss-fuzz/tree/master/projects/fuzztest-raksha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants