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

fix(fuzz): Make sanitizer flags optional #1823

Merged
merged 1 commit into from Jan 4, 2023

Conversation

silvergasp
Copy link
Contributor

Describe the PR
Currently OSS fuzz expects to have complete control over the sanitizer flags. As we currently have these set it's causing problems with the OSS fuzz build. Instead we should use the provided variables from the OSS fuzz build environment. For local testing we'll create a set a well defined defaults.

Additional context
https://github.com/google/oss-fuzz/actions/runs/3761908047

Currently OSS fuzz expects to have complete control over the
sanitizer flags. As we currently have these set it's causing
problems with the OSS fuzz build. Instead we should use the
provided variables from the OSS fuzz build environment. For
local testing we'll create a set a well defined defaults.
@silvergasp
Copy link
Contributor Author

This is been locally tested for integration with OSS fuzz, and everything is working. I had locally tested before, though I missed a few things. Fingers crossed this fixes those issues.

Copy link
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

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

Super! Thank you very much, I am on travel and haven’t tested it locally but it look great

@hathach hathach merged commit 1804313 into hathach:master Jan 4, 2023
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.

None yet

2 participants