Matt Morehouse
21ed2a6e29
[libFuzzer] Include TEMP_MAX_LEN in Fuzzer::PrintStats.
...
Reviewers: kcc
Reviewed By: kcc
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D43597
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325817 91177308-0d34-0410-b5e6-96231b3b80d8
2018-02-22 19:00:17 +00:00
Kostya Serebryany
1fe1bd128c
[libFuzzer] add a flag -malloc_limit_mb
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319590 91177308-0d34-0410-b5e6-96231b3b80d8
2017-12-01 22:12:04 +00:00
Kostya Serebryany
eb4cb7ad5c
[libFuzzer] mention one more trophie in the Linux Kernel
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319397 91177308-0d34-0410-b5e6-96231b3b80d8
2017-11-30 02:26:47 +00:00
Kostya Serebryany
549203e435
[libFuzzer] add docs for -reduce_inputs
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318439 91177308-0d34-0410-b5e6-96231b3b80d8
2017-11-16 18:58:14 +00:00
Kostya Serebryany
5808caed59
[libFuzzer] update links in the docs
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317837 91177308-0d34-0410-b5e6-96231b3b80d8
2017-11-09 21:35:28 +00:00
Kostya Serebryany
05ceafb725
[libFuzzer] update the docs, document how to resume the merge
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317836 91177308-0d34-0410-b5e6-96231b3b80d8
2017-11-09 21:32:02 +00:00
Justin Bogner
89b77ce2ca
docs: Add some information about Fuzzing LLVM itself
...
This splits some content out of the libFuzzer docs and adds a fair
amount of detail about the fuzzers in LLVM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315544 91177308-0d34-0410-b5e6-96231b3b80d8
2017-10-12 01:44:24 +00:00
Kostya Serebryany
1f2266ac54
[libFuzzer] one more trophy
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313562 91177308-0d34-0410-b5e6-96231b3b80d8
2017-09-18 20:48:35 +00:00
Kostya Serebryany
0a4c4a2bdd
[libFuzzer] recommend Clang Coverage for coverage visualization
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310751 91177308-0d34-0410-b5e6-96231b3b80d8
2017-08-11 20:32:47 +00:00
George Karpenkov
41ae6058c0
Update libFuzzer documentation for -fsanitize=fuzzer-no-link flag
...
Differential Revision: https://reviews.llvm.org/D36602
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310734 91177308-0d34-0410-b5e6-96231b3b80d8
2017-08-11 17:23:45 +00:00
George Karpenkov
ba96863e68
[libFuzzer tests] Only enable libFuzzer tests if
...
-DLIBFUZZER_ENABLE_TESTS=ON is set.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310100 91177308-0d34-0410-b5e6-96231b3b80d8
2017-08-04 19:29:16 +00:00
George Karpenkov
32fab3343b
Port libFuzzer tests to LIT. Do not require two-stage build for check-fuzzer.
...
This revision ports all libFuzzer tests apart from the unittest to LIT.
The advantages of doing so include:
- Tests being self-contained
- Much easier debugging of a single test
- No need for using a two-stage compilation
The unit-test is still compiled using CMake, but it does not need a
freshly built compiler.
NOTE: The previous two-stage bot configuration will NOT work, as in the
second stage build LLVM_USE_SANITIZER is set, which disables ASAN from
being built.
Thus bots will be reconfigured in the next few commits.
Differential Revision: https://reviews.llvm.org/D36295
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310075 91177308-0d34-0410-b5e6-96231b3b80d8
2017-08-04 17:19:45 +00:00
Kostya Serebryany
a575cf69b3
[libFuzzer] enable reduce_inputs=1 by default (seems to be a big win usually)
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308541 91177308-0d34-0410-b5e6-96231b3b80d8
2017-07-19 22:10:30 +00:00
Hiroshi Inoue
2b4e72ee27
fix typo in document; NFC
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307775 91177308-0d34-0410-b5e6-96231b3b80d8
2017-07-12 12:16:22 +00:00
Kostya Serebryany
ea56ec314e
[libFuzzer] update docs on -print_coverage/-dump_coverage
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302498 91177308-0d34-0410-b5e6-96231b3b80d8
2017-05-09 01:34:27 +00:00
George Karpenkov
6f76a43cea
Updates documentation for a syntax sugar libfuzzer flag,
...
as implemented in https://reviews.llvm.org/D32193
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301217 91177308-0d34-0410-b5e6-96231b3b80d8
2017-04-24 18:39:52 +00:00
George Karpenkov
e6dc33fc17
Testing commit credentials
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301200 91177308-0d34-0410-b5e6-96231b3b80d8
2017-04-24 17:28:32 +00:00
Kostya Serebryany
2bb40bf078
[libFuzzer] more trophies
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300366 91177308-0d34-0410-b5e6-96231b3b80d8
2017-04-14 20:11:16 +00:00
Kostya Serebryany
26071eb844
[libFuzzer] better link for trophies
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292318 91177308-0d34-0410-b5e6-96231b3b80d8
2017-01-18 00:45:02 +00:00
Kostya Serebryany
94ab0f2699
[libFuzzer] doc update
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289849 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-15 18:47:22 +00:00
Kostya Serebryany
68f637f244
[libFuzzer] document one more desired feature of a fuzz target
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289622 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-14 01:31:21 +00:00
Kostya Serebryany
f6d63ccc90
[libFuzzer] better documentation for -fsanitize-coverage=trace-cmp
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287240 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-17 17:31:54 +00:00
Kostya Serebryany
be3001891b
[libFuzzer] one more trophy
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286703 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-12 02:55:45 +00:00
Kostya Serebryany
9a9bc142bf
[libFuzzer] minor docs update
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286299 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-08 21:57:37 +00:00
Kostya Serebryany
2d1f4f5e9e
[libFuzzer] fix -error_exitcode=N, now with a test
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285958 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-03 19:31:18 +00:00
Kostya Serebryany
51fb510623
[libFuzzer] mention one more trophie
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285465 91177308-0d34-0410-b5e6-96231b3b80d8
2016-10-28 22:03:54 +00:00
Kostya Serebryany
a3dd1fe4c0
[libFuzzer] a bit more docs
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285415 91177308-0d34-0410-b5e6-96231b3b80d8
2016-10-28 16:55:29 +00:00
Kostya Serebryany
cbc0087a47
[libFuzzer] docs: update the examples
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285344 91177308-0d34-0410-b5e6-96231b3b80d8
2016-10-27 21:03:48 +00:00
Kostya Serebryany
23d90fc543
[libFuzzer] docs: separate section for fuzz target
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285339 91177308-0d34-0410-b5e6-96231b3b80d8
2016-10-27 20:45:35 +00:00
Kostya Serebryany
f8e32dda35
[libFuzzer] remove large examples from the libFuzzer docs and link to the libFuzzer tutorial instead; also fix a build error in another file
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285337 91177308-0d34-0410-b5e6-96231b3b80d8
2016-10-27 20:14:03 +00:00
Kostya Serebryany
95134530d1
[libFuzzer] refresh docs
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285157 91177308-0d34-0410-b5e6-96231b3b80d8
2016-10-26 01:55:17 +00:00
Kostya Serebryany
aa9584aa78
[libFuzzer] mention one more trophie
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284866 91177308-0d34-0410-b5e6-96231b3b80d8
2016-10-21 20:01:45 +00:00
Mike Aizatsky
e4bd610ba8
[libfuzzer] sancov documentation update
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282953 91177308-0d34-0410-b5e6-96231b3b80d8
2016-09-30 21:07:04 +00:00
Kostya Serebryany
05e1dea79e
[libFuzzer] remove use_traces=1 since use_value_profile seems to be strictly better
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281007 91177308-0d34-0410-b5e6-96231b3b80d8
2016-09-09 01:17:03 +00:00
Kostya Serebryany
10c8c3c91f
[libFuzzer] add missing docs
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280996 91177308-0d34-0410-b5e6-96231b3b80d8
2016-09-08 22:21:13 +00:00
Kostya Serebryany
7750b380af
[libFizzer] rename -print_new_cov_pcs=1 into -print_pcs=1 and make it more useful: print PCs only after the initial corpus has been read and symbolize them
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279787 91177308-0d34-0410-b5e6-96231b3b80d8
2016-08-25 22:35:08 +00:00
Kostya Serebryany
5c091363f7
[libFuzzer] fix link in docs
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279589 91177308-0d34-0410-b5e6-96231b3b80d8
2016-08-23 23:43:08 +00:00
Kostya Serebryany
94041883a5
[libFuzzer] docs on value profile
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279587 91177308-0d34-0410-b5e6-96231b3b80d8
2016-08-23 23:36:21 +00:00
Kostya Serebryany
afcd0577ed
[libFuzzer] mention one more trophie in LLVM
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278582 91177308-0d34-0410-b5e6-96231b3b80d8
2016-08-13 00:12:32 +00:00
Kostya Serebryany
45edca1acf
[libFuzzer] fix typo in docs
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278563 91177308-0d34-0410-b5e6-96231b3b80d8
2016-08-12 20:42:24 +00:00
Kostya Serebryany
9f5007947e
[libFuzzer] docs: merge two lines with cmake instructions, add -DLLVM_ENABLE_ASSERTIONS=ON
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272088 91177308-0d34-0410-b5e6-96231b3b80d8
2016-06-08 01:31:40 +00:00
Kostya Serebryany
994c559755
[docs] fix the build by including ScudoHardenedAllocator into toc; mention SourceBasedCodeCoverage.html in libFuzzer docs
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272070 91177308-0d34-0410-b5e6-96231b3b80d8
2016-06-07 23:13:54 +00:00
Kostya Serebryany
4e0bd0b554
[libFuzzer] fix docs
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271493 91177308-0d34-0410-b5e6-96231b3b80d8
2016-06-02 06:06:34 +00:00
Kostya Serebryany
7f9dfc29fc
[libFuzzer] docs: add contact, mention more trophies
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271490 91177308-0d34-0410-b5e6-96231b3b80d8
2016-06-02 05:45:42 +00:00
Kostya Serebryany
dc4065fcc1
[libFuzzer] use __sanitizer_set_report_fd with -close_fd_mask. This allows us to keep asan reports when closing target's stderr
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271053 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-27 21:46:22 +00:00
Kostya Serebryany
7dd7cd10c8
[libFuzzer] document the proposed FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270744 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-25 18:41:53 +00:00
Mike Aizatsky
bfd4119f3c
[libfuzzer][doc] documenting running libfuzzer tests.
...
Differential Revision: http://reviews.llvm.org/D20594
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270626 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-24 22:25:46 +00:00
Kostya Serebryany
2ec40a608f
[libFuzzer] mention the AFL driver in the docs
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269143 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-10 23:52:47 +00:00
Kostya Serebryany
c48930b338
[libFuzzer] add a test for libFuzzer+ubsan, extend the docs on using libFuzzer+ubsan
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268968 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-09 21:02:36 +00:00
Kostya Serebryany
ce06f035f9
[libFuzzer] reshuffle docs more
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268961 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-09 19:32:10 +00:00