[CIFuzz][NFC] Fix some comments. (#6130)
diff --git a/infra/cifuzz/affected_fuzz_targets.py b/infra/cifuzz/affected_fuzz_targets.py
index 22924bb..be35c5c 100644
--- a/infra/cifuzz/affected_fuzz_targets.py
+++ b/infra/cifuzz/affected_fuzz_targets.py
@@ -27,6 +27,7 @@
"""Removes all non affected fuzz targets in the out directory.
Args:
+ clusterfuzz_deployment: The ClusterFuzz deployment object.
out_dir: The location of the fuzz target binaries.
files_changed: A list of files changed compared to HEAD.
repo_path: The location of the OSS-Fuzz repo in the docker image.
diff --git a/infra/cifuzz/build_fuzzers.py b/infra/cifuzz/build_fuzzers.py
index 7831e0b..09d7c56 100644
--- a/infra/cifuzz/build_fuzzers.py
+++ b/infra/cifuzz/build_fuzzers.py
@@ -190,11 +190,14 @@
"""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)
diff --git a/infra/cifuzz/get_coverage.py b/infra/cifuzz/get_coverage.py
index f674e95..a022e83 100644
--- a/infra/cifuzz/get_coverage.py
+++ b/infra/cifuzz/get_coverage.py
@@ -44,7 +44,7 @@
target: The name of the fuzz target whose coverage is requested.
Returns:
- A list of files that the fuzz targets covers or None.
+ A list of files that the fuzz target covers or None.
"""
raise NotImplementedError('Child class must implement method.')
@@ -83,7 +83,7 @@
target: The name of the fuzz target whose coverage is requested.
Returns:
- A list of files that the fuzz targets covers or None.
+ A list of files that the fuzz target covers or None.
"""
target_cov = self.get_target_coverage_report(target)
if not target_cov:
@@ -165,7 +165,7 @@
target: The name of the fuzz target whose coverage is requested.
Returns:
- A list of files that the fuzz targets covers or None.
+ A list of files that the fuzz target covers or None.
"""
# TODO(jonathanmetzman): Implement this.
raise NotImplementedError('Implementation TODO.')