Commit Graph

538 Commits

Author SHA1 Message Date
Catena cyber c031d50ec9
[infra] Golang coverage summary for each fuzz target (#2817, #2714). (#4671)
* Golang coverage summary for each fuzz target

* Document usage of compile_go_fuzzer

* update the documentation change

Co-authored-by: Max Moroz <mmoroz@chromium.org>
2020-11-20 10:55:33 -08:00
Max Moroz 87a4db3d13
[docs] Clarify the integration rewards page regarding the max reward amount. (#4599)
* [docs] Clarify the integration rewards page regarding the max reward amount.

* replace the "biggest rewards" with "top rewards"

* explain the rewards structure in more detail as suggested by Oliver

* fix a typo
2020-11-05 16:59:39 -08:00
Max Moroz f8bd878191
[docs] Reproducing: clarify that reproduce command works only with libfuzzer (#4497). (#4504)
The change was proposed by @pauldreik in https://github.com/google/oss-fuzz/issues/4497#issuecomment-703075579
2020-10-05 12:53:37 -07:00
jonathanmetzman 3d0b6aaa82
[cifuzz] Improve docs (#4359) 2020-09-08 17:29:10 -07:00
jonathanmetzman 8e5f144466
Fix typo in continuous_integration.md 2020-08-24 09:38:29 -07:00
Max Moroz e4d3fb0f8c
[infra][docs] Be more explicit about code coverage being supported for C/C++ only (#4284). (#4303)
* [infra][docs] Be more explicit about code coverage being supported for C/C++ only (#4284).

* fix typos and pass env variable
2020-08-12 09:32:05 -07:00
Max Moroz b11cb9587a
[docs] Remove link to the old builder (#3538). (#4257) 2020-08-06 11:36:40 -07:00
kabeer27 723ac5035b
Updating documentation to reflect new feature custom build frequency (#4235) 2020-08-03 10:43:35 -07:00
Abhishek Arya dbeab81f5d
Add corpus-dir to run_fuzzer, for later use in coverage cmd. (#4191)
* Add corpus-dir to run_fuzzer, for later use in coverage cmd.

* Update as per comment.
2020-07-24 16:41:45 -07:00
Max Moroz 70d278bb53
[infra] Rename msan-builder to msan-libs-builder (#3388). (#4190)
* [infra] Rename msan-builder to msan-libs-builder and add (broken) dfsan-libs-builder (#3388).

* remove dfsan-libs-builder for now

* presubmit format
2020-07-24 12:38:00 -07:00
Abhishek Arya 518eec903e
Upgrade docs rubygems. (#4165) 2020-07-20 08:00:45 -07:00
R. Elliott Childre d70f793353
Delete unnecessary files and fix format in some MD pages (#4115)
* style: Clean up the repo

* Bolster the `.gitignore`
* Follow `CONTRIBUTING.md` guidelines and wrap `README.md` to 80
  characters and seperate links for readability
* Remove pesky Unicode dash in `CONTRIBUTING.md`
* Remove `.DS_STORE` files
* Rename `#project.yaml#` to something logical and enable stntax
  highlighting

* Updates from reviewers

* Greatly reduce `.gitignore` to only macOS `.DS_Store` and Vim
  temporary files
* Apply markdown style to `docs/index.md`
* small comma grammatical change

* http -> https
2020-07-16 15:27:29 -07:00
Abhishek Arya 55a4e1d88a
Add CIFuzz documentation on how to run jobs on certain branches, paths (#4113) 2020-07-13 14:50:16 -07:00
Max Moroz bc2ae2ba51
[docs] Add FAQ entry regarding forked repos + bump the bundler version. (#4078)
* [docs] Add FAQ entry regarding forked repos + bump the bundler version.

* format
2020-07-07 09:22:05 -07:00
devtty1er d561c49ae5
Update Dockerfiles (#4070)
* Use LABEL in place of MAINTAINER

* Remove LABEL maintainer from Dockerfiles
2020-07-06 13:18:23 -07:00
Shivam7-1 eedf02164e
Updated rust_lang.md (#4017) 2020-06-22 08:05:20 -07:00
Shivam7-1 50bc1d647c
Updated reproducing.md (#4013) 2020-06-20 08:31:59 -07:00
Shivam7-1 48bd2b6377
Updated continuous_integration.md (#4014) 2020-06-20 08:31:51 -07:00
Shivam7-1 058247f3d3
Updated ideal_integration.md (#4011) 2020-06-19 07:47:00 -07:00
Shivam7-1 de5c5e69c3
Updated fuzzer_environment.md (#4009) 2020-06-18 08:21:49 -07:00
Evgeny Vereshchagin cce70171d4
docs: guard curly braces with {% raw %} .. {% endraw %} (#3994)
Just a follow-up to https://github.com/google/oss-fuzz/pull/3984 that
should address https://github.com/google/oss-fuzz/pull/3984#discussion_r440951881.
According to https://jekyllrb.com/docs/liquid/tags/#code-snippet-highlighting,
another option would be to add `render_with_liquid: false` in your front matter to
disable Liquid entirely for a particular document.
2020-06-16 09:43:53 -07:00
Evgeny Vereshchagin d9c7f893f3
[docs] switch to a matrix in the "sanitizer" example (#3984)
This was discussed in https://github.com/google/oss-fuzz/pull/3969#discussion_r439145136
2020-06-16 08:24:48 -07:00
Abhishek Arya 1106855b6a
Update index.md 2020-06-12 16:02:41 -07:00
Alex Crichton 6c21d442e1
Add Rust-specific setup instructions (#3978)
This is a follow-up to [this comment][1] which provides some intro docs
for how to get started quickly with a Rust project, explaining `cargo
fuzz` and some basic setup steps.

[1]: https://github.com/google/oss-fuzz/issues/3383#issuecomment-642137449
2020-06-12 12:13:05 -07:00
Evgeny Vereshchagin 26e8d7c772
[CIFuzz] Add support for different sanitizers (#3969)
* Revert "Revert "[CIFuzz] Add support for different sanitizers (#3516)""

This reverts commit c580d0d626.

* 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.
2020-06-11 18:27:01 -07:00
Zhicheng Cai 6b9b08eb60
[doc] Update new_project_guide.md (#3828) 2020-05-15 19:22:28 -07:00
Evgeny Vereshchagin 0093bb28f4
cifuzz: s/allowed_broken_targets_percentage/allowed-broken-targets-percentage/ (#3803) 2020-05-13 15:16:29 -07:00
jonathanmetzman 1f533163cc
[CIFuzz] Support ALLOWED_BROKEN_TARGETS_PERCENTAGE (#3726)
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.
2020-05-13 12:44:11 -07:00
Evgeny Vereshchagin 8ba4f3a375
cifuzz: upload artifacts only when the "run fuzzers" step fails (#3733)
Closes https://github.com/google/oss-fuzz/issues/3711
2020-04-30 09:40:39 -07:00
Jonathan Metzman c580d0d626 Revert "[CIFuzz] Add support for different sanitizers (#3516)"
This reverts commit 9b30127675.
2020-04-28 14:38:10 -07:00
Leo Neat 9b30127675
[CIFuzz] Add support for different sanitizers (#3516) 2020-04-28 12:31:36 -07:00
Max Moroz 13cb49b86c
[Go] remove "-lpthread" flag from "compile_fuzzer" and fix comments (#2714). (#3657)
* [Go] remove "-lpthread" flag from "compile_fuzzer" and fix comments (#2714).

* fix unrelated go-dns and gonids errors

* simplify golang/build.sh as per Abhishek's comment
2020-04-16 10:03:03 -07:00
Abhishek Arya 892cec4e75
Switch OSS projects to use native go-fuzz. (#3638)
* Switch OSS projects to use native go-fuzz.

* Fix go-json-iterator breakage, put source in package search dir.

* Revert syzkaller change, track bug in #3639
2020-04-13 21:57:30 -07:00
Max Moroz 6d88ff7c4f
[docs] Link the general definition of the fuzz target on the reference page (fixes #2148). (#3602) 2020-04-08 22:27:04 -07:00
Abhishek Arya 42bf235998
Add Honggfuzz to new project guide doc. 2020-04-07 21:29:16 -07:00
Leo Neat c04e4d288d
[CIFuzz] Documentation update (#3572)
* Documentation update

* Abhishek comments
2020-04-02 12:36:17 -07:00
Robert Löhning 4b5f1e60b5
[docs] Fix where to look (#3529) 2020-03-20 12:03:55 -07:00
Lovell Fuller 3c28d2a860
Upgrade lcamtuf.coredump.cx to HTTPS, as it has been (#3527)
accepting only HTTPS connections since approx 14th March.

This allows the builds for guetzli, libjpeg-turbo,
libtiff and libvips to succeed again.
2020-03-20 07:50:16 -07:00
Leo Neat d7a4a4b89f
Documentation update (#3518)
Just fixing a few spelling mistakes and added some features to the description.
2020-03-18 10:58:08 -07:00
Max Moroz 71f4914c45
[presubmit] Enforce language attribute in project.yaml to be always set. (#3477)
* [presubmit] Enforce language attribute in projectt.yaml to be always set.

* Update documentation, better presubmit check, new project template.

* add docstring to templates.py

* Add example values in the project.yaml template and remove python value for now

* Add "project: c++" to 256 projects

* format

* Add labels and selective_unpack sections to the presubmit check

* fix incorrect auto_ccs format in three projects

* fix nss emails after rebase
2020-03-10 11:08:01 -07:00
Max Moroz 072457fd3c [docs] Increase the documented disk size on the builder (caused confusion in #3382). 2020-03-06 07:54:33 -08:00
dependabot[bot] d52152df97
Bump nokogiri from 1.10.4 to 1.10.8 in /docs (#3430)
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.4 to 1.10.8.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.4...v1.10.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-26 11:51:08 +11:00
Leo Neat f16f391a18
Docs fix (#3416)
Small change to example file to reflect the current action state.
2020-02-21 10:48:22 -08:00
Leo Neat 39fe0d725b
[CIFuzz] Check crash on most recent OSS-Fuzz build (#3385)
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.
2020-02-19 15:32:30 -08:00
Max Moroz 4d8c828789
[docs] FAQ: fix honggfuzz info and add a question about corpora use. (#3410) 2020-02-19 15:27:58 -08:00
Leo Neat f2de39d8e0
Change arrows to ovals (#3386) 2020-02-13 16:21:52 -08:00
Leo Neat d376a98ae4
[CIFuzz] Documentation (#3368)
* CIFuzz documentation

* Maxs comments

* Jonathan comments

* Jonathan comments pt.2

* Adding images

* Maxs comments pt.2

* Image spacing

* Maxs comments pt.3

* Jonathan comments
2020-02-12 12:49:17 -08:00
Max Moroz 7751ab5a87
[infra] Introduce "language" attribute in the project.yaml (#3297). (#3299)
* [infra] Introduce "language" attribute in the project.yaml (#3297).

* follow up

* enable the attribute for more projects

* trailing newline
2020-01-30 15:36:44 -08:00
Max Moroz 14758dfe7d
[docs] Update the main docs page to mention fuzzing docs. (#3220)
* [docs] Update the main docs page to mention fuzzing docs.

* Add an FAQ entry too

* update the main readme and move the faq question up
2020-01-12 17:14:20 -08:00
Oliver Chang 84a2de2f84
Bump up rss limit to 2.5GB. (#3201) 2020-01-08 14:50:44 +11:00