| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [libFuzzer] don't clear Counters in TracePC::CollectFeatures since they will ↵ | Kostya Serebryany | 2017-03-14 | 1 | -3/+2 |
| | | | | | | | be cleared anyway in ResetMaps llvm-svn: 297783 | ||||
| * | [libFuzzer] reorganize the tracing code to make it easier to experiment with ↵ | Kostya Serebryany | 2017-02-02 | 1 | -5/+6 |
| | | | | | | | inlined coverage instrumentation. NFC llvm-svn: 293928 | ||||
| * | [libFuzzer] simplify the value profiling callback further: don't use (idx ↵ | Kostya Serebryany | 2017-01-27 | 1 | -4/+0 |
| | | | | | | | MOD prime) on the hot path where it is useless anyway llvm-svn: 293239 | ||||
| * | [libFuzzer] simplify the value profile code and disable asan/msan on it | Kostya Serebryany | 2017-01-27 | 1 | -1/+1 |
| | | | | | llvm-svn: 293236 | ||||
| * | [libFuzzer] further simplify __sanitizer_cov_trace_pc_guard | Kostya Serebryany | 2017-01-26 | 1 | -7/+5 |
| | | | | | llvm-svn: 293128 | ||||
| * | [libfuzzer] fixing collected pc addresses for coverage | Mike Aizatsky | 2017-01-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | Summary: The causes google/ossfuzz#84 Reviewers: kcc Subscribers: mgorny Differential Revision: https://reviews.llvm.org/D28827 llvm-svn: 292289 | ||||
| * | [libFuzzer] use table of recent compares for memcmp/strcmp (to unify the ↵ | Kostya Serebryany | 2017-01-17 | 1 | -6/+6 |
| | | | | | | | code between cmp and memcmp handling) llvm-svn: 292287 | ||||
| * | [libFuzzer] cleaner implementation of -print_pcs=1 | Kostya Serebryany | 2016-12-30 | 1 | -0/+1 |
| | | | | | llvm-svn: 290739 | ||||
| * | [libfuzzer] dump_coverage command line flag | Mike Aizatsky | 2016-12-19 | 1 | -0/+1 |
| | | | | | | | | | Reviewers: kcc, vitalybuka Differential Revision: https://reviews.llvm.org/D27942 llvm-svn: 290138 | ||||
| * | [libFuzzer] when tracing switch statements, handle only one case at a time ↵ | Kostya Serebryany | 2016-12-17 | 1 | -1/+1 |
| | | | | | | | (to make things faster). Also ensure that the signals from value profile do not intersect with the regular coverage llvm-svn: 290031 | ||||
| * | [libFuzzer] fix an UB (invalid shift) spotted by ubsan. The code worked fine ↵ | Kostya Serebryany | 2016-12-13 | 1 | -1/+1 |
| | | | | | | | by luck, because the way shifts actually work on clang+x86 llvm-svn: 289607 | ||||
| * | [libFuzzer] Clean up headers and file formatting of LibFuzzer files. | Marcos Pividori | 2016-12-13 | 1 | -2/+1 |
| | | | | | | | | | | | | | Reorganize #includes to follow LLVM Coding Standards. Include some missing headers. Required to use `Printf()`. Aside from that, this patch contains no functional change. It is purely a re-organization. Differential Revision: https://reviews.llvm.org/D27363 llvm-svn: 289560 | ||||
| * | [libFuzzer] refactor the code to allow collecting features in different ↵ | Kostya Serebryany | 2016-12-05 | 1 | -1/+37 |
| | | | | | | | ways. Also initialize a couple of Fuzzer:: members that might have been used uninitialized :( llvm-svn: 288731 | ||||
| * | [libFuzzer] do not initialize parts of TracePC -- let them be initialized by ↵ | Kostya Serebryany | 2016-11-11 | 1 | -2/+2 |
| | | | | | | | the linker. Add no-msan attribute to the memcmp hook. llvm-svn: 286665 | ||||
| * | [libFuzzer] speculatively trying to fix the Mac build; second attempt | Kostya Serebryany | 2016-10-27 | 1 | -13/+0 |
| | | | | | llvm-svn: 285262 | ||||
| * | [libFuzzer] revert 285259 -- hit commit too soon | Kostya Serebryany | 2016-10-27 | 1 | -4/+1 |
| | | | | | llvm-svn: 285260 | ||||
| * | [libFuzzer] speculatively trying to fix the Mac build | Kostya Serebryany | 2016-10-27 | 1 | -1/+4 |
| | | | | | llvm-svn: 285259 | ||||
| * | [libFuzzer] simplify TracePC::HandleTrace even further. Also, when dealing ↵ | Kostya Serebryany | 2016-10-26 | 1 | -2/+0 |
| | | | | | | | with -exit_on_src_pos, symbolize every PC only once llvm-svn: 285223 | ||||
| * | [libFuzzer] simplify the code in TracePC::HandleTrace a bit more | Kostya Serebryany | 2016-10-26 | 1 | -15/+5 |
| | | | | | llvm-svn: 285147 | ||||
| * | [libFuzzer] simplify the code to print new PCs | Kostya Serebryany | 2016-10-26 | 1 | -0/+8 |
| | | | | | llvm-svn: 285145 | ||||
| * | [libFuzzer] simplify the code in TracePC::HandleTrace | Kostya Serebryany | 2016-10-25 | 1 | -3/+1 |
| | | | | | llvm-svn: 285142 | ||||
| * | [libFuzzer] simplify the code for use_cmp, also use the position hint when ↵ | Kostya Serebryany | 2016-10-25 | 1 | -20/+12 |
| | | | | | | | available, add a test llvm-svn: 285049 | ||||
| * | [libFuzzer] add -trace_cmp=1 (guiding mutations based on the observed CMP ↵ | Kostya Serebryany | 2016-10-14 | 1 | -0/+49 |
| | | | | | | | 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 llvm-svn: 284273 | ||||
| * | [libFuzzer] reapply r283946: refactoring to speed things up, NFC. Now with a ↵ | Kostya Serebryany | 2016-10-13 | 1 | -2/+2 |
| | | | | | | | fix for gcc build llvm-svn: 284132 | ||||
| * | Revert "[libFuzzer] refactoring to speed things up, NFC" | Daniel Jasper | 2016-10-12 | 1 | -2/+2 |
| | | | | | | | | | | | | This reverts commit r283946. This breaks when build with GCC: lib/Fuzzer/FuzzerTracePC.cpp:169:6: error: always_inline function might not be inlinable [-Werror=attributes] lib/Fuzzer/FuzzerTracePC.cpp:169:6: error: inlining failed in call to always_inline 'void fuzzer::TracePC::HandleCmp(void*, T, T) [with T = long unsigned int]': target specific option mismatch lib/Fuzzer/FuzzerTracePC.cpp:198:65: error: called from here llvm-svn: 283979 | ||||
| * | [libFuzzer] refactoring to speed things up, NFC | Kostya Serebryany | 2016-10-11 | 1 | -2/+2 |
| | | | | | llvm-svn: 283946 | ||||
| * | [libFuzzer] implement value profile for switch, increase the size of the PCs ↵ | Kostya Serebryany | 2016-10-11 | 1 | -1/+1 |
| | | | | | | | array, make sure we don't overflow it llvm-svn: 283841 | ||||
| * | [libFuzzer] refactoring to make -shrink=1 work for value profile, added a test. | Kostya Serebryany | 2016-10-05 | 1 | -10/+5 |
| | | | | | llvm-svn: 283409 | ||||
| * | [libFuzzer] add ShrinkValueProfileTest, move code around, NFC | Kostya Serebryany | 2016-10-05 | 1 | -0/+5 |
| | | | | | llvm-svn: 283286 | ||||
| * | [libFuzzer] implement the -shrink=1 option that tires to make elements of ↵ | Kostya Serebryany | 2016-10-01 | 1 | -1/+2 |
| | | | | | | | the corpus smaller, off by default llvm-svn: 282995 | ||||
| * | [libFuzzer] more the feature set to InputCorpus; on feature update, change ↵ | Kostya Serebryany | 2016-09-30 | 1 | -9/+4 |
| | | | | | | | the feature counter of the old best input llvm-svn: 282829 | ||||
| * | [sanitizer-coverage/libFuzzer] make the guards for trace-pc 32-bit; create ↵ | Kostya Serebryany | 2016-09-29 | 1 | -3/+3 |
| | | | | | | | one array of guards per function, instead of one guard per BB. reorganize the code so that trace-pc-guard does not create unneeded globals llvm-svn: 282735 | ||||
| * | [libFuzzer] speedup TracePC::FinalizeTrace | Kostya Serebryany | 2016-09-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 282562 | ||||
| * | [libFuzzer] add -exit_on_src_pos to test libFuzzer itself, add a test script ↵ | Kostya Serebryany | 2016-09-27 | 1 | -2/+1 |
| | | | | | | | for RE2 that uses this flag llvm-svn: 282458 | ||||
| * | [libFuzzer] simplify HandleTrace again, start re-running interesting units ↵ | Kostya Serebryany | 2016-09-23 | 1 | -0/+12 |
| | | | | | | | and collecting their features. llvm-svn: 282316 | ||||
| * | [libFuzzer] reset Counters (trace-pc-guard) before every run | Kostya Serebryany | 2016-09-23 | 1 | -1/+1 |
| | | | | | llvm-svn: 282284 | ||||
| * | [libFuzzer] be more precise about what we reset in TracePC | Kostya Serebryany | 2016-09-23 | 1 | -3/+3 |
| | | | | | llvm-svn: 282225 | ||||
| * | [libFuzzer] fix merging with trace-pc-guard | Kostya Serebryany | 2016-09-23 | 1 | -0/+1 |
| | | | | | llvm-svn: 282224 | ||||
| * | [libFuzzer] simplify the TracePC logic | Kostya Serebryany | 2016-09-23 | 1 | -6/+4 |
| | | | | | llvm-svn: 282222 | ||||
| * | [libFuzzer] move value profiling logic into TracePC | Kostya Serebryany | 2016-09-23 | 1 | -0/+7 |
| | | | | | llvm-svn: 282219 | ||||
| * | [libFuzzer] change ValueBitMap to remember the number of bits in it | Kostya Serebryany | 2016-09-23 | 1 | -4/+4 |
| | | | | | llvm-svn: 282216 | ||||
| * | [libFuzzer] add 'features' to the corpus elements, allow mutations with Size ↵ | Kostya Serebryany | 2016-09-22 | 1 | -11/+13 |
| | | | | | | | > MaxSize, fix sha1 in corpus stats; various refactorings llvm-svn: 282129 | ||||
| * | [libFuzzer] more refactoring | Kostya Serebryany | 2016-09-21 | 1 | -0/+1 |
| | | | | | llvm-svn: 282113 | ||||
| * | [libFuzzer] refactoring: split the large header into many; NFC | Kostya Serebryany | 2016-09-21 | 1 | -0/+84 |
| | | | | | llvm-svn: 282044 | ||||
| * | [libFuzzer] refactoring around PCMap, NFC | Kostya Serebryany | 2016-08-16 | 1 | -37/+0 |
| | | | | | llvm-svn: 278825 | ||||
| * | [libfuzzer] Refactoring coverage state-management code. | Mike Aizatsky | 2016-05-10 | 1 | -0/+37 |
| It is now less state-dependent and will allow easier comparing of coverages of different units. Differential Revision: http://reviews.llvm.org/D20085 llvm-svn: 269140 | |||||

