summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerValueBitMap.h
Commit message (Collapse)AuthorAgeFilesLines
* [libFuzzer] don't clear Counters in TracePC::CollectFeatures since they will ↵Kostya Serebryany2017-03-141-1/+1
| | | | | | be cleared anyway in ResetMaps llvm-svn: 297783
* [libFuzzer] Use long long to ensure 64 bits.Marcos Pividori2017-02-081-1/+1
| | | | | | | | | | We should always use unsigned long long to ensure 64 bits. On Windows, unsigned long is 4 bytes. This was the reason why value-profile-cmp4.test was failing on Windows. Differential Revision: https://reviews.llvm.org/D29617 llvm-svn: 294390
* [libFuzzer] simplify the value profiling callback further: don't use (idx ↵Kostya Serebryany2017-01-271-5/+10
| | | | | | 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 itKostya Serebryany2017-01-271-1/+3
| | | | llvm-svn: 293236
* [libFuzzer] refactoring to make -shrink=1 work for value profile, added a test.Kostya Serebryany2016-10-051-0/+9
| | | | llvm-svn: 283409
* [libFuzzer] initialize ValueBitMap::NumBitsKostya Serebryany2016-09-291-1/+1
| | | | llvm-svn: 282721
* [libFuzzer] simplify HandleTrace again, start re-running interesting units ↵Kostya Serebryany2016-09-231-0/+8
| | | | | | and collecting their features. llvm-svn: 282316
* [libFuzzer] change ValueBitMap to remember the number of bits in itKostya Serebryany2016-09-231-4/+9
| | | | llvm-svn: 282216
* [libFuzzer] more refactoringKostya Serebryany2016-09-211-0/+2
| | | | llvm-svn: 282113
* [libFuzzer] implement print_pcs with trace-pc-guard. Change the ↵Kostya Serebryany2016-09-151-3/+7
| | | | | | trace-pc-guard heuristic for 8-bit counters to look more like in AFL (not that it's provable better, but the existin test preferes this heuristic) llvm-svn: 281577
* [libFuzzer] use __attribute__((target("popcnt"))) only on x86_64Kostya Serebryany2016-08-241-1/+1
| | | | llvm-svn: 279601
* [libFuzzer] force proper popcnt instructionKostya Serebryany2016-08-171-1/+2
| | | | llvm-svn: 279002
* [libFuzzer] minor speed improvementKostya Serebryany2016-08-161-1/+1
| | | | llvm-svn: 278856
* [libFuzzer] new experimental feature: value profiling. Profiles values that ↵Kostya Serebryany2016-08-161-2/+3
| | | | | | affect control flow and treats new values as new coverage. llvm-svn: 278839
* [libFuzzer] refactoring around PCMap, NFCKostya Serebryany2016-08-161-0/+57
llvm-svn: 278825
OpenPOWER on IntegriCloud