Home
last modified time | relevance | path

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

/external/llvm/lib/Fuzzer/
DFuzzerDFSan.cpp122 static bool ComputeCmp(size_t CmpSize, size_t CmpType, uint64_t Arg1, in ComputeCmp() argument
124 if (CmpSize == 8) return ComputeCmp<uint64_t, int64_t>(CmpType, Arg1, Arg2); in ComputeCmp()
125 if (CmpSize == 4) return ComputeCmp<uint32_t, int32_t>(CmpType, Arg1, Arg2); in ComputeCmp()
126 if (CmpSize == 2) return ComputeCmp<uint16_t, int16_t>(CmpType, Arg1, Arg2); in ComputeCmp()
127 if (CmpSize == 1) return ComputeCmp<uint8_t, int8_t>(CmpType, Arg1, Arg2); in ComputeCmp()
165 size_t CmpSize = 0; member
171 void DFSanCmpCallback(uintptr_t PC, size_t CmpSize, size_t CmpType,
192 void DFSanState::DFSanCmpCallback(uintptr_t PC, size_t CmpSize, size_t CmpType, in DFSanCmpCallback() argument
199 bool Res = ComputeCmp(CmpSize, CmpType, Arg1, Arg2); in DFSanCmpCallback()
201 CSI.CmpSize = CmpSize; in DFSanCmpCallback()
[all …]