projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[lib/Fuzzer] minor refactoring/simplification, NFC
[oota-llvm.git]
/
lib
/
Fuzzer
/
FuzzerDFSan.cpp
diff --git
a/lib/Fuzzer/FuzzerDFSan.cpp
b/lib/Fuzzer/FuzzerDFSan.cpp
index e3fda1615b8bee2c158c33c5de77407a8027bcf3..a17ab60c788e76de83ee25e7a00130f796b50cf9 100644
(file)
--- a/
lib/Fuzzer/FuzzerDFSan.cpp
+++ b/
lib/Fuzzer/FuzzerDFSan.cpp
@@
-287,4
+287,11
@@
void dfsan_weak_hook_memcmp(void *caller_pc, const void *s1, const void *s2,
dfsan_label L2 = dfsan_read_label(s2, n);
DFSan->DFSanCmpCallback(PC, n, ICMP_EQ, S1, S2, L1, L2);
}
dfsan_label L2 = dfsan_read_label(s2, n);
DFSan->DFSanCmpCallback(PC, n, ICMP_EQ, S1, S2, L1, L2);
}
+
+void __sanitizer_cov_trace_cmp(uint64_t SizeAndType, uint64_t Arg1,
+ uint64_t Arg2) {
+ // This symbol will be present if dfsan is disabled on the given function.
+ // FIXME: implement poor man's taint analysis here (w/o dfsan).
+}
+
} // extern "C"
} // extern "C"