Commit Graph

205 Commits

Author SHA1 Message Date
Mike Aizatsky a7ed13b878 [infra] do not create uid 0 2017-03-03 14:30:45 -08:00
Oliver Chang 7ebb132bbd afl: don't set mem limit. 2017-02-22 12:05:29 -08:00
Oliver Chang 228f6d1b91 afl: don't override sanitizer flags 2017-02-22 09:03:58 -08:00
Kostya Serebryany 3483393621 add FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION (#410) 2017-02-21 17:43:41 -08:00
Abhishek Arya b519da3809 Fix check to escape control characters, CDATA end sequence 2017-02-19 22:30:59 -08:00
Abhishek Arya 4411467e0b Fix crashes due to unicode output from woff2,libxml2 2017-02-19 15:59:59 -08:00
Abhishek Arya 499690c55f Enable UBSan without vptr for ffmpeg, disable vptr for libFuzzer. (#404) 2017-02-17 23:13:50 -08:00
Abhishek Arya 208517244b Disable object-size, crashing all targets, #232 2017-02-17 10:30:40 -08:00
Oliver Chang d68a23644e Fix test_report for AFL. 2017-02-16 21:43:31 -08:00
Oliver Chang 76762126ce Update run_fuzzer 2017-02-16 21:33:37 -08:00
Oliver Chang 2e00fe90d1 [infra] (experimental) Support building with AFL (#396) 2017-02-16 15:09:37 -08:00
Abhishek Arya 810b7fe47b Update test_report 2017-02-16 07:11:25 -08:00
Abhishek Arya 5ba44509fe Update test_all 2017-02-16 07:11:13 -08:00
Abhishek Arya 78d9525370 Update test_report 2017-02-15 13:25:53 -08:00
Abhishek Arya d7bd27b071 Update test_all 2017-02-15 13:25:36 -08:00
Abhishek Arya fef863b9ef Update test_all (#393) 2017-02-15 13:16:34 -08:00
Abhishek Arya c0ee841dc0 Update test_report (#392) 2017-02-15 13:15:56 -08:00
Abhishek Arya b2d512c47e Remove --no-create-home to fix #374. 2017-02-11 07:57:49 -08:00
Abhishek Arya 45d8efa8a6 Enable object-size in UBSan 2017-02-09 06:40:18 -08:00
Abhishek Arya 921f143c3e Update Dockerfile 2017-02-08 07:08:34 -08:00
Abhishek Arya c90ad0fee2 Update README.md 2017-02-02 18:48:11 -08:00
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