summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/test/fuzzer.test
Commit message (Collapse)AuthorAgeFilesLines
* [libFuzzer] Change Uninstrumented test name.Marcos Pividori2017-02-081-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 Pividori2017-02-081-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 Pividori2017-02-081-1/+1
| | | | | | Differential Revision: https://reviews.llvm.org/D29531 llvm-svn: 294377
* [libFuzzer] use print+exit(1) instead of assert to report an errorKostya Serebryany2017-01-211-1/+1
| | | | llvm-svn: 292685
* [libFuzzer] add an assert to protect against LLVMFuzzerInitialize changing ↵Kostya Serebryany2017-01-201-0/+3
| | | | | | argv[0] llvm-svn: 292652
* [libFuzzer] build libFuzzer itself with asanKostya Serebryany2016-12-121-1/+2
| | | | llvm-svn: 289469
* [libFuzzer] test cleanupKostya Serebryany2016-12-101-5/+3
| | | | llvm-svn: 289312
* [libFuzzer] switch all libFuzzer tests to use ↵Kostya Serebryany2016-12-101-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 defaultKostya Serebryany2016-10-271-1/+1
| | | | llvm-svn: 285353
* [libFuzzer] add StandaloneFuzzTargetMain.c and a test for itKostya Serebryany2016-10-251-1/+1
| | | | llvm-svn: 285135
* [libFuzzer] add a test for asan's strict_string_checks=1Kostya Serebryany2016-10-221-0/+4
| | | | llvm-svn: 284902
* [libFuzzer] refactoring to make -shrink=1 work for value profile, added a test.Kostya Serebryany2016-10-051-5/+5
| | | | llvm-svn: 283409
* [libFuzzer] add ShrinkValueProfileTest, move code around, NFCKostya Serebryany2016-10-051-1/+1
| | | | llvm-svn: 283286
* [libFuzzer] add -exit_on_src_pos to test libFuzzer itself, add a test script ↵Kostya Serebryany2016-09-271-0/+4
| | | | | | for RE2 that uses this flag llvm-svn: 282458
* [libFuzzer] change trace-pc to use 8-byte guardsKostya Serebryany2016-09-171-0/+4
| | | | llvm-svn: 281810
* [libFuzzer] make caller-callee feedback work with trace-pc-guardKostya Serebryany2016-09-151-1/+2
| | | | llvm-svn: 281667
* [libFuzzer] add 8-bit counters to trace-pc-guard handlerKostya Serebryany2016-09-151-1/+7
| | | | llvm-svn: 281568
* [libFuzzer] start using trace-pc-guard as an alternative source of coverageKostya Serebryany2016-09-141-0/+1
| | | | llvm-svn: 281435
* [libFuzzer] add a test that is built w/o coverage instrumentation but has ↵Kostya Serebryany2016-06-081-0/+3
| | | | | | the coverage rt (it should now fail with a descriptive message) llvm-svn: 272090
* [libfuzzer] splitting fuzzer.testMike Aizatsky2016-06-031-97/+0
| | | | llvm-svn: 271697
* [libFuzzer] when an invalid flag is given, warn, but don't crashKostya Serebryany2016-06-011-0/+4
| | | | llvm-svn: 271404
* [libFuzzer] use __sanitizer_set_report_fd with -close_fd_mask. This allows ↵Kostya Serebryany2016-05-271-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 Serebryany2016-05-261-0/+3
| | | | | | function declarations. Add a test for -only_ascii. NFC intended llvm-svn: 270900
* [libFuzzer] print stats if we crash on empty inputKostya Serebryany2016-05-251-0/+3
| | | | llvm-svn: 270639
* [libFuzzer] print the file name before executing the input so that if there ↵Kostya Serebryany2016-05-131-2/+2
| | | | | | is a crash we know which files has caused it llvm-svn: 269450
* [libFuzzer] print stats after running individual inputsKostya Serebryany2016-05-041-0/+4
| | | | llvm-svn: 268547
* [libFuzzer] warn if the corpus is emptyKostya Serebryany2016-04-181-0/+1
| | | | llvm-svn: 266670
* [libFuzzer] add a better warning for command line flags with -- (two dashes)Kostya Serebryany2016-04-151-0/+2
| | | | llvm-svn: 266480
* [libFuzzer] don't report memory leaks if we are dying due to a timeout (just ↵Kostya Serebryany2016-03-241-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 Serebryany2016-03-181-0/+29
| | | | | | by closing stderr/stdout llvm-svn: 263831
* [libFuzzer] read corpus dirs recursivelyKostya Serebryany2016-03-181-0/+9
| | | | llvm-svn: 263773
* [libFuzzer] deprecate several flagsKostya Serebryany2016-03-171-1/+1
| | | | llvm-svn: 263739
* [libFuzzer] add generic signal handlers so that libFuzzer can report at ↵Kostya Serebryany2016-03-011-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 flagKostya Serebryany2016-02-261-0/+8
| | | | llvm-svn: 262084
* [libFuzzer] get rid of UserSuppliedFuzzer; NFCKostya Serebryany2016-02-131-0/+1
| | | | llvm-svn: 260798
* [libFuzzer] remove UserSuppliedFuzzer from the interface (it was a bad idea).Kostya Serebryany2016-02-131-2/+0
| | | | llvm-svn: 260796
* [libFuzzer] provide a plain C interface for custom mutators (experimental)Kostya Serebryany2016-02-131-0/+4
| | | | llvm-svn: 260794
* [libFuzzer] make -runs=N flag also affect the simple runner (will execute ↵Kostya Serebryany2016-02-121-1/+7
| | | | | | every input N times) llvm-svn: 260649
* [libFuzzer] hot fix a testKostya Serebryany2016-02-041-1/+1
| | | | llvm-svn: 259732
* [libFuzzer] don't write the test unit when a leak is detected (since we ↵Kostya Serebryany2016-02-041-0/+3
| | | | | | don't know which unit causes the leak) llvm-svn: 259731
* [libFuzzer] allow passing 1 or more files as individual inputsKostya Serebryany2016-02-021-0/+12
| | | | llvm-svn: 259459
* [libFuzzer] fail if the corpus dir does not existKostya Serebryany2016-02-021-0/+3
| | | | llvm-svn: 259454
* [libFuzzer] use std::mt19937 for generating random numbers by default. Fix ↵Kostya Serebryany2016-01-191-0/+3
| | | | | | MyStoll to handle negative values. Use std::any_of instead of std::find_if llvm-svn: 258178
* [libFuzzer] introduce LLVMFuzzerInitializeKostya Serebryany2016-01-161-0/+2
| | | | llvm-svn: 257980
* [libFuzzer] make sure we find buffer overflow in the input buffer. ↵Kostya Serebryany2016-01-131-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 mutatorKostya Serebryany2016-01-071-4/+2
| | | | llvm-svn: 257013
* [libfuzzer] print_new_cov_pcs experimental option.Mike Aizatsky2016-01-061-0/+6
| | | | | | Differential Revision: http://reviews.llvm.org/D15901 llvm-svn: 256882
* [libFuzzer] split the tests to run them in parallel, remove one redundant testKostya Serebryany2015-12-191-40/+1
| | | | llvm-svn: 256085
* [libFuzzer] make CrossOver just one of the other mutationsKostya Serebryany2015-12-191-6/+6
| | | | llvm-svn: 256081
* [LibFuzzer] Introducing FUZZER_FLAG_UNSIGNED and using it for seeding.Mike Aizatsky2015-12-101-2/+2
| | | | | | | | Differential Revision: http://reviews.llvm.org/D15339 done llvm-svn: 255296
OpenPOWER on IntegriCloud