Kostya Serebryany
a2dfae1fff
[libFuzzer] reshuffle docs more
...
llvm-svn: 268961
2016-05-09 19:32:10 +00:00
Kostya Serebryany
abfac46023
[libFuzzer] reshuffle docs
...
llvm-svn: 268959
2016-05-09 19:29:53 +00:00
Kostya Serebryany
0a6c26e4dc
[libFuzzer] better document the -merge=1 flag, part 2
...
llvm-svn: 268958
2016-05-09 19:23:28 +00:00
Kostya Serebryany
61b07ac75b
[libFuzzer] better document the -merge=1 flag
...
llvm-svn: 268957
2016-05-09 19:11:36 +00:00
Kostya Serebryany
ceca476b23
[libFuzzer] modify the docs for startup/init
...
llvm-svn: 268824
2016-05-06 23:51:28 +00:00
Kostya Serebryany
1ed1aeaa94
[libFuzzer] tweak the documentation about rss_limit
...
llvm-svn: 268822
2016-05-06 23:41:11 +00:00
Kostya Serebryany
8b8f7a3cda
[libFuzzer] enhance -rss_limit_mb and enable by default. Now it will print the OOM reproducer.
...
llvm-svn: 268821
2016-05-06 23:38:07 +00:00
Kostya Serebryany
62023f24ed
[libFuzzer] more trophies
...
llvm-svn: 268788
2016-05-06 20:14:48 +00:00
Kostya Serebryany
ec77af3a4b
[libFuzzer] better docs for coverage
...
llvm-svn: 268656
2016-05-05 18:07:09 +00:00
Kostya Serebryany
dced5d3fcb
[libFuzzer] fix docs
...
llvm-svn: 268092
2016-04-29 19:28:24 +00:00
Kostya Serebryany
2fe9304d62
[libFuzzer] enable detect_leaks=1, add proper docs
...
llvm-svn: 268088
2016-04-29 18:49:55 +00:00
Kostya Serebryany
7456af5a28
[libFuzzer] Improve documentation
...
Reviewers: kcc
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D19585
llvm-svn: 267892
2016-04-28 15:19:05 +00:00
Kostya Serebryany
c138b64578
[libFuzzer] more trophies
...
llvm-svn: 266830
2016-04-19 22:37:44 +00:00
Kostya Serebryany
fece67402c
[libFuzzer] add fresh openssl trophies
...
llvm-svn: 266649
2016-04-18 18:41:25 +00:00
Kostya Serebryany
a283ddc515
[libFuzzer] menion the git mirror in the docs
...
llvm-svn: 266476
2016-04-15 21:10:27 +00:00
Kostya Serebryany
0d234c382e
[libFuzzer] more trophies
...
llvm-svn: 264804
2016-03-29 23:13:25 +00:00
Kostya Serebryany
9e1a238357
[libFuzzer] more docs
...
llvm-svn: 264803
2016-03-29 23:07:36 +00:00
Kostya Serebryany
2cf9082831
[libFuzzer] one more trophie
...
llvm-svn: 263868
2016-03-19 01:05:33 +00:00
Kostya Serebryany
49e409068a
[libFuzzer] add a flag close_fd_mask so that we can silence spammy targets by closing stderr/stdout
...
llvm-svn: 263831
2016-03-18 20:58:29 +00:00
Kostya Serebryany
241fb61fdb
[libFuzzer] refresh docs more
...
llvm-svn: 263332
2016-03-12 03:23:02 +00:00
Kostya Serebryany
7ead926582
[libFuzzer] refresh docs more
...
llvm-svn: 263331
2016-03-12 03:11:27 +00:00
Kostya Serebryany
abca88e481
[libFuzzer] refresh docs more
...
llvm-svn: 263330
2016-03-12 03:05:37 +00:00
Kostya Serebryany
d11dc176b1
[libFuzzer] refresh docs
...
llvm-svn: 263328
2016-03-12 02:56:25 +00:00
Kostya Serebryany
64d24578d8
[libFuzzer] try to use max_len based on the items of the corpus instead of blindly defaulting to 64 bytes.
...
llvm-svn: 263323
2016-03-12 01:57:04 +00:00
Kostya Serebryany
721f61a00e
[libFuzzer] more trophies
...
llvm-svn: 262509
2016-03-02 19:45:10 +00:00
Kostya Serebryany
3c767db3c5
[libFuzzer] don't emit callbacks to sanitizer run-time in -fsanitize-coverage=trace-pc mode; update libFuzzer doc for previous commit
...
llvm-svn: 262110
2016-02-27 05:45:12 +00:00
Kostya Serebryany
bfbe7fc404
[libFuzzer] allow passing 1 or more files as individual inputs
...
llvm-svn: 259459
2016-02-02 03:03:47 +00:00
Kostya Serebryany
54a6363a8f
[libFuzzer] add -timeout_exitcode option
...
llvm-svn: 259265
2016-01-29 23:30:07 +00:00
Kostya Serebryany
9768e7f06b
[libFuzzer] add -abort_on_timeout option
...
llvm-svn: 258631
2016-01-23 19:34:19 +00:00
Kostya Serebryany
aca7696f4d
[libFuzzer] introduce LLVMFuzzerInitialize
...
llvm-svn: 257980
2016-01-16 01:23:12 +00:00
Kostya Serebryany
550e9c80a6
[libFuzzer] deprecate -save_minimized_corpus, -merge can be used instead
...
llvm-svn: 256086
2015-12-19 03:42:16 +00:00
Kostya Serebryany
064a672f65
[libFuzzer] one more trophie
...
llvm-svn: 254825
2015-12-05 02:23:49 +00:00
Kostya Serebryany
1c80b9d315
[libFuzzer] clean up the docs, add one more link
...
llvm-svn: 254115
2015-11-26 00:12:57 +00:00
Kostya Serebryany
2d0ef14f5d
[libFuzzer] add a flag -exact_artifact_path
...
llvm-svn: 254100
2015-11-25 21:40:46 +00:00
Kostya Serebryany
12fa3b5ea7
[libFuzzer] more trophies
...
llvm-svn: 253006
2015-11-13 02:44:16 +00:00
Kostya Serebryany
240a159bd4
[libFuzzer] better links
...
llvm-svn: 252705
2015-11-11 05:25:24 +00:00
Kostya Serebryany
65e7126f00
[libFuzzer] more trophies
...
llvm-svn: 252704
2015-11-11 05:20:55 +00:00
Kostya Serebryany
9cc3b0ddb6
[libFuzzer] add -merge flag to merge corpora
...
llvm-svn: 251168
2015-10-24 01:16:40 +00:00
Kostya Serebryany
928eb33a9e
[libFuzzer] mention more trophies and improve the link formatting
...
llvm-svn: 250076
2015-10-12 18:15:42 +00:00
Kostya Serebryany
45dac2a3ac
[libFuzzer] document more trophies
...
llvm-svn: 249933
2015-10-10 02:14:18 +00:00
Kostya Serebryany
bd5d1cdbb9
[libFuzzer] add -artifact_prefix flag
...
llvm-svn: 249807
2015-10-09 03:57:59 +00:00
Kostya Serebryany
20bb5e71b2
[libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return int instead of void. The actual return value is not *yet* used (and expected to be 0). This change is API breaking, so the fuzzers will need to be updated.
...
llvm-svn: 249214
2015-10-02 23:34:06 +00:00
Kostya Serebryany
b85db178a0
[libFuzzer] add a flag -max_total_time
...
llvm-svn: 249181
2015-10-02 20:47:55 +00:00
Ivan Krasin
95e82d5b48
[LibFuzzer] test_single_input option to run a single test case.
...
-test_single_input flag specifies a file name with test data.
Review URL: http://reviews.llvm.org/D13359
Patch by Mike Aizatsky!
llvm-svn: 249096
2015-10-01 23:23:06 +00:00
Daniel Sanders
4fe1c8b24e
[llvm-mc-fuzzer] Fix -jobs option.
...
The fuzzer argument parser will ignore all options starting with '--' so
operation mode options should begin with '--' and fuzzer options should begin
with '-'. Fuzzer arguments must still follow --fuzzer-args so that they escape
the parsing performed by the CommandLine library.
llvm-svn: 248671
2015-09-26 17:09:01 +00:00
Daniel Sanders
5151b20f36
[llvm-mc-fuzzer] Document llvm-mc-fuzzer in LibFuzzer.rst.
...
llvm-svn: 247979
2015-09-18 10:47:45 +00:00
Mehdi Amini
30618f978e
Fix doc build: sublists require a blank line before/after.
...
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 247896
2015-09-17 15:59:52 +00:00
Daniel Sanders
205d1993bb
llvm-mc-fuzzer: A fuzzing tool for the MC layer.
...
Summary:
Only the disassembler is supported in this patch but it has already found a few
issues in the Mips disassembler (mostly invalid instructions being successfully
disassembled).
Reviewers: kcc
Subscribers: russell.gallop, silvas, kcc, llvm-commits
Differential Revision: http://reviews.llvm.org/D12723
llvm-svn: 247786
2015-09-16 11:49:49 +00:00
Kostya Serebryany
6292128698
[libFuzzer] mention more trophies
...
llvm-svn: 247425
2015-09-11 16:34:14 +00:00
Kostya Serebryany
b06fae5ede
[libFuzzer] better documentatio for -save_minimized_corpus=1
...
llvm-svn: 247033
2015-09-08 17:43:51 +00:00
Kostya Serebryany
7d21166218
[libFuzzer] actually make the dictionaries work (+docs)
...
llvm-svn: 246825
2015-09-04 00:12:11 +00:00
Kostya Serebryany
866e0d19f4
[libFuzzer] remove the section about '-tokens' as I am going to deprecate this option
...
llvm-svn: 246728
2015-09-02 22:44:46 +00:00
Kostya Serebryany
b98e327b61
[libFuzzer] update the docs to mention llvm-as-fuzzer
...
llvm-svn: 246471
2015-08-31 18:57:24 +00:00
Kostya Serebryany
ed483770b1
[libFuzzer] more trophies
...
llvm-svn: 244661
2015-08-11 20:34:48 +00:00
Kostya Serebryany
fdf4418a0b
[libFuzzer] fix docs build
...
llvm-svn: 244566
2015-08-11 04:16:37 +00:00
Kostya Serebryany
fab4fba93e
[libFuzzer] add the list of trophies to the docs. It is incomplete, additions are welcome :)
...
llvm-svn: 244560
2015-08-11 01:53:45 +00:00
Kostya Serebryany
bc7c0ad24d
[libFuzzer] add -only_ascii flag
...
llvm-svn: 244559
2015-08-11 01:44:42 +00:00
Kostya Serebryany
7f4227d59a
[libFuzzer] use data-flow feedback from strcmp
...
llvm-svn: 244084
2015-08-05 18:23:01 +00:00
Kostya Serebryany
b17e298a64
[libFuzzer] minimal documentation on data-flow-guided fuzzing
...
llvm-svn: 243793
2015-07-31 21:48:10 +00:00
Eric Christopher
572e03a396
Fix "the the" in comments.
...
llvm-svn: 240112
2015-06-19 01:53:21 +00:00
Kostya Serebryany
316b571007
[lib/Fuzzer] make the fuzzing timeout 1200 seconds by default (was: infinity)
...
llvm-svn: 238251
2015-05-26 20:57:47 +00:00
Kostya Serebryany
c5f905cceb
[lib/Fuzzer] fix docs
...
llvm-svn: 238236
2015-05-26 19:32:52 +00:00
Kostya Serebryany
926b9bdffc
[lib/Fuzzer] mention the user-supplied mutators
...
llvm-svn: 238062
2015-05-22 22:43:05 +00:00
Kostya Serebryany
2adfa3be0a
[lib/Fuzzer] more docs
...
llvm-svn: 237836
2015-05-20 21:03:03 +00:00
Kostya Serebryany
fb2f33183e
[lib/Fuzzer] update docs about test corpuses in git
...
llvm-svn: 237308
2015-05-13 22:42:28 +00:00
Kostya Serebryany
9690fcf12e
[lib/Fuzzer] guess the right number of workers if -jobs=N is given but -workers=M is not. Update the docs.
...
llvm-svn: 237163
2015-05-12 18:51:57 +00:00
Alexey Samsonov
21a3381a38
Update CMake flags, LibFuzzer comments and docs for new -fsanitize-coverage= flags.
...
llvm-svn: 236797
2015-05-07 23:33:24 +00:00
Kostya Serebryany
566bc5aa8a
[lib/Fuzzer] rename TestOneInput to LLVMFuzzerTestOneInput to make it more unique
...
llvm-svn: 236652
2015-05-06 22:19:00 +00:00
Alexey Samsonov
675e539f54
[docs] Fix the link to SanitizerCoverage docs.
...
llvm-svn: 235934
2015-04-27 22:50:06 +00:00
Kostya Serebryany
cd073d5475
[lib/Fuzzer] Section: How good is my fuzzer?
...
llvm-svn: 234571
2015-04-10 06:32:29 +00:00
Kostya Serebryany
6bd016be8e
[lib/Fuzzer] explain compatibility with AFL
...
llvm-svn: 234570
2015-04-10 05:44:43 +00:00
Kostya Serebryany
5e593a40fa
[lib/Fuzzer] show how to find Heartbleed with LibFuzzer
...
llvm-svn: 234391
2015-04-08 06:16:11 +00:00
Kostya Serebryany
043ab1c8a7
[fuzzer] document the -tokens flag. Also change the diagnostic output
...
llvm-svn: 233842
2015-04-01 21:33:20 +00:00
Kostya Serebryany
79677384c1
[fuzzer] more documentation
...
llvm-svn: 233763
2015-03-31 21:39:38 +00:00
Kostya Serebryany
35ce8630f3
Move lib/Fuzzer docs from a README.txt to a proper .rst file.
...
Summary:
Move lib/Fuzzer docs from a README.txt to a proper .rst file.
This change does not add any content, just formatting.
Test Plan: n/a
Reviewers: samsonov
Reviewed By: samsonov
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D8710
llvm-svn: 233638
2015-03-30 23:05:30 +00:00