Home
last modified time | relevance | path

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

/external/llvm/lib/Fuzzer/
DFuzzerDFSan.cpp105 bool ComputeCmp(size_t CmpType, U Arg1, U Arg2) { in ComputeCmp() argument
106 switch(CmpType) { in ComputeCmp()
122 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()
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()
[all …]