Oliver Chang
2ef8e32bfa
Move targets_list to base-runner.
2018-07-27 14:59:02 +10:00
Oliver Chang
60fb6a8d7b
Generate and upload targets list during build. ( #1660 )
2018-07-27 13:29:51 +10:00
Abhishek Arya
4e87bd622d
Revert "Add support for running perffuzz in infra/helper.py ( #1540 )" ( #1578 )
...
This reverts commit 7f26e2fd92
.
2018-06-28 06:11:32 -07:00
Abhishek Arya
bcf3d1dfa8
Revert "[infra] Compile fuzzing engine without SANITIZER_FLAGS unless MSan is used. ( #1522 )" ( #1574 )
...
This reverts commit 63d9392e59
.
2018-06-26 13:08:14 -07:00
Abhishek Arya
7f26e2fd92
Add support for running perffuzz in infra/helper.py ( #1540 )
...
* Add support for running perffuzz in infra/helper.py
https://github.com/carolemieux/perffuzz
* Update compile_perffuzz
* Update run_fuzzer
2018-06-19 15:02:00 -07:00
Max Moroz
63d9392e59
[infra] Compile fuzzing engine without SANITIZER_FLAGS unless MSan is used. ( #1522 )
...
* [infra] Compile fuzzing engine without SANITIZER_FLAGS unless MSan is used.
* Use an additional FUZZING_ENGINE_SANITIZER_FLAGS variable and simplify the script
* Use $FUZZING_ENGINE_SANITIZER_FLAGS in compile_libfuzzer.
2018-06-18 10:10:01 -07:00
Max Moroz
20e55ce3b1
[infra] Enable clange code coverage reports generation for local runs. ( #1494 )
...
* [infra] Enable clange code coverage reports generation for local runs.
* Use runner image and move corpus management to the helper.py
.
* Clean up, delete unnecessary stuff, add comments.
* Run fuzz targets in parallel. Do not exit in case of an error.
* Address review feedback, except of the threading thing.
* Fix a typo.
* Use ThreadPool implementatino available in standard python2.7 package.
* Add dry run support + no corpus download option.
* Fix flags handling + add log output in case of an error.
* Append arguments for fuzz target instead of replacing them.
* Remove dry run functionality as it currently errors out after two runs.
* Fix some spacing in the code.
* Update documentation regarding new code coverage script.
2018-06-14 15:00:46 -07:00
jonathanmetzman
3971aef60d
[AFL] Improve builds of AFL package. ( #1386 )
...
Improve builds of AFL package.
Silence trivial known compile warning when building afl-llvm-rt.o.c
Also, don't build afl-fuzz using CFLAGS and CXXFLAGS since we don't
actually want to sanitize it.
This should cause AFL to be built with -O3 -funroll-loops (the defaults) instead of -fsanitize=... -O1 and -ginline-tables-only.
2018-04-30 13:17:13 -07:00
Oliver Chang
3d0c96c087
Make MSan builds with instrumented libraries ( #608 ) ( #1064 )
2018-01-11 12:56:33 +11:00
Max Moroz
c069a7c780
Revert of "[infra] Reland profile configuration needed for new code coverage.".
...
See more information in comments for PR #1050 .
2017-12-28 15:10:53 -08:00
Max Moroz
add7bbbb2d
[infra] Reland profile configuration needed for new code coverage. ( #1050 )
2017-12-28 11:10:47 -08:00
Max Moroz
5c5d71f4b3
[infra] Fix broken markup in documentation files.
2017-12-22 09:09:40 -08:00
robertswiecki
6f2b0b598a
Use standard clang/clang++ to build binaries to-be-fuzzed ( #1031 )
2017-12-09 15:08:04 -08:00
Max Moroz
6204899516
[infra] Use "-fsanitize=fuzzer-no-link" instead of coverage flags. ( #975 )
2017-11-14 07:32:06 -08:00
Oliver Chang
ccfb26c04c
Add Chakra. ( #937 )
2017-11-01 10:11:00 +11:00
Oliver Chang
312cd47208
Add priliminary support for "engine-less" builds.
...
Needed for #925 .
2017-10-31 15:22:58 +11:00
Max Moroz
5e8a407923
[infra] Remove UIO from UBSan flags as it may create a lot of noise in the logs ( #910 ).
2017-10-28 22:34:41 -07:00
Max Moroz
2c23c20d8c
[infra] enable -fsanitize=unsigned-integer-overflow in non-faulting mode ( #910 ). ( #927 )
2017-10-27 14:13:11 -07:00
Max Moroz
63a6cb31b4
[infra] Fix the check for COVERAGE_FLAGS overrides in "compile" script. ( #907 )
...
* [infra] Fix the check for COVERAGE_FLAGS overrides in "compile" script.
* Add -pthread to coverage flags ("profile" sanitizer).
2017-10-20 17:15:02 -07:00
Oliver Chang
b598181e29
Don't set sanitizer coverage flags for profile builds ( #891 ).
2017-10-13 15:23:44 -07:00
Max Moroz
6a6163110a
[infra] Add another coverage build using Clang Source-based Code Coverage. ( #804 )
...
* [infra] Add another coverage build using Clang Source-based Code Coverage.
* [infra] Remove redundant compile_coverage script.
2017-08-31 13:43:06 -07:00
Oliver Chang
621b2d4153
Update Dockerfile
2017-07-24 17:56:52 -07:00
Max Moroz
3cee68fa11
[infra] Remove "null" check from UBSan options. ( #674 )
...
There is not much value for us from this particular check:
- UBSan's "null" reports leading to real crashes are reported with ASan as well.
- Potential null references are not real crashes and might be considered
as false positives, though it seems to be UB as per the standard.
2017-06-12 10:46:53 -07:00
robertswiecki
fc451ca8af
Practically revert 182f607f9b
as it will force CC compiler for CXX in honggfuzz ( #658 )
2017-06-07 12:52:46 -07:00
robertswiecki
182f607f9b
Use standard $CC as $HFUZZ_CC_ASAN to avoid expensive compiler search ( #656 )
2017-06-07 12:03:46 -07:00
Abhishek Arya
e999b2cbab
Enable 'return' feature for UBsan ( #232 )
2017-06-02 17:01:55 -07:00
robertswiecki
268d8052a2
Support honggfuzz as a FUZZING_ENGINE ( #636 )
2017-06-01 17:55:01 -07:00
Max Moroz
04e42ac17a
[infra] Use only 'array-bounds' check of UBSan's 'bounds' check ( #573 ).
...
For more info: https://github.com/google/oss-fuzz/pull/573#issuecomment-300494440
2017-05-10 16:13:28 +02:00
Max Moroz
19e73d89e9
[infra] Extend set of UBSan checks enabled. ( #573 )
2017-05-09 14:16:58 +02:00
Oliver Chang
4896be51cd
Create a separate coverage build.
...
First part of #191 .
2017-05-08 11:17:27 -07:00
Oliver Chang
60835ac420
oss-fuzz/BASE_IMAGE -> oss-fuzz-base/BASE_IMAGE
2017-03-22 12:12:51 -07:00
Oliver Chang
c2feab5746
More ossfuzz/IMAGE -> gcr.io/oss-fuzz/IMAGE.
2017-03-15 19:11:01 -07:00
Oliver Chang
7df64d4ac4
[infra] ossfuzz/IMAGE -> gcr.io/oss-fuzz/IMAGE
2017-03-15 18:46:31 -07:00
Mike Aizatsky
6488931029
[infra] using str comparison
2017-03-10 16:11:34 -08:00
Mike Aizatsky
72ec6fcc03
[infra] accepting OSSFUZZ_REVISION env variable
2017-03-10 11:14:20 -08:00
Abhishek Arya
534c720afc
Build AFL libs with -O2, #421
2017-03-07 09:29:39 -08:00
Abhishek Arya
1e9d8d25fd
Enable AddressUseAfterScope everywhere, fix #426
2017-03-06 10:05:31 -08:00
Mike Aizatsky
6af349b61f
[infra] simplifying bash
2017-03-03 16:37:19 -08:00
Mike Aizatsky
4e0110dc18
[infra] syntax fix
2017-03-03 15:31:38 -08:00
Mike Aizatsky
a7ed13b878
[infra] do not create uid 0
2017-03-03 14:30:45 -08:00
Oliver Chang
228f6d1b91
afl: don't override sanitizer flags
2017-02-22 09:03:58 -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
2e00fe90d1
[infra] (experimental) Support building with AFL ( #396 )
2017-02-16 15:09:37 -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