aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/cifuzz/actions
Commit message (Collapse)AuthorAge
* [CIFuzz] Support languages non-C++ projects (e.g. Python projects) (#5222)Gravatar jonathanmetzman2021-02-19
| | | | Allow use of non-C++ projects by specifying the language in the workflow file. Fixes #5195
* [cifuzz] Abstract-away OSS-Fuzz specific bits (#5088)Gravatar jonathanmetzman2021-02-03
| | | | | Abstract away OSS-Fuzz specific bits into the OSSFuzz implementation of the ClusterFuzzDeployment class. This will make it easier to implement support for other deployments of ClusterFuzz (including ClusterFuzzLite).
* [cifuzz] Support a batch fuzzing mode (#5073)Gravatar jonathanmetzman2021-02-01
| | | In this mode, CIFuzz will keep fuzzing until the time limit is reached, even if a crash was found.
* Move entrypoints for CIFuzz to cifuzz folder. (#5020)Gravatar jonathanmetzman2021-01-20
| | | | | Move entrypoints for CIFuzz to cifuzz. This allows us to reduce some complexity by getting rid of an unnecessary copy in docker and a hack to making importing work.
* Cifuzz external build (#4656)Gravatar jonathanmetzman2020-12-07
| | | | | * Support building fuzzers for projects outside of OSS-Fuzz * Use retry wrapper * Fix some tests.
* Make CIFuzz more debuggable by allowing one to run off a branch (#4666)Gravatar jonathanmetzman2020-11-24
| | | Make it possible to run CIFuzz from a non-master branch
* [NFC][CIFuzz] Fix coding issues. (#4550)Gravatar jonathanmetzman2020-11-17
| | | | | | | | | | Fix some coding and style issues. 1. Treat "testcase" as one word. This is consistent with ClusterFuzz. 2. Treat "stacktrace" as one word. This is consistent with ClusterFuzz. 3. Fix spelling of comments and words in code. 4. Use descriptive style docstrings and remove unnecessary clutter (e.g. "Test the functionality of foo_function function in bar module" becomes "Tests foo_function." 5. Use JSON for a list needed in testing instead of pickle.
* Reland 55d9a81. (#4269)Gravatar jonathanmetzman2020-08-06
| | | | | The issue with 55d9a81 that caused it to be reverted by 3370f8f was probably due to the build trigger on GCB being stale. I've updated it so this commit should stick.
* Revert "[CIFuzz] Allow supplying a manual source checkout (#4250)" (#4263)Gravatar Evgeny Vereshchagin2020-08-06
| | | | | This reverts commit 55d9a81cd799f34ffbd688766aef5f463c9aac73. Closes https://github.com/google/oss-fuzz/issues/4262
* [CIFuzz] Allow supplying a manual source checkout (#4250)Gravatar jonathanmetzman2020-08-05
| | | | | | | Make CIFuzz building accept an env var `MANUAL_SRC_PATH` that points to a manually prepared checkout of the project-under-tests's source code. This allows projects like Skia which are not on OSS-Fuzz and/or need to make changes to the repo after checking out the right commit to use CIFuzz. Note that for now we aren't supporting this in GitHub, so projects that need to modify the source after checkout can't use it until we do support it. Also, use the local copy of OSS-Fuzz when building cifuzz-base instead of cloning it from GitHub. This makes local debugging/development much easier since it allows one to use CIFuzz with local changes.
* [CIFuzz] Add support for different sanitizers (#3969)Gravatar Evgeny Vereshchagin2020-06-11
| | | | | | | | | | | | | | | | | * 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.
* cifuzz: use pull_request.number instead of GITHUB_REF (#3845)Gravatar Evgeny Vereshchagin2020-05-18
| | | Closes https://github.com/google/oss-fuzz/issues/3732
* [CIFuzz] Support ALLOWED_BROKEN_TARGETS_PERCENTAGE (#3726)Gravatar jonathanmetzman2020-05-13
| | | | | | | | Currently we use Github action's inputs as inputs to cifuzz. This means we need to do an extra step to convert each input into an env var so our scripts can actually use it. This is pretty bug prone and unnecessary, we should probably get rid of this abstraction and switch to encouraging devs to set the env vars directly.
* Revert "[CIFuzz] Add support for different sanitizers (#3516)"Gravatar Jonathan Metzman2020-04-28
| | | | This reverts commit 9b30127675b0bf295648e2f907df0d756ff5a2eb.
* [CIFuzz] Add support for different sanitizers (#3516)Gravatar Leo Neat2020-04-28
|
* [CIFuzz] Adding dry_run mode to check_build (#3444)Gravatar Leo Neat2020-02-28
| | | Prevents crash from surfacing when dry run mode is enabled and check fuzzers fails.
* [CIFuzz] Check fuzzers (#3419)Gravatar Leo Neat2020-02-27
| | | Checks that the fuzzer build was a success in the build action.
* [CIFuzz] Check crash on most recent OSS-Fuzz build (#3385)Gravatar Leo Neat2020-02-19
| | | Adds functionality to check if a crash exists in the most recent OSS-Fuzz build. This is necessary to determine if a crash was introduced in the current pull request or existed in the project already. Crashes that are surfaced to the user will be both reproducible and novel to the OSS-Fuzz project.
* [CIFuzz] Change 'bug_report' directory to 'artifacts'. (#3369)Gravatar Leo Neat2020-02-11
|
* [CIFuzz] Add parse fuzzer output functionality (#3342)Gravatar Leo Neat2020-02-10
|
* Fixing entrypoint (#3354)Gravatar Leo Neat2020-02-06
|
* [CIFuzz] Separate build and run actions (#3336)Gravatar Leo Neat2020-02-06
| | | | | | | | | | | | | | | | | | | | | | * Separating actions into build and run * Formatting * Formatting * Removing project-name from run action * Jonathan comments * Maxs comments pt.1 * Updating example_main.yml * Switch 1 0 to true false * Add base Dockerfile for CIFuzz * Adding license to dockerfile
* [cifuzz] Dummy change to test something.Gravatar Max Moroz2020-02-06
|
* [CIFuzz] Prevent action from failing option (#3315)Gravatar Leo Neat2020-02-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adding opt to workflow to prevent failures * fclose bug * Undoing double negitive * Undoing double negitive * Undoing double negitive * Syntax and formatting * Olivers comments * Presubmit fix * Trying boolean argument * cleaning * cleaning fuzz disassembles * Maxs comments pt.2 * Updating dry_run parse * Comments added * Formatting * Olivers comments
* [cifuzz] - commit and pull request hook functionality (#3310)Gravatar Leo Neat2020-01-31
|
* [Infra] CIFuzz pipeline complete. (#3281)Gravatar Leo Neat2020-01-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* [infra] CIFuzz - Add github action to OSS-Fuzz repo (#3214)Gravatar Leo Neat2020-01-13