Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [libFuzzer] Change Uninstrumented test name. | Marcos Pividori | 2017-02-08 | 1 | -1/+1 |
| | | | | | | | | | On Windows, executables with the word "uninst" included in their names are associated with administrator privileges. Differential Revision: https://reviews.llvm.org/D29549 llvm-svn: 294387 | ||||
* | [libFuzzer] Update fuzzer.test to properly set environment variables. | Marcos Pividori | 2017-02-08 | 1 | -1/+1 |
| | | | | | | | | Use env to set environment variables, so it works on Windows and Linux. Differential Revision: https://reviews.llvm.org/D29537 llvm-svn: 294385 | ||||
* | [libFuzzer] Update test to consider different exceptions. | Marcos Pividori | 2017-02-08 | 1 | -1/+1 |
| | | | | | | Differential Revision: https://reviews.llvm.org/D29531 llvm-svn: 294377 | ||||
* | [libFuzzer] use print+exit(1) instead of assert to report an error | Kostya Serebryany | 2017-01-21 | 1 | -1/+1 |
| | | | | llvm-svn: 292685 | ||||
* | [libFuzzer] add an assert to protect against LLVMFuzzerInitialize changing ↵ | Kostya Serebryany | 2017-01-20 | 1 | -0/+3 |
| | | | | | | argv[0] llvm-svn: 292652 | ||||
* | [libFuzzer] build libFuzzer itself with asan | Kostya Serebryany | 2016-12-12 | 1 | -1/+2 |
| | | | | llvm-svn: 289469 | ||||
* | [libFuzzer] test cleanup | Kostya Serebryany | 2016-12-10 | 1 | -5/+3 |
| | | | | llvm-svn: 289312 | ||||
* | [libFuzzer] switch all libFuzzer tests to use ↵ | Kostya Serebryany | 2016-12-10 | 1 | -5/+0 |
| | | | | | | -fsanitize-coverage=trace-pc-guard. Support for the previosly used instrumentation will be removed in the following changes llvm-svn: 289311 | ||||
* | [libFuzzer] enable use_cmp by default | Kostya Serebryany | 2016-10-27 | 1 | -1/+1 |
| | | | | llvm-svn: 285353 | ||||
* | [libFuzzer] add StandaloneFuzzTargetMain.c and a test for it | Kostya Serebryany | 2016-10-25 | 1 | -1/+1 |
| | | | | llvm-svn: 285135 | ||||
* | [libFuzzer] add a test for asan's strict_string_checks=1 | Kostya Serebryany | 2016-10-22 | 1 | -0/+4 |
| | | | | llvm-svn: 284902 | ||||
* | [libFuzzer] refactoring to make -shrink=1 work for value profile, added a test. | Kostya Serebryany | 2016-10-05 | 1 | -5/+5 |
| | | | | llvm-svn: 283409 | ||||
* | [libFuzzer] add ShrinkValueProfileTest, move code around, NFC | Kostya Serebryany | 2016-10-05 | 1 | -1/+1 |
| | | | | llvm-svn: 283286 | ||||
* | [libFuzzer] add -exit_on_src_pos to test libFuzzer itself, add a test script ↵ | Kostya Serebryany | 2016-09-27 | 1 | -0/+4 |
| | | | | | | for RE2 that uses this flag llvm-svn: 282458 | ||||
* | [libFuzzer] change trace-pc to use 8-byte guards | Kostya Serebryany | 2016-09-17 | 1 | -0/+4 |
| | | | | llvm-svn: 281810 | ||||
* | [libFuzzer] make caller-callee feedback work with trace-pc-guard | Kostya Serebryany | 2016-09-15 | 1 | -1/+2 |
| | | | | llvm-svn: 281667 | ||||
* | [libFuzzer] add 8-bit counters to trace-pc-guard handler | Kostya Serebryany | 2016-09-15 | 1 | -1/+7 |
| | | | | llvm-svn: 281568 | ||||
* | [libFuzzer] start using trace-pc-guard as an alternative source of coverage | Kostya Serebryany | 2016-09-14 | 1 | -0/+1 |
| | | | | llvm-svn: 281435 | ||||
* | [libFuzzer] add a test that is built w/o coverage instrumentation but has ↵ | Kostya Serebryany | 2016-06-08 | 1 | -0/+3 |
| | | | | | | the coverage rt (it should now fail with a descriptive message) llvm-svn: 272090 | ||||
* | [libfuzzer] splitting fuzzer.test | Mike Aizatsky | 2016-06-03 | 1 | -97/+0 |
| | | | | llvm-svn: 271697 | ||||
* | [libFuzzer] when an invalid flag is given, warn, but don't crash | Kostya Serebryany | 2016-06-01 | 1 | -0/+4 |
| | | | | llvm-svn: 271404 | ||||
* | [libFuzzer] use __sanitizer_set_report_fd with -close_fd_mask. This allows ↵ | Kostya Serebryany | 2016-05-27 | 1 | -1/+3 |
| | | | | | | us to keep asan reports when closing target's stderr llvm-svn: 271053 | ||||
* | [libFuzzer] reimplement the way we do -only_ascii to allow more 'const' in ↵ | Kostya Serebryany | 2016-05-26 | 1 | -0/+3 |
| | | | | | | function declarations. Add a test for -only_ascii. NFC intended llvm-svn: 270900 | ||||
* | [libFuzzer] print stats if we crash on empty input | Kostya Serebryany | 2016-05-25 | 1 | -0/+3 |
| | | | | llvm-svn: 270639 | ||||
* | [libFuzzer] print the file name before executing the input so that if there ↵ | Kostya Serebryany | 2016-05-13 | 1 | -2/+2 |
| | | | | | | is a crash we know which files has caused it llvm-svn: 269450 | ||||
* | [libFuzzer] print stats after running individual inputs | Kostya Serebryany | 2016-05-04 | 1 | -0/+4 |
| | | | | llvm-svn: 268547 | ||||
* | [libFuzzer] warn if the corpus is empty | Kostya Serebryany | 2016-04-18 | 1 | -0/+1 |
| | | | | llvm-svn: 266670 | ||||
* | [libFuzzer] add a better warning for command line flags with -- (two dashes) | Kostya Serebryany | 2016-04-15 | 1 | -0/+2 |
| | | | | llvm-svn: 266480 | ||||
* | [libFuzzer] don't report memory leaks if we are dying due to a timeout (just ↵ | Kostya Serebryany | 2016-03-24 | 1 | -4/+0 |
| | | | | | | use _Exit instead of exit in the timeout callback) llvm-svn: 264237 | ||||
* | [libFuzzer] add a flag close_fd_mask so that we can silence spammy targets ↵ | Kostya Serebryany | 2016-03-18 | 1 | -0/+29 |
| | | | | | | by closing stderr/stdout llvm-svn: 263831 | ||||
* | [libFuzzer] read corpus dirs recursively | Kostya Serebryany | 2016-03-18 | 1 | -0/+9 |
| | | | | llvm-svn: 263773 | ||||
* | [libFuzzer] deprecate several flags | Kostya Serebryany | 2016-03-17 | 1 | -1/+1 |
| | | | | llvm-svn: 263739 | ||||
* | [libFuzzer] add generic signal handlers so that libFuzzer can report at ↵ | Kostya Serebryany | 2016-03-01 | 1 | -0/+5 |
| | | | | | | least something if ASan is not handlig the signals for us. Remove abort_on_timeout flag. llvm-svn: 262415 | ||||
* | [libFuzzer] add -print_final_stats=1 flag | Kostya Serebryany | 2016-02-26 | 1 | -0/+8 |
| | | | | llvm-svn: 262084 | ||||
* | [libFuzzer] get rid of UserSuppliedFuzzer; NFC | Kostya Serebryany | 2016-02-13 | 1 | -0/+1 |
| | | | | llvm-svn: 260798 | ||||
* | [libFuzzer] remove UserSuppliedFuzzer from the interface (it was a bad idea). | Kostya Serebryany | 2016-02-13 | 1 | -2/+0 |
| | | | | llvm-svn: 260796 | ||||
* | [libFuzzer] provide a plain C interface for custom mutators (experimental) | Kostya Serebryany | 2016-02-13 | 1 | -0/+4 |
| | | | | llvm-svn: 260794 | ||||
* | [libFuzzer] make -runs=N flag also affect the simple runner (will execute ↵ | Kostya Serebryany | 2016-02-12 | 1 | -1/+7 |
| | | | | | | every input N times) llvm-svn: 260649 | ||||
* | [libFuzzer] hot fix a test | Kostya Serebryany | 2016-02-04 | 1 | -1/+1 |
| | | | | llvm-svn: 259732 | ||||
* | [libFuzzer] don't write the test unit when a leak is detected (since we ↵ | Kostya Serebryany | 2016-02-04 | 1 | -0/+3 |
| | | | | | | don't know which unit causes the leak) llvm-svn: 259731 | ||||
* | [libFuzzer] allow passing 1 or more files as individual inputs | Kostya Serebryany | 2016-02-02 | 1 | -0/+12 |
| | | | | llvm-svn: 259459 | ||||
* | [libFuzzer] fail if the corpus dir does not exist | Kostya Serebryany | 2016-02-02 | 1 | -0/+3 |
| | | | | llvm-svn: 259454 | ||||
* | [libFuzzer] use std::mt19937 for generating random numbers by default. Fix ↵ | Kostya Serebryany | 2016-01-19 | 1 | -0/+3 |
| | | | | | | MyStoll to handle negative values. Use std::any_of instead of std::find_if llvm-svn: 258178 | ||||
* | [libFuzzer] introduce LLVMFuzzerInitialize | Kostya Serebryany | 2016-01-16 | 1 | -0/+2 |
| | | | | llvm-svn: 257980 | ||||
* | [libFuzzer] make sure we find buffer overflow in the input buffer. ↵ | Kostya Serebryany | 2016-01-13 | 1 | -0/+3 |
| | | | | | | Previously, re-using the same vector object was hiding buffer overflows (unless we used annotated vector) llvm-svn: 257701 | ||||
* | [libFuzzer] add a position hint to the dictionary-based mutator | Kostya Serebryany | 2016-01-07 | 1 | -4/+2 |
| | | | | llvm-svn: 257013 | ||||
* | [libfuzzer] print_new_cov_pcs experimental option. | Mike Aizatsky | 2016-01-06 | 1 | -0/+6 |
| | | | | | | Differential Revision: http://reviews.llvm.org/D15901 llvm-svn: 256882 | ||||
* | [libFuzzer] split the tests to run them in parallel, remove one redundant test | Kostya Serebryany | 2015-12-19 | 1 | -40/+1 |
| | | | | llvm-svn: 256085 | ||||
* | [libFuzzer] make CrossOver just one of the other mutations | Kostya Serebryany | 2015-12-19 | 1 | -6/+6 |
| | | | | llvm-svn: 256081 | ||||
* | [LibFuzzer] Introducing FUZZER_FLAG_UNSIGNED and using it for seeding. | Mike Aizatsky | 2015-12-10 | 1 | -2/+2 |
| | | | | | | | | Differential Revision: http://reviews.llvm.org/D15339 done llvm-svn: 255296 |