-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Add OSS-Fuzz on Demand build steps to extract crashes from the fuzzing output corpus #13270
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
base: master
Are you sure you want to change the base?
Conversation
…latest libfuzzer build
/gcbrun oss_fuzz_on_demand.py libucl --fuzzing-engine mopt --fuzz-target ucl_add_string_fuzzer |
@@ -77,7 +77,7 @@ class Config: | |||
upload_build_logs: str = None | |||
build_type: str = None | |||
fuzzing_engine: str = None | |||
fuzz_target: str = '' | |||
fuzz_target: str = None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should probably be Optional[string]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I change all "str = None" to "Optional[str] = None"? I checked and the only Class
that uses ": str = None" is this Config
, so it would be a small change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed, I made the modifications and it's ready for merge.
/gcbrun oss_fuzz_on_demand.py libucl --fuzzing-engine mopt --fuzz-target ucl_add_string_fuzzer |
/gcbrun oss_fuzz_on_demand.py libucl --fuzzing-engine mopt --fuzz-target ucl_add_string_fuzzer |
/gcbrun oss_fuzz_on_demand.py libucl --fuzzing-engine mopt --fuzz-target ucl_add_string_fuzzer |
Add build steps to download the latest LibFuzzer build and use it to extract crashes from the fuzzing output corpus.
ood.Dockerfile
to be able to copy the fuzzing output corpus directory toOOD_OUTPUT_CORPUS_DIR
.cifuzz
code to get the latest LibFuzzer build filename.fuzzbench.py
maintainability by addingGCB_WORKSPACE_DIR
constant.Related to b/401215144 .