Kostya Serebryany
|
207cfe14a9
|
[libFuzzer] record traces from the switch statements only when told to do so
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243768 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-07-31 18:09:08 +00:00 |
|
Kostya Serebryany
|
26e09e2da5
|
[libFuzzer] support switch interception in dfsan mode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243760 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-07-31 17:05:05 +00:00 |
|
Kostya Serebryany
|
02c18f4db9
|
[libFuzzer] trace switch statements and apply mutations based on the expected case values
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243726 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-07-31 01:33:06 +00:00 |
|
Kostya Serebryany
|
dd6dcb6cee
|
[libFuzzer] fix the strncmp interceptor -- it should respect short strings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243691 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-07-30 21:22:22 +00:00 |
|
Kostya Serebryany
|
11186e1752
|
[libFuzzer] implement strncmp hook for data-flow-guided fuzzing (w/ and w/o dfsan), add a test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243611 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-07-30 02:33:45 +00:00 |
|
Kostya Serebryany
|
c01d39e6b8
|
[libFuzzer] implement memcmp hook for data-flow-guided fuzzing (w/o dfsan), extend the memcmp fuzzer test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243603 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-07-30 01:34:58 +00:00 |
|
Kostya Serebryany
|
c830cebe1f
|
[libFuzzer] ensure that the dfsan tracing hooks actually run (using -verbosity=3 in tests)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243365 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-07-28 01:25:00 +00:00 |
|
Kostya Serebryany
|
322fda4b3e
|
[libFuzzer] when using cmp traces, first check that the CMP is evaluated to one value much more frequently than to the other value (heuristic)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243363 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-07-28 00:59:53 +00:00 |
|
Kostya Serebryany
|
33a9a09cd7
|
[libFuzzer] allow users to supply their own implementation of rand
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243078 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-07-24 01:06:40 +00:00 |
|
Kostya Serebryany
|
873d4e200d
|
[lib/Fuzzer] relax an assertion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238608 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-05-29 20:31:17 +00:00 |
|
Kostya Serebryany
|
d434a0a1b2
|
[lib/Fuzzer] fully get rid of std::cerr in libFuzzer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238081 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-05-23 01:22:35 +00:00 |
|
Kostya Serebryany
|
4ea4cb3197
|
[lib/Fuzzer] start getting rid of std::cerr. Sadly, these parts of C++ library used in libFuzzer badly interract with the same code used in the target function and also with dfsan. It's easier to just not use std::cerr than to defeat these issues.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238078 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-05-23 01:07:46 +00:00 |
|
Kostya Serebryany
|
de65922947
|
[lib/Fuzzer] remove the -dfsan=1 flag, just use -use_traces=1 (w/ or w/o dfsan)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237083 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-05-12 01:58:34 +00:00 |
|
Kostya Serebryany
|
66c6a4c240
|
[lib/Fuzzer] don't record traces when trace collection is off
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237067 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-05-11 23:25:28 +00:00 |
|
Kostya Serebryany
|
051ef86497
|
[lib/Fuzzer] rename FuzzerDFSan.cpp to FuzzerTraceState.cpp; update comments. NFC expected
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237050 91177308-0d34-0410-b5e6-96231b3b80d8
|
2015-05-11 21:16:27 +00:00 |
|