[PATCH] D27729: [libFuzzer] Diff 20 - Update tests to use more general functions instead of posix specific.
Kostya Serebryany via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 14 13:54:46 PST 2016
kcc added a comment.
(summary of offline discussion).
For OutOfMemoryTest.cpp just use c++11 sleep
For StrstrTest.cpp: this test tests the ability of *a* fuzzing engine to look through strstr and friends.
If some platform does not have e.g. strcasestr, there is no point in implementing it for this test.
a simple
#ifdef SOMETHING
# define strcasestr strstr
#endif
will be good enough
Repository:
rL LLVM
https://reviews.llvm.org/D27729
More information about the llvm-commits
mailing list