aboutsummaryrefslogtreecommitdiff
path: root/infra/bisector.py
diff options
context:
space:
mode:
authorLeo Neat <leosneat@gmail.com>2020-01-29 11:03:43 -0800
committerGitHub <noreply@github.com>2020-01-29 11:03:43 -0800
commit8ffc6db00c83e5f75e92b3c4c63c1924597711a1 (patch)
tree7cca59f92af682000c57be2e0b8ad5e926e8701f /infra/bisector.py
parent4dc4c0240f96105f2330a0fc1f5f321a6e796ddb (diff)
downloadoss-fuzz-8ffc6db00c83e5f75e92b3c4c63c1924597711a1.tar.gz
[Infra] CIFuzz pipeline complete. (#3281)
* Testing action build * Testing action build * Testing action build * Testing action build * Testing action build * Testing action build * Testing action build * Testing action build * Testing action build * Testing action build * Testing action build * Testing action build * Testing action build * Testing action build * Testing action build * Testing action build * Testing action build * Testing action build * Testing action build * Testing action build * Testing action build * Working build * Working build * Working build * Working build * Working build * Working build * Working build * Working build * Working build * Working build * Working build * Working build * Working build * Working build * Working build * Working build * Working build * Working build * Working build * Working build * Working build * Working build * Working build * Working build * Working build * Working build * Working fuzzers with out error surface * Working fuzzers with out error surface * Working fuzzers with out error surface * Printing std err * Adding fuzzer timeout * Adding fuzzer timeout * Changing fuzzer timeout to fuzz time * Formatting and refactoring * Spelling in fuzz_target.py * Spelling in fuzz_target.py * Spelling in fuzz_target.py * Upload artifact fix * Upload artifact fix * Upload artifact fix * Upload artifact fix * Upload artifact fix * Upload artifact fix * Upload artifact fix * Refactoring error codes. * reverting helper.py * reverting helper.py * reverting helper.py * chaning method to static * moving cifuzz file * Jonathan changes * Oliver and Jonathan comments * Oliver and Jonathan comments * Oliver and Jonathan comments * Utils unit tests * Test formatting and documentation * Build fuzzer test added * Changed repo manager errors * Unit and integration tests complete * Jonathan comments pt.1 * Jonathan comments pt.1 * Jonathan comments pt.1 * adding cifuzz_test * Build fuzzer test completed * Run fuzzers test finished. * Removed SRC dependency * Jonathan comments pt.2 * Max comments pt.1 * Max comments pt.2 * removing log specified out stream * Max comments pt.3 * Adding OSS_FUZZ_HOME env var * Jonathan comments pt.3 * Formatting * Olivers comments * Jonathan comments
Diffstat (limited to 'infra/bisector.py')
-rw-r--r--infra/bisector.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/infra/bisector.py b/infra/bisector.py
index de9fad71b..11ffd0189 100644
--- a/infra/bisector.py
+++ b/infra/bisector.py
@@ -31,20 +31,17 @@ This is done with the following steps:
"""
import argparse
-import os
import tempfile
import build_specified_commit
import helper
import repo_manager
+import utils
def main():
"""Finds the commit SHA where an error was initally introduced."""
- oss_fuzz_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
- if os.getcwd() != oss_fuzz_dir:
- print('Changing directory to OSS-Fuzz home directory')
- os.chdir(oss_fuzz_dir)
+ utils.chdir_to_root()
parser = argparse.ArgumentParser(
description='git bisection for finding introduction of bugs')