Kostya Serebryany
|
bcfb0802e2
|
[libFuzzer] enable use_cmp by default
llvm-svn: 285353
|
2016-10-27 21:44:37 +00:00 |
Kostya Serebryany
|
117976818e
|
[libFuzzer] add StandaloneFuzzTargetMain.c and a test for it
llvm-svn: 285135
|
2016-10-25 22:30:34 +00:00 |
Kostya Serebryany
|
2bfff021ad
|
[libFuzzer] add a test for asan's strict_string_checks=1
llvm-svn: 284902
|
2016-10-22 00:05:44 +00:00 |
Kostya Serebryany
|
1c73f1bf27
|
[libFuzzer] refactoring to make -shrink=1 work for value profile, added a test.
llvm-svn: 283409
|
2016-10-05 22:56:21 +00:00 |
Kostya Serebryany
|
379359c53a
|
[libFuzzer] add ShrinkValueProfileTest, move code around, NFC
llvm-svn: 283286
|
2016-10-05 01:09:40 +00:00 |
Kostya Serebryany
|
5ff481fd9e
|
[libFuzzer] add -exit_on_src_pos to test libFuzzer itself, add a test script for RE2 that uses this flag
llvm-svn: 282458
|
2016-09-27 00:10:20 +00:00 |
Kostya Serebryany
|
3e36ec1d18
|
[libFuzzer] change trace-pc to use 8-byte guards
llvm-svn: 281810
|
2016-09-17 05:04:47 +00:00 |
Kostya Serebryany
|
0984517021
|
[libFuzzer] make caller-callee feedback work with trace-pc-guard
llvm-svn: 281667
|
2016-09-15 22:16:15 +00:00 |
Kostya Serebryany
|
a5277d59d0
|
[libFuzzer] add 8-bit counters to trace-pc-guard handler
llvm-svn: 281568
|
2016-09-15 01:30:18 +00:00 |
Kostya Serebryany
|
a00b243c75
|
[libFuzzer] start using trace-pc-guard as an alternative source of coverage
llvm-svn: 281435
|
2016-09-14 02:13:06 +00:00 |
Kostya Serebryany
|
76f425211e
|
[libFuzzer] add a test that is built w/o coverage instrumentation but has the coverage rt (it should now fail with a descriptive message)
llvm-svn: 272090
|
2016-06-08 01:46:13 +00:00 |
Mike Aizatsky
|
3c1782f23b
|
[libfuzzer] splitting fuzzer.test
llvm-svn: 271697
|
2016-06-03 18:05:22 +00:00 |
Kostya Serebryany
|
f817731a19
|
[libFuzzer] when an invalid flag is given, warn, but don't crash
llvm-svn: 271404
|
2016-06-01 16:41:12 +00:00 |
Kostya Serebryany
|
470d04400e
|
[libFuzzer] use __sanitizer_set_report_fd with -close_fd_mask. This allows us to keep asan reports when closing target's stderr
llvm-svn: 271053
|
2016-05-27 21:46:22 +00:00 |
Kostya Serebryany
|
f1f3f93c9e
|
[libFuzzer] reimplement the way we do -only_ascii to allow more 'const' in function declarations. Add a test for -only_ascii. NFC intended
llvm-svn: 270900
|
2016-05-26 20:03:02 +00:00 |
Kostya Serebryany
|
ff2e6badbd
|
[libFuzzer] print stats if we crash on empty input
llvm-svn: 270639
|
2016-05-25 00:15:36 +00:00 |
Kostya Serebryany
|
6289536922
|
[libFuzzer] print the file name before executing the input so that if there is a crash we know which files has caused it
llvm-svn: 269450
|
2016-05-13 18:10:33 +00:00 |
Kostya Serebryany
|
baf7fd0b16
|
[libFuzzer] print stats after running individual inputs
llvm-svn: 268547
|
2016-05-04 20:44:50 +00:00 |
Kostya Serebryany
|
09087bba4d
|
[libFuzzer] warn if the corpus is empty
llvm-svn: 266670
|
2016-04-18 21:14:11 +00:00 |
Kostya Serebryany
|
b60397f54c
|
[libFuzzer] add a better warning for command line flags with -- (two dashes)
llvm-svn: 266480
|
2016-04-15 21:56:29 +00:00 |
Kostya Serebryany
|
315167339e
|
[libFuzzer] don't report memory leaks if we are dying due to a timeout (just use _Exit instead of exit in the timeout callback)
llvm-svn: 264237
|
2016-03-24 01:32:08 +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
|
c43b584c1c
|
[libFuzzer] read corpus dirs recursively
llvm-svn: 263773
|
2016-03-18 01:36:00 +00:00 |
Kostya Serebryany
|
c5575aabd6
|
[libFuzzer] deprecate several flags
llvm-svn: 263739
|
2016-03-17 19:59:39 +00:00 |
Kostya Serebryany
|
228d5b1ce4
|
[libFuzzer] add generic signal handlers so that libFuzzer can report at least something if ASan is not handlig the signals for us. Remove abort_on_timeout flag.
llvm-svn: 262415
|
2016-03-01 22:19:21 +00:00 |
Kostya Serebryany
|
66ff0756e4
|
[libFuzzer] add -print_final_stats=1 flag
llvm-svn: 262084
|
2016-02-26 22:42:23 +00:00 |
Kostya Serebryany
|
7ec0c56e07
|
[libFuzzer] get rid of UserSuppliedFuzzer; NFC
llvm-svn: 260798
|
2016-02-13 03:25:16 +00:00 |
Kostya Serebryany
|
ecab57b3ce
|
[libFuzzer] remove UserSuppliedFuzzer from the interface (it was a bad idea).
llvm-svn: 260796
|
2016-02-13 02:39:30 +00:00 |
Kostya Serebryany
|
22cc5e2375
|
[libFuzzer] provide a plain C interface for custom mutators (experimental)
llvm-svn: 260794
|
2016-02-13 02:29:38 +00:00 |
Kostya Serebryany
|
9d14e4bb15
|
[libFuzzer] make -runs=N flag also affect the simple runner (will execute every input N times)
llvm-svn: 260649
|
2016-02-12 02:32:03 +00:00 |
Kostya Serebryany
|
ce925c580e
|
[libFuzzer] hot fix a test
llvm-svn: 259732
|
2016-02-04 00:12:28 +00:00 |
Kostya Serebryany
|
b92602ada0
|
[libFuzzer] don't write the test unit when a leak is detected (since we don't know which unit causes the leak)
llvm-svn: 259731
|
2016-02-04 00:02:17 +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
|
078e984d8d
|
[libFuzzer] fail if the corpus dir does not exist
llvm-svn: 259454
|
2016-02-02 02:07:26 +00:00 |
Kostya Serebryany
|
311f27c0a8
|
[libFuzzer] use std::mt19937 for generating random numbers by default. Fix MyStoll to handle negative values. Use std::any_of instead of std::find_if
llvm-svn: 258178
|
2016-01-19 20:33:57 +00:00 |
Kostya Serebryany
|
aca7696f4d
|
[libFuzzer] introduce LLVMFuzzerInitialize
llvm-svn: 257980
|
2016-01-16 01:23:12 +00:00 |
Kostya Serebryany
|
d50a3eedb4
|
[libFuzzer] make sure we find buffer overflow in the input buffer. Previously, re-using the same vector object was hiding buffer overflows (unless we used annotated vector)
llvm-svn: 257701
|
2016-01-13 23:02:30 +00:00 |
Kostya Serebryany
|
152ac7ad70
|
[libFuzzer] add a position hint to the dictionary-based mutator
llvm-svn: 257013
|
2016-01-07 01:49:35 +00:00 |
Mike Aizatsky
|
8b11f877e4
|
[libfuzzer] print_new_cov_pcs experimental option.
Differential Revision: http://reviews.llvm.org/D15901
llvm-svn: 256882
|
2016-01-06 00:21:22 +00:00 |
Kostya Serebryany
|
bf65644c97
|
[libFuzzer] split the tests to run them in parallel, remove one redundant test
llvm-svn: 256085
|
2015-12-19 03:35:30 +00:00 |
Kostya Serebryany
|
27ab2d759f
|
[libFuzzer] make CrossOver just one of the other mutations
llvm-svn: 256081
|
2015-12-19 02:49:09 +00:00 |
Mike Aizatsky
|
a1a5c69b57
|
[LibFuzzer] Introducing FUZZER_FLAG_UNSIGNED and using it for seeding.
Differential Revision: http://reviews.llvm.org/D15339
done
llvm-svn: 255296
|
2015-12-10 20:41:53 +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
|
dc3135db05
|
[libFuzzer] experimental flag -drill (another search heuristic; Mike Aizatsky's idea)
llvm-svn: 252838
|
2015-11-12 01:02:01 +00:00 |
Kostya Serebryany
|
5eab74e9bc
|
[libFuzzer] make libFuzzer link if there is no sanitizer coverage instrumentation (it will fail at start-up time)
llvm-svn: 252533
|
2015-11-09 23:17:45 +00:00 |
Kostya Serebryany
|
2e9fca9f88
|
[libFuzzer] use the indirect caller-callee counter as an independent search heuristic
llvm-svn: 251078
|
2015-10-22 23:55:39 +00:00 |
Kostya Serebryany
|
b36025619c
|
[libFuzzer] remove the deprecated 'tokens' feature
llvm-svn: 251069
|
2015-10-22 21:48:09 +00:00 |
Kostya Serebryany
|
d6edce97fb
|
[libFuzzer] print a stack trace on timeout
llvm-svn: 250571
|
2015-10-16 23:04:31 +00:00 |
Kostya Serebryany
|
b91c62b1f3
|
[libFuzzer] When -test_single_input crashes the test it is not necessary to write crash-file because input is already known to the user. Patch by Mike Aizatsky
llvm-svn: 250564
|
2015-10-16 22:41:47 +00:00 |
Kostya Serebryany
|
bd5d1cdbb9
|
[libFuzzer] add -artifact_prefix flag
llvm-svn: 249807
|
2015-10-09 03:57:59 +00:00 |