diff options
author | Max Dymond <cmeister2@gmail.com> | 2017-08-27 15:57:05 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-09-01 11:22:51 +0200 |
commit | efeb4a317616b0437a26277945bd300eaffe96d7 (patch) | |
tree | 86f46482f6f9a4eb98fcad25eeb06ea0027b01dc /.travis.yml | |
parent | 222e65fd783bec974b99345e0d618d4e627304de (diff) | |
download | curl-efeb4a317616b0437a26277945bd300eaffe96d7.tar.gz |
ossfuzz: moving towards the ideal integration
- Start with the basic code from the ossfuzz project.
- Rewrite fuzz corpora to be binary files full of Type-Length-Value
data, and write a glue layer in the fuzzing function to convert
corpora into CURL options.
- Have supporting functions to generate corpora from existing tests
- Integrate with Makefile.am
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index c5505075a..cd8876e86 100644 --- a/.travis.yml +++ b/.travis.yml @@ -60,6 +60,10 @@ matrix: compiler: gcc dist: trusty env: T=distcheck + - os: linux + compiler: clang + dist: trusty + env: T=fuzzer install: - pip install --user cpp-coveralls @@ -138,6 +142,16 @@ script: cmake .. && \ make) fi + - | + if [ "$T" = "fuzzer" ]; then + export CC=clang + export CFLAGS="-fsanitize=address" + ./configure --disable-shared --enable-debug --enable-maintainer-mode + make + cd tests/fuzz + make clean + make check + fi # whitelist branches to avoid testing feature branches twice (as branch and as pull request) branches: |