Update new_library.md

This commit is contained in:
Mike Aizatsky 2016-10-25 14:41:22 -07:00 committed by GitHub
parent d7587c007e
commit cff43bca0b
1 changed files with 2 additions and 9 deletions

View File

@ -6,7 +6,8 @@ library go into <https://github.com/google/oss-fuzz/tree/master/targets/expat>.
## Prerequisites
[Install Docker]. (Googlers: [go/installdocker](https://goto.google.com/installdocker) )
[Install Docker]. Googlers: [go/installdocker](https://goto.google.com/installdocker).
([Why Docker?](faq.md#why-do-you-use-docker))
*NOTE: if you want to run `docker` without `sudo` also follow the optional [Create a docker group](https://docs.docker.com/engine/installation/linux/ubuntulinux/#/create-a-docker-group) section.*
@ -14,14 +15,6 @@ library go into <https://github.com/google/oss-fuzz/tree/master/targets/expat>.
*[docker-cleanup](https://gist.github.com/mikea/d23a839cba68778d94e0302e8a2c200f)*
*periodically to garbage collect unused images.*
Building fuzzers requires building your library with a fresh
Clang compiler and special compiler flags. An easy-to-use Docker image is
provided to simplify tool distribution.
If you'd like to get more familiar with how libFuzzer-style fuzzers work in
general, check out [this page](http://llvm.org/docs/LibFuzzer.html).
## Overview
To add a new OSS library to oss-fuzz, 3 supporting files have to be added to oss-fuzz source code repository: