Commit Graph

184 Commits

Author SHA1 Message Date
Abhishek Arya b6a6514100 Update Dockerfile 2017-02-02 09:38:08 -08:00
Abhishek Arya e321b99479 Update compile_afl 2017-01-31 12:47:28 -08:00
Abhishek Arya 3125fbeff1 Fixes #263 2017-01-31 11:08:22 -08:00
Kostya Serebryany b74fe4041b build libFuzzer with -O2 (#335) 2017-01-30 20:43:00 -08:00
Abhishek Arya f52193a4b1 Update run_fuzzer 2017-01-26 13:53:56 -08:00
Abhishek Arya b4f6676dcf Update reproduce 2017-01-26 13:53:39 -08:00
Abhishek Arya a789bcc256 Update run_fuzzer 2017-01-26 12:59:30 -08:00
Abhishek Arya e7e371c0c9 Update reproduce 2017-01-26 12:59:09 -08:00
Kostya Serebryany 662df1fe24 [infra] add trace-cmp (#309)
Fixes #291
2017-01-23 15:37:18 -08:00
Oliver Chang 49baa72f5b Revert lld changes.
Causing:

"==19==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed" everywhere

Revert "[infra] disabling unused command line argument error"

This reverts commit 4332b19a9f.

Revert "[infra] using lld. Fixes #295. (#297)"

This reverts commit 446a6a7534.
2017-01-19 17:25:20 -08:00
Mike Aizatsky 4332b19a9f [infra] disabling unused command line argument error
several builds fail because of -fuse-ld flag
2017-01-19 14:58:19 -08:00
Mike Aizatsky 446a6a7534 [infra] using lld. Fixes #295. (#297) 2017-01-19 13:14:30 -08:00
Mike Aizatsky b32dc64e8a [infra] using trace-pc-guard by default. Fxes #84 (#292) 2017-01-18 12:34:22 -08:00
Mike Aizatsky 6841a534a1 [infra] removed debug output 2017-01-06 13:27:37 -08:00
Mike Aizatsky 59b8c60fac [infra] do not use any sanitizers for afl (#128) 2017-01-05 13:49:28 -08:00
Mike Aizatsky 23b72b4130 [infra] afl fuzzing engine support (#128)
Use FUZZING_ENGINE="afl" to build fuzzers.
2017-01-05 13:40:45 -08:00
Abhishek Arya adb6d612c1 Update Dockerfile
Fixes #245
2017-01-04 20:16:13 -08:00
Mike Aizatsky 2e4b96c93c [infra] enabling track origins for msan (#59) 2017-01-03 14:10:50 -08:00
Abhishek Arya 3cb1898cdd Update README.md 2017-01-03 11:04:50 -08:00
Abhishek Arya 35c191dd2a Update README.md 2017-01-03 10:53:45 -08:00
Abhishek Arya 6c4110d4a4 Fixes (#236)
* Add reproduce command.
* Remove unneeded run and just_run command with duplicate code as run_fuzzer.
* Fix docs for reproduction.
2017-01-03 10:47:05 -08:00
Mike Aizatsky 603ec83647 Update README.md 2016-12-29 14:29:32 -08:00
Mike Aizatsky 3d220f2588 [infra] renaming images: base->base-image, base-libfuzzer->base-builder
Continue publishing base-libfuzzer until images a built and
derived images migrated.

Issue #142
2016-12-29 13:39:41 -08:00
Mike Aizatsky 21bf4d622e [infra] adding afl to base image (#128) 2016-12-29 13:15:48 -08:00
Mike Aizatsky d75677378e [infra] enabling leak detector by default
Fixes #9
Issues like #224 should fail the build now.
2016-12-28 11:18:46 -08:00
Mike Aizatsky c4ac474aef [infra] chown $WORK as well: it will be mounted from outside of container 2016-12-27 13:47:44 -08:00
Mike Aizatsky 15fcfa0e52 [infra] run build.sh with -eu (exit on first error, error on undefined vars) 2016-12-27 09:39:59 -08:00
Mike Aizatsky 202b73edb8 [infra] Fixing undefined variable error
@alex, forget the explanation in fd244c7b34 ))

I think this is now how it was intended:

* ${parameter-default} expands to default if parameter is not set
* -n checks if expansion is not empty
2016-12-27 09:13:07 -08:00
Mike Aizatsky fd244c7b34 Revert "Fixed inverted conditional in compile script (#215)"
This reverts commit 43e03bc035.

The initial code was right:
(http://www.tldp.org/LDP/abs/html/parameter-substitution.html)

If $BUILD_ID is defined ${BUILD_ID+} evaluates to empty string.
If $BUILD_ID is not defined, it evaluates to null string.

-z of empty string is true
-z of null string is false

(welcome to bash).

@alex
2016-12-27 09:01:20 -08:00
Alex Gaynor 43e03bc035 Fixed inverted conditional in compile script (#215) 2016-12-24 11:57:01 -08:00
Mike Aizatsky a0e8a442b0 Update README.md 2016-12-22 10:48:28 -08:00
Mike Aizatsky 5a4daf8980 [infra] use $BUILD_UID if it is defined (fixes #30) (#211)
If $BUILD_UID is defined, then compile script will create a user
with a given UID and switch to it prior to calling project's build.sh.
2016-12-21 15:01:44 -08:00
Mike Aizatsky 45206f3484 [infra] nit 2016-12-15 20:57:29 -08:00
Mike Aizatsky 0a7dd52155 [infra] overriding default libraries for msan build #59 2016-12-15 20:57:07 -08:00
Mike Aizatsky 2de24fc520 [infra] build msan version of libcxx into /usr/msan/lib (#59). 2016-12-14 13:16:11 -08:00
Mike Aizatsky 5e02e09397 [infra] nit 2016-12-13 15:55:13 -08:00
inferno-chromium 01373acf7d Rename base-debug-runner->base-runner-debug, add hooks. (#181) 2016-12-13 15:07:53 -08:00
inferno-chromium e10b3b2d51 Remove libfuzzer-runner. (#179)
* Remove libfuzzer-runner.

* Add base-debug-runner.
2016-12-13 13:16:44 -08:00
Mike Aizatsky 5c2eb9da69 [infra] removing debug output 2016-12-13 13:11:47 -08:00
Mike Aizatsky 11b0c45f91 [infra] added memory sanitizer config 2016-12-13 12:47:20 -08:00
Abhishek Arya 4f3b0123f6 Fix merge conflict. 2016-12-13 11:10:15 -08:00
Abhishek Arya 10d8f2f7b2 Use same *SAN_OPTIONS as ClusterFuzz. 2016-12-13 11:07:48 -08:00
Mike Aizatsky 7bd5ae5115 [infra] coverage flags can be overriden on target basis. #84 2016-12-13 10:37:21 -08:00
Mike Aizatsky d03d1679f9 debugging on 2016-12-12 22:44:37 -08:00
Mike Aizatsky e30377104f debug output 2016-12-12 22:09:22 -08:00
Mike Aizatsky 4d0d878609 [infra] failure should be indicated by a separate tag. #168 2016-12-12 21:40:28 -08:00
Mike Aizatsky 7f162d0fed [infra] pipefail is no longer needed 2016-12-12 16:33:03 -08:00
Mike Aizatsky 598c8ba618 [infra] separate test_report script for jenkins integration
Separate test_report script runs tests and generates junit-style
reports. The script doesn't fail when fuzzer fails, but marks it as
failed instead.

Fixes #168
2016-12-12 16:30:51 -08:00
Oliver Chang f2e3c0e50d Include file in base-runner. (#160) 2016-12-09 12:32:40 -08:00
Oliver Chang 6dde379193 Fix fuzzer executable detection in test_all. (#156) 2016-12-08 12:41:14 -08:00