diff options
author | Max Moroz <mmoroz@chromium.org> | 2020-01-30 15:36:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 15:36:44 -0800 |
commit | 7751ab5a87907ec971beace9d4d139aaab6287cf (patch) | |
tree | 8e13cdaa566f4ae3d6915ae7ffdf38d8e95b9b56 /docs/getting-started | |
parent | 1405af8d0ae702576d13b9659d95cb84d6b7e03e (diff) | |
download | oss-fuzz-7751ab5a87907ec971beace9d4d139aaab6287cf.tar.gz |
[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
Diffstat (limited to 'docs/getting-started')
-rw-r--r-- | docs/getting-started/new-project-guide/go_lang.md | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/docs/getting-started/new-project-guide/go_lang.md b/docs/getting-started/new-project-guide/go_lang.md index 800485ca5..939bae739 100644 --- a/docs/getting-started/new-project-guide/go_lang.md +++ b/docs/getting-started/new-project-guide/go_lang.md @@ -30,12 +30,19 @@ libFuzzer command line interface as non-Go fuzz targets. ## Project files The structure of the project directory in OSS-Fuzz repository doesn't differ for -projects written in Go. The project files have the following Go specific aspects. +projects written in Go. The project files have the following Go specific +aspects. ### project.yaml -For projects written in Go, we use only `libfuzzer` fuzzing engine and `address` -sanitizer. +The `language` attribute must be specified. + +```yaml +language: go +``` + +The only supported fuzzing engine and sanitizer are `libfuzzer` and `address`, +respectively. [Example](https://github.com/google/oss-fuzz/blob/356f2b947670b7eb33a1f535c71bc5c87a60b0d1/projects/syzkaller/project.yaml#L7): ```yaml |