Commit Graph

53 Commits

Author SHA1 Message Date
Abhishek Arya f479148aeb
Force symbolization in atheris python fuzz targets (#4765)
* Add artheris and python lib for stack symbolization in python targets.

* Switch to symbolize=1 in wrapper.
2020-12-02 07:20:10 -08:00
Abhishek Arya ff51681a11
Update python_lang.md 2020-12-01 10:50:00 -08:00
Abhishek Arya b4dd4b91de
Enable UBSan for python projects. (#4757)
* Enable UBSan for python projects.

* Update docs.
2020-11-30 13:26:33 -08:00
jonathanmetzman a75169f0d0
[docs] Fix docs to use "LLC" instead of "Inc." (#4756) 2020-11-30 12:38:01 -08:00
Abhishek Arya f043b86d7f
Leak detection is not expected to work with python targets, disable. (#4751)
Disable leak detection in python target execution wrapper since it
is not expected to work. Also, updated the documentation for python
-only code fuzzers to not use LD_PRELOAD.
2020-11-30 10:42:25 -08:00
Abhishek Arya 84616ae4ce
Fix "exec format error" due to incorrect shebang in python target. (#4746) 2020-11-29 18:49:47 -08:00
Catena cyber 6c9bd20f54
Golang modules documentation (#4711)
* Clones golang-protobuf into the expected directory

* Improves the documentation for golang projects with modules
2020-11-25 07:40:15 -08:00
mbarbella-chromium ea136f5106
Add documentation for Python fuzzing. (#4709)
* Add documentation for Python fuzzing.

* Minor formatting/wording changes
2020-11-24 16:19:45 -08:00
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
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
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 55a4e1d88a
Add CIFuzz documentation on how to run jobs on certain branches, paths (#4113) 2020-07-13 14:50:16 -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 48bd2b6377
Updated continuous_integration.md (#4014) 2020-06-20 08:31:51 -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
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
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
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
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
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 d1ed6b87a7
[docs] Add "Integrating a Go project" documentation page (#2714). (#2837)
* [docs] Add "Integrating a Go project" documentation page (#2714).

* rephrase go-fuzz mode description
2019-09-17 07:15:22 -07:00
Ammar Askar 3bce510ef1 [docs] Document shiny new badge in the docs (#2700)
* [docs] Document shiny new badge in the docs

Use monorail project link instead of build logs

Monorail link has advantage of showing previously found bugs.
It also shows any build failures (though the issue may be hard to find in long-lasting build failures).
The link sorts by date a bug was opened, thus some verified bugs will be shown before more recently opened ones.
2019-09-04 20:50:17 -07:00
Max Moroz a8c21cd243
[docs] Document FuzzedDataProvider support. (#2547)
* [docs][infra] Add build support for FuzzedDataProvider.

* address review comment

* document the new FDP location

* remove redundant new line
2019-08-26 13:42:59 -07:00
Max Moroz 1b54658a28
[docs] Replace "furthur" with "further" throughout the documentation. (#2737) 2019-08-21 15:10:15 -07:00
Abhishek Arya a0b039e7f9
Add documentation for vendor_ccs. (#2734)
* Add documentation for vendor_ccs.

* Address review comments.
2019-08-21 09:59:06 -07:00
jonathanmetzman 984b792dd9
Document i386 fuzzing (#2704) 2019-08-19 14:07:33 -07:00
Abhishek Arya 65e0da812b
Update new_project_guide.md (#2709) 2019-08-15 16:33:07 -07:00
Abhishek Arya 055f9836f3
Documentation fixes. (#2705) 2019-08-15 15:07:23 -07:00
Abhishek Arya b97503d279
Documentation fixes (#2689) 2019-08-12 14:15:33 -07:00
Abhishek Arya 1d86ee21f5
Update new_project_guide.md 2019-08-12 11:29:53 -07:00