Vitaly Buka
|
83daa29a86
|
Revert "[libFuzzer] Use ChooseUnitIdxToMutate to pick item for crossover."
Fails LLVMFuzzer.LLVMFuzzer.value-profile-strncmp.test.
This reverts commit r297891.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297912 91177308-0d34-0410-b5e6-96231b3b80d8
|
2017-03-15 23:08:18 +00:00 |
|
Vitaly Buka
|
e925a388a3
|
[libFuzzer] Use ChooseUnitIdxToMutate to pick item for crossover.
Differential Revision: https://reviews.llvm.org/D30683
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297891 91177308-0d34-0410-b5e6-96231b3b80d8
|
2017-03-15 20:59:27 +00:00 |
|
Vitaly Buka
|
c3e4809203
|
[fuzzer] Don't crash if LLVMFuzzerMutate was called by CustomCrossOver
Reviewers: kcc
Subscribers: llvm-commits, mgorny
Differential Revision: https://reviews.llvm.org/D30682
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297202 91177308-0d34-0410-b5e6-96231b3b80d8
|
2017-03-07 20:37:38 +00:00 |
|
Kostya Serebryany
|
db5325aae3
|
[libFuzzer] use table of recent compares for memcmp/strcmp (to unify the code between cmp and memcmp handling)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292287 91177308-0d34-0410-b5e6-96231b3b80d8
|
2017-01-17 23:09:05 +00:00 |
|
Kostya Serebryany
|
d4ebdc15e5
|
[libFuzzer] copy the options inside MutationDispatcher to avoid use-after-scope in mutator tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292286 91177308-0d34-0410-b5e6-96231b3b80d8
|
2017-01-17 23:05:07 +00:00 |
|
Kostya Serebryany
|
d2c91bff2f
|
[libFuzzer] simplify the code for use_cmp, also use the position hint when available, add a test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285049 91177308-0d34-0410-b5e6-96231b3b80d8
|
2016-10-25 02:04:43 +00:00 |
|
Kostya Serebryany
|
3af68729f8
|
[libFuzzer] add -trace_cmp=1 (guiding mutations based on the observed CMP instructions). This is a reincarnation of the previously deleted -use_traces, but using a different approach for collecting traces. Still a toy, but at least it scales well. Also fix -merge in trace-pc-guard mode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284273 91177308-0d34-0410-b5e6-96231b3b80d8
|
2016-10-14 20:20:33 +00:00 |
|
Kostya Serebryany
|
77ab75a9d6
|
[libFuzzer] more refactoring; NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282047 91177308-0d34-0410-b5e6-96231b3b80d8
|
2016-09-21 02:05:39 +00:00 |
|
Kostya Serebryany
|
2a546868cb
|
[libFuzzer] refactoring: split the large header into many; NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282044 91177308-0d34-0410-b5e6-96231b3b80d8
|
2016-09-21 01:50:50 +00:00 |
|