Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fuzzer: Fix library dependencies. | Peter Collingbourne | 2015-12-16 | 1 | -0/+6 |
| | | | | | | | | Newer versions of libstdc++ (4.9+), as well as libc++, depend directly on libpthread from the standard library headers, so libfuzzer needs to declare a standard library dependency. llvm-svn: 255745 | ||||
* | [LibFuzzer] Introducing FUZZER_FLAG_UNSIGNED and using it for seeding. | Mike Aizatsky | 2015-12-10 | 5 | -9/+25 |
| | | | | | | | | Differential Revision: http://reviews.llvm.org/D15339 done llvm-svn: 255296 | ||||
* | [libFuzzer] don't reload the corpus more than once every second | Kostya Serebryany | 2015-12-05 | 1 | -1/+6 |
| | | | | llvm-svn: 254824 | ||||
* | [libFuzzer] compute base64 in-process instead of using an external lib. ↵ | Kostya Serebryany | 2015-12-04 | 5 | -10/+45 |
| | | | | | | Since libFuzzer should not depend on anything, just re-implement base64 encoder. PR25746 llvm-svn: 254784 | ||||
* | Libfuzzer: do not pass null into user function | Mike Aizatsky | 2015-12-02 | 2 | -1/+7 |
| | | | | | | Differential Revision: http://reviews.llvm.org/D15098 llvm-svn: 254558 | ||||
* | [libFuzzer] add a test that is built with -fsanitize-coverage=trace-bb | Kostya Serebryany | 2015-12-02 | 2 | -0/+22 |
| | | | | llvm-svn: 254484 | ||||
* | [libFuzzer] add a flag -exact_artifact_path | Kostya Serebryany | 2015-11-25 | 5 | -0/+12 |
| | | | | llvm-svn: 254100 | ||||
* | [libFuzzer] don't crash when reporting a leak in test_single_input mode | Kostya Serebryany | 2015-11-21 | 1 | -2/+4 |
| | | | | llvm-svn: 253761 | ||||
* | [libFuzzer] remove default initializer as a workaround for ↵ | Kostya Serebryany | 2015-11-18 | 1 | -1/+1 |
| | | | | | | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68399. Don't need it anyway. llvm-svn: 253419 | ||||
* | [libFuzzer] make libFuzzer build even with a compiler that does not have ↵ | Kostya Serebryany | 2015-11-13 | 3 | -10/+26 |
| | | | | | | sanitizer headers llvm-svn: 253003 | ||||
* | output_csv libfuzzer option | Mike Aizatsky | 2015-11-12 | 4 | -8/+25 |
| | | | | | | | | | | | Summary: The option outputs statistics in CSV format preceded by 1 header line. This is intended for machine processing of the output. -verbosity=0 should likely be set. Differential Revision: http://reviews.llvm.org/D14600 llvm-svn: 252856 | ||||
* | [libFuzzer] experimental flag -drill (another search heuristic; Mike ↵ | Kostya Serebryany | 2015-11-12 | 6 | -20/+89 |
| | | | | | | Aizatsky's idea) llvm-svn: 252838 | ||||
* | [libFuzzer] add UninstrumentedTest.cpp (missing from a previous commit) | Kostya Serebryany | 2015-11-10 | 1 | -0/+8 |
| | | | | llvm-svn: 252658 | ||||
* | [libFuzzer] make libFuzzer link if there is no sanitizer coverage ↵ | Kostya Serebryany | 2015-11-09 | 4 | -0/+50 |
| | | | | | | instrumentation (it will fail at start-up time) llvm-svn: 252533 | ||||
* | [libFuzzer] print a bit fewer lines | Kostya Serebryany | 2015-11-05 | 2 | -2/+3 |
| | | | | llvm-svn: 252123 | ||||
* | [libFuzzer] when choosing the next unit to mutate, give some preference to ↵ | Kostya Serebryany | 2015-11-04 | 2 | -26/+46 |
| | | | | | | the most recent units (they are more likely to be interesting) llvm-svn: 252097 | ||||
* | [libFuzzer] make -test_single_input more reliable: make sure the input's ↵ | Kostya Serebryany | 2015-11-03 | 1 | -1/+3 |
| | | | | | | size is equal to it's capacity llvm-svn: 251961 | ||||
* | [libFuzzer] add -merge flag to merge corpora | Kostya Serebryany | 2015-10-24 | 5 | -0/+72 |
| | | | | llvm-svn: 251168 | ||||
* | [libFuzzer] remove some old code; also make ↵ | Kostya Serebryany | 2015-10-23 | 4 | -13/+4 |
| | | | | | | __sanitizer_get_total_unique_caller_callee_pairs weak so that newer libFuzzer works with older asan llvm-svn: 251133 | ||||
* | [libFuzzer] use the indirect caller-callee counter as an independent search ↵ | Kostya Serebryany | 2015-10-22 | 7 | -1/+79 |
| | | | | | | heuristic llvm-svn: 251078 | ||||
* | [libFuzzer] more refactoring the code that checks the coverage. NFC | Kostya Serebryany | 2015-10-22 | 2 | -8/+9 |
| | | | | llvm-svn: 251075 | ||||
* | [libFuzzer] refactoring the code that checks the coverage. NFC | Kostya Serebryany | 2015-10-22 | 2 | -33/+43 |
| | | | | llvm-svn: 251074 | ||||
* | [libFuzzer] remove the deprecated 'tokens' feature | Kostya Serebryany | 2015-10-22 | 7 | -99/+8 |
| | | | | llvm-svn: 251069 | ||||
* | Make a bunch of static arrays const. | Craig Topper | 2015-10-18 | 1 | -1/+1 |
| | | | | llvm-svn: 250642 | ||||
* | [libFuzzer] add -shuffle flag | Kostya Serebryany | 2015-10-17 | 4 | -5/+10 |
| | | | | llvm-svn: 250603 | ||||
* | [libFuzzer] print a stack trace on timeout | Kostya Serebryany | 2015-10-16 | 4 | -0/+17 |
| | | | | llvm-svn: 250571 | ||||
* | [libFuzzer] reduce the size of artifacts printed on the screen | Kostya Serebryany | 2015-10-16 | 1 | -1/+1 |
| | | | | llvm-svn: 250565 | ||||
* | [libFuzzer] When -test_single_input crashes the test it is not necessary to ↵ | Kostya Serebryany | 2015-10-16 | 5 | -5/+18 |
| | | | | | | write crash-file because input is already known to the user. Patch by Mike Aizatsky llvm-svn: 250564 | ||||
* | [libFuzzer] don't print large artifacts to stderr | Kostya Serebryany | 2015-10-09 | 1 | -6/+7 |
| | | | | llvm-svn: 249808 | ||||
* | [libFuzzer] add -artifact_prefix flag | Kostya Serebryany | 2015-10-09 | 5 | -5/+14 |
| | | | | llvm-svn: 249807 | ||||
* | [libFuzzer] fix 32-bit build | Kostya Serebryany | 2015-10-08 | 1 | -1/+1 |
| | | | | llvm-svn: 249646 | ||||
* | [libFuzzer] trying to fix at-exit hang | Kostya Serebryany | 2015-10-03 | 1 | -1/+1 |
| | | | | llvm-svn: 249231 | ||||
* | [libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return ↵ | Kostya Serebryany | 2015-10-02 | 20 | -33/+62 |
| | | | | | | 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 | ||||
* | [libFuzzer] remove experimental flag and functionality | Kostya Serebryany | 2015-10-02 | 5 | -38/+3 |
| | | | | llvm-svn: 249194 | ||||
* | [libFuzzer] add a flag -max_total_time | Kostya Serebryany | 2015-10-02 | 5 | -1/+12 |
| | | | | llvm-svn: 249181 | ||||
* | [LibFuzzer] test_single_input option to run a single test case. | Ivan Krasin | 2015-10-01 | 5 | -1/+13 |
| | | | | | | | | | | -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 | ||||
* | [libFuzzer] Marking exported symbols as visible. Patch by Mike Aizatsky | Kostya Serebryany | 2015-09-30 | 1 | -1/+2 |
| | | | | llvm-svn: 248954 | ||||
* | [libFuzzer] perform fewer crossover operations compared to plain mutations | Kostya Serebryany | 2015-09-11 | 1 | -7/+8 |
| | | | | llvm-svn: 247364 | ||||
* | [libFuzzer] refactor the code to allow building libFuzzer on platforms that ↵ | Kostya Serebryany | 2015-09-10 | 2 | -17/+65 |
| | | | | | | don't have dfsan and don't support weak functions llvm-svn: 247321 | ||||
* | [libFuzzer] add two more variants of FuzzerDriver for convenience | Kostya Serebryany | 2015-09-10 | 2 | -20/+39 |
| | | | | llvm-svn: 247300 | ||||
* | [libFuzzer]Add a test for defeating a hash sum. | Ivan Krasin | 2015-09-08 | 3 | -0/+40 |
| | | | | | | | | | | | | | | | | | Summary: Add a test for a data followed by 4-byte hash value. I use a slightly modified Jenkins hash function, as described in https://en.wikipedia.org/wiki/Jenkins_hash_function The modification is to ensure that hash(zeros) != 0. Reviewers: kcc Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D12648 llvm-svn: 247076 | ||||
* | [libFuzzer] remove a piece of stale code | Kostya Serebryany | 2015-09-08 | 1 | -41/+1 |
| | | | | llvm-svn: 247067 | ||||
* | [libFuzzer] be more robust when dealing with files on disk (e.g. don't crash ↵ | Kostya Serebryany | 2015-09-08 | 1 | -4/+2 |
| | | | | | | if a file was there but disappeared) llvm-svn: 247066 | ||||
* | [libFuzzer] better documentatio for -save_minimized_corpus=1 | Kostya Serebryany | 2015-09-08 | 1 | -1/+2 |
| | | | | llvm-svn: 247033 | ||||
* | [libFuzzer] remove -iterations as redundant (there is also -num_runs) | Kostya Serebryany | 2015-09-08 | 4 | -7/+4 |
| | | | | llvm-svn: 247030 | ||||
* | [libFuzzer] add one more mutator: Mutate_ChangeASCIIInteger | Kostya Serebryany | 2015-09-08 | 3 | -0/+67 |
| | | | | llvm-svn: 247027 | ||||
* | [libFuzzer] more accurate logic for traces, 80-char fix | Kostya Serebryany | 2015-09-04 | 1 | -6/+5 |
| | | | | llvm-svn: 246888 | ||||
* | [libFuzzer] when a single mutation fails try a few more times with other ↵ | Kostya Serebryany | 2015-09-04 | 1 | -7/+14 |
| | | | | | | mutations before returning un-mutated data llvm-svn: 246828 | ||||
* | [libFuzzer] actually make the dictionaries work (+docs) | Kostya Serebryany | 2015-09-04 | 9 | -24/+170 |
| | | | | llvm-svn: 246825 | ||||
* | [libFuzzer] refactor the mutation functions so that they are now methods of ↵ | Kostya Serebryany | 2015-09-03 | 5 | -69/+80 |
| | | | | | | a class. NFC llvm-svn: 246808 |