diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2020-06-12 04:27:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-11 18:27:01 -0700 |
commit | 26e8d7c7728096edf55a1fb6d0ecbc4b2dae6afa (patch) | |
tree | 279780c0879c7c81e43106975c1086449a0ba55b /infra/cifuzz/actions/build_fuzzers/action.yml | |
parent | 13c2289d14f7736e93b5b79c8b30b4a9bd5c87c6 (diff) | |
download | oss-fuzz-26e8d7c7728096edf55a1fb6d0ecbc4b2dae6afa.tar.gz |
[CIFuzz] Add support for different sanitizers (#3969)
* Revert "Revert "[CIFuzz] Add support for different sanitizers (#3516)""
This reverts commit c580d0d626247017dede2847869e1eb8a3705ee1.
* cifuzz: pass "sanitizer" to the "run fuzzer" step
It's a follow-up to https://github.com/google/oss-fuzz/pull/3516 that
should fix https://github.com/google/oss-fuzz/issues/3727.
* [cifuzz] drop a $
That's another follow-up to #3516 that should help to pass sanitizer correctly.
Otherwise, it always falls back to address with:
2020-06-11 21:10:14,852 - root - INFO - $address is not a project sanitizer, defaulting to address.
Diffstat (limited to 'infra/cifuzz/actions/build_fuzzers/action.yml')
-rw-r--r-- | infra/cifuzz/actions/build_fuzzers/action.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/infra/cifuzz/actions/build_fuzzers/action.yml b/infra/cifuzz/actions/build_fuzzers/action.yml index 4c190185c..534f71552 100644 --- a/infra/cifuzz/actions/build_fuzzers/action.yml +++ b/infra/cifuzz/actions/build_fuzzers/action.yml @@ -11,6 +11,9 @@ inputs: allowed-broken-targets-percentage: description: 'The percentage of broken targets allowed in bad_build_check.' required: false + sanitizer: + description: 'The sanitizer to build the fuzzers with.' + default: 'address' runs: using: 'docker' image: 'Dockerfile' @@ -18,3 +21,4 @@ runs: OSS_FUZZ_PROJECT_NAME: ${{ inputs.oss-fuzz-project-name }} DRY_RUN: ${{ inputs.dry-run}} ALLOWED_BROKEN_TARGETS_PERCENTAGE: ${{ inputs.allowed-broken-targets-percentage}} + SANITIZER: ${{ inputs.sanitizer }} |