Home
last modified time | relevance | path

Searched refs:CmpSize (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Fuzzer/
DFuzzerTraceState.cpp132 static bool ComputeCmp(size_t CmpSize, size_t CmpType, uint64_t Arg1, in ComputeCmp() argument
134 if (CmpSize == 8) return ComputeCmp<uint64_t, int64_t>(CmpType, Arg1, Arg2); in ComputeCmp()
135 if (CmpSize == 4) return ComputeCmp<uint32_t, int32_t>(CmpType, Arg1, Arg2); in ComputeCmp()
136 if (CmpSize == 2) return ComputeCmp<uint16_t, int16_t>(CmpType, Arg1, Arg2); in ComputeCmp()
137 if (CmpSize == 1) return ComputeCmp<uint8_t, int8_t>(CmpType, Arg1, Arg2); in ComputeCmp()
179 void DFSanCmpCallback(uintptr_t PC, size_t CmpSize, size_t CmpType,
184 void TraceCmpCallback(uintptr_t PC, size_t CmpSize, size_t CmpType,
237 void TraceState::DFSanCmpCallback(uintptr_t PC, size_t CmpSize, size_t CmpType, in DFSanCmpCallback() argument
246 bool Res = ComputeCmp(CmpSize, CmpType, Arg1, Arg2); in DFSanCmpCallback()
250 for (size_t Pos = LR.Beg; Pos + CmpSize <= LR.End; Pos++) { in DFSanCmpCallback()
[all …]