aboutsummaryrefslogtreecommitdiff
path: root/infra/cifuzz/build_fuzzers.py
diff options
context:
space:
mode:
authorjonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>2021-07-28 07:25:59 -0700
committerGitHub <noreply@github.com>2021-07-28 07:25:59 -0700
commit2dda5eedef1433dbfe47c280533d12af026f2577 (patch)
tree026cd71c789af38700f682db55828b62a398d206 /infra/cifuzz/build_fuzzers.py
parent89da7cffced60508fa0f787465279ddf6a042a01 (diff)
downloadoss-fuzz-2dda5eedef1433dbfe47c280533d12af026f2577.tar.gz
[CIFuzz][NFC] Fix some comments. (#6130)
Diffstat (limited to 'infra/cifuzz/build_fuzzers.py')
-rw-r--r--infra/cifuzz/build_fuzzers.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/infra/cifuzz/build_fuzzers.py b/infra/cifuzz/build_fuzzers.py
index 7831e0bf8..09d7c56cb 100644
--- a/infra/cifuzz/build_fuzzers.py
+++ b/infra/cifuzz/build_fuzzers.py
@@ -190,11 +190,14 @@ def check_fuzzer_build(workspace,
"""Checks the integrity of the built fuzzers.
Args:
- out_dir: The directory containing the fuzzer binaries.
+ workspace: The workspace used by CIFuzz.
sanitizer: The sanitizer the fuzzers are built with.
+ language: The programming language the fuzzers are written in.
+ allowed_broken_targets_percentage (optional): A custom percentage of broken
+ targets to allow.
Returns:
- True if fuzzers are correct.
+ True if fuzzers pass OSS-Fuzz's build check.
"""
if not os.path.exists(workspace.out):
logging.error('Invalid out directory: %s.', workspace.out)