Fix upload_corpus call arguments for batch fuzzing. (#6050)

This commit is contained in:
Oliver Chang 2021-07-17 07:19:37 +10:00 committed by GitHub
parent e138c76bfa
commit b1e5ef81c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -225,8 +225,7 @@ class BatchFuzzTargetRunner(BaseFuzzTargetRunner):
"""Fuzzes with |fuzz_target_obj| and returns the result."""
result = fuzz_target_obj.fuzz()
logging.debug('corpus_path: %s', os.listdir(result.corpus_path))
self.clusterfuzz_deployment.upload_corpus(fuzz_target_obj.target_name,
result.corpus_path)
self.clusterfuzz_deployment.upload_corpus(fuzz_target_obj.target_name)
return result
def cleanup_after_fuzz_target_run(self, fuzz_target_obj):