mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 09:45:00 +00:00
0e9bdedc89
This fixes the following unit tests: FuzzerDictionary.ParseOneDictionaryEntry FuzzerDictionary.ParseDictionaryFile The issue appears to be mixing non-ASan-ified code (LibFuzzer) and ASan-ified code (the unittest) as the tests would pass fine if everything was built with ASan enabled. I believe the issue is that different implementations of std::vector<> are being used in LibFuzzer and outside LibFuzzer (in the unittests). For Libcxx (I've not seen the issue manifest for libstdc++) we can disable the ASanified std::vector<> by definining the ``_LIBCPP_HAS_NO_ASAN`` macro. Doing this fixes the tests on OSX. Differential Revision: http://reviews.llvm.org/D21049 llvm-svn: 272374 |
||
---|---|---|
.. | ||
afl | ||
test | ||
CMakeLists.txt | ||
cxx.dict | ||
FuzzerCrossOver.cpp | ||
FuzzerDFSan.h | ||
FuzzerDriver.cpp | ||
FuzzerExtFunctions.def | ||
FuzzerExtFunctions.h | ||
FuzzerExtFunctionsDlsym.cpp | ||
FuzzerExtFunctionsWeak.cpp | ||
FuzzerFlags.def | ||
FuzzerFnAdapter.h | ||
FuzzerInterface.h | ||
FuzzerInternal.h | ||
FuzzerIO.cpp | ||
FuzzerLoop.cpp | ||
FuzzerMain.cpp | ||
FuzzerMutate.cpp | ||
FuzzerSHA1.cpp | ||
FuzzerTracePC.cpp | ||
FuzzerTracePC.h | ||
FuzzerTraceState.cpp | ||
FuzzerUtil.cpp | ||
README.txt |
Move to http://llvm.org/docs/LibFuzzer.html