| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
* [base-clang] Change OUR_LLVM_REVISION
* llvmorg-14-init-8033-gabb2a91b
|
|
|
|
| |
Use clang version before this change: https://chromium-review.googlesource.com/c/chromium/src/+/3310960
Fixes: #6957
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [cifuzz] Copy repo from image before checking out.
Do this instead of cloning repo anew.
Fixes: https://github.com/google/oss-fuzz/issues/6755
* fix tests
* Add test code for cifuzz-example
* fix
|
|
|
|
| |
* update afl++ commit id
|
|
|
|
|
|
|
|
|
|
|
| |
* update afl++ commit id
* update afl++ commit id
* fix for afl++
* attempt fix for curl
* allow easy reproducable afl++ builds
|
|
|
|
|
|
|
|
|
| |
* single quotes
* [java][coverage] Make sure filenames is a string and not a list.
Fixes: https://github.com/google/oss-fuzz/issues/6913
* fmt
|
|
|
|
|
|
|
|
|
| |
* update afl++ commit id
* update afl++ commit id
* fix for afl++
* attempt fix for curl
|
|
|
|
|
|
|
| |
* update afl++ commit id
* update afl++ commit id
* fix for afl++
|
|
|
|
|
| |
* update afl++ commit id
* update afl++ commit id
|
|
|
| |
This resolves #5968 by employing cloud build to run update_build_status.py
|
|
|
|
|
| |
* infra: Remove redundant --cap-add SYS_PTRACE
* format?
|
| |
|
|
|
|
|
|
|
| |
Coverage uses a different mechanism for determining if a file
is a fuzz target: It considers any executables in the top level
of /out as fuzz targets.
Fixes #6768
|
|
|
| |
Also clean up https://github.com/google/oss-fuzz/pull/6744
|
|
|
| |
Fixes #6762.
|
|
|
| |
See: https://github.com/google/oss-fuzz/issues/6758
|
| |
|
| |
|
|
|
|
|
| |
* Don't check for novel crash in batch fuzzing.
* format
|
|
|
|
|
|
| |
argparse.REMAINDER is too greedy and will consume known optional
arguments as well.
Fixes #6686.
|
|
|
| |
Fixes #6714.
|
|
|
| |
Do this to reduce configuration required for GCB and Prow.
|
| |
|
|
|
|
|
|
|
| |
OOMs will be reported by default. Timeouts wont.
Fixes: https://github.com/google/oss-fuzz/issues/6703
Should also fix: https://github.com/google/oss-fuzz/issues/6619
Fixes: https://github.com/google/oss-fuzz/issues/3432
Related: https://github.com/google/oss-fuzz/issues/6685
|
|
|
|
|
| |
Don't output stacktrace again in detected bug log message.
Disable Python buffering to avoid log interleaving issues.
|
| |
|
| |
|
|
|
|
|
|
| |
1. Move most of the generic stuff into BasePlatformConfig.
2. Make a GCB platform config that sets WORKSPACE and PROJECT_SRC_PATH so users don't have to.
3. Make a skeleton prow platform_config for Mitchel to fill out.
4. Make users explicitly specify the CFL_PLATFORM so we can pick CI environments
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Share more code between the 4 implementations of `prepare_for_fuzzer_build`.
This simplifies the code of these implementations, reduces repetition and makes them easier to
understand.
Create helper functions/methods for:
1. Creating a failed `BuildPreparationResult`: `get_build_preparation_failure`
2. Building an external project docker image: `_build_external_project_docker_image`
3. Cloning a repo and checking out the specified commit/pr: `_clone_repo_and_checkout`
4. Detecting the main repo `_detect_main_repo`
5. Creating a repo manager from an existing checkout: `_create_repo_manager_for_project_src_path`
Change `ExternalGeneric` implementation of `prepare_for_fuzzer_build` to:
1. Call `_create_repo_manager_for_project_src_path`
2. Call `_build_external_project_docker_image`
Change `InternalGeneric` implementation of `prepare_for_fuzzer_build` to:
1. Call `_detect_main_repo`
2. Call `_create_repo_manager_for_project_src_path`
Change `ExternalGithub` implementation of `prepare_for_fuzzer_build` to:
1. Call `_clone_repo_and_checkout`
2. Call `_build_external_project_docker_image`
Change `InternalGithub` implementation of `prepare_for_fuzzer_build` to:
1. Call `_detect_main_repo`
2. Call `_clone_repo_and_checkout`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix diffing on non-GitHub and improve config
1. Remove obsolete comments.
2. Remove unused function get_pr_ref
3. Correct comment on git_sha
4. Rename commit_sha to git_sha
5. Make base_commit, pr_ref, and base_ref non-github specific and move to
CiEnvironment.
6. Hoist get_diff_base to base class to allow diffing
7. Fix downloading coverage on non-Github.
8. Add TODO so that we don't assume github actions is run on github.com
(enterprise users)
9. Rename repo_url to git_url.
10. Add missing git_url method base class.
11. Clarify what git_url, git_sha and pr_ref are for and leave TODOs about how
we can eliminate them.
12. Fix typos.
|
|
|
|
| |
Builds shouldn't be uploaded if the check fails.
Fixes: https://github.com/google/oss-fuzz/issues/6667
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Getting the LATEST_BUILD_WINDOW latest commits from HEAD^ is wrong. We
should use the diff base instead.
Also modify the Ci.get_diff_base methods to not include "..." in the
return value. This will be appended in get_changed_code_under_test
instead.
This also potentially fixes a behaviour mismatch with GitHub
PRs and diffing against the latest base branch rather than
git merge-base base-branch HEAD.
|
|
|
|
|
| |
1 Fix usage of gsutil tool.
2 Get rid of run_fuzzers_mode and change to mode. Fixes: #6677
3 Install requirements before copying source code to make iterative development of cifuzz code faster.
|
|
|
|
| |
Make images that dont reference cifuzz but which reference
clusterfuzzlite instead.
|
|
|
|
| |
We can use shutil.copytree's dirs_exist_ok now that we have a new
Python.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add gsutil filestore
* lint
* Fix
* Add build image script
* get gcb fuzzing working
* fmt and fix config_utils_test
* Check that crashes are uploaded
* Add no_filestore
* fix test
* fix tests
* fix
* Print crash URL
* Fix
* fix
* fmt
* lnt
* fix
* fmt
|
|
|
| |
Rather than always upload to the "current" artifact.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Also fix some logging issues:
- Don't output every single stacktrace when determining if a crash is reproducible.
It outputs too many things into the logs and makes it hard to read.
- Log OSS-Fuzz corpus path
- Fix a minor typo and an error log with deleting the xenial image.
|
|
|
|
| |
Follow-up to f043a72a0e632455f9939383efd60c131973c570, which became necessary due to
https://github.com/CodeIntelligenceTesting/jazzer/commit/24069c388579f54ec9872e61efa44f5e6065f838
|
|
|
|
|
| |
Also change the default value of "ci" to the more consistent and
descriptive "code-change".
|
|
|
|
|
| |
Pass github token during cloning.
Fixes #6584
|
|
|
|
|
|
|
|
|
| |
* Get repository URL from environment variable instead.
Fixes #6576.
* fix lint
* use https instead
|
|
|
| |
As shown by opensk, rust files can be in a deeper directory
|
|
|
| |
And use right column for section address
|
|
|
|
|
|
|
| |
* profraw: bump up version to 8
following https://reviews.llvm.org/D111123
* fixup format
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [selinux] also pass --no-install-recommends to apt-get
This should help to speed up that step a little.
Suggested by Christian Göttsche in https://github.com/SELinuxProject/selinux/pull/316#issuecomment-941011066
* [selinux] no longer install xmlto
xmlto is used to build the secilc manpages so it isn't
necessary to install it here.
Suggested by @doverride in https://github.com/SELinuxProject/selinux/pulls#issuecomment-941047449
* This partly reverts 0c5679cd24e5e6130a8
The part where the fuzz targets were added is intact.
It should address https://github.com/google/oss-fuzz/issues/6585
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Run multiple jobs/workers by setting env vars
```bash
$ infra/base-images/all.sh
$ python3 infra/helper.py run_fuzzer -e N_JOBS=4 -e N_WORKERS=4 --engine $ENGINE $PROJECT_NAME $FUZZ_TARGET
```
* Switched from N_JOBS/WORKERS to FUZZER_EXTRA_ARGS
* Added hashicorp/hcl/hclsyntax fuzzers
* Getting rid of FUZZER_EXTRA_ARGS
|