|
LLVM
4.0.0
|
#include <FuzzerValueBitMap.h>
Public Member Functions | |
| void | Reset () |
| bool | AddValue (uintptr_t Value) |
| bool | Get (uintptr_t Idx) |
| size_t | GetNumBitsSinceLastMerge () const |
| ATTRIBUTE_TARGET_POPCNT bool | MergeFrom (ValueBitMap &Other) |
| template<class Callback > | |
| void | ForEach (Callback CB) |
Static Public Attributes | |
| static const size_t | kMapSizeInBits = 65371 |
| static const size_t | kMapSizeInBitsAligned = 65536 |
| static const size_t | kBitsInWord = (sizeof(uintptr_t) * 8) |
| static const size_t | kMapSizeInWords = kMapSizeInBitsAligned / kBitsInWord |
| static const size_t | kNumberOfItems = kMapSizeInBits |
Definition at line 20 of file FuzzerValueBitMap.h.
|
inline |
Definition at line 32 of file FuzzerValueBitMap.h.
References kBitsInWord, and kMapSizeInBits.
Referenced by fuzzer::TracePC::HandleValueProfile().
|
inline |
Definition at line 72 of file FuzzerValueBitMap.h.
References i, and kMapSizeInWords.
Referenced by fuzzer::TracePC::CollectFeatures().
|
inline |
Definition at line 42 of file FuzzerValueBitMap.h.
References assert(), kBitsInWord, and kMapSizeInBits.
|
inline |
Definition at line 49 of file FuzzerValueBitMap.h.
|
inline |
Definition at line 54 of file FuzzerValueBitMap.h.
References i, and kMapSizeInWords.
Referenced by fuzzer::TracePC::UpdateValueProfileMap().
|
inline |
Definition at line 28 of file FuzzerValueBitMap.h.
Referenced by fuzzer::TracePC::ResetMaps().
|
static |
Definition at line 23 of file FuzzerValueBitMap.h.
Referenced by AddValue(), and Get().
|
static |
Definition at line 21 of file FuzzerValueBitMap.h.
Referenced by AddValue(), and Get().
|
static |
Definition at line 22 of file FuzzerValueBitMap.h.
|
static |
Definition at line 24 of file FuzzerValueBitMap.h.
Referenced by ForEach(), and MergeFrom().
|
static |
Definition at line 26 of file FuzzerValueBitMap.h.
1.8.6