svn commit: r339014 - in projects/clang700-import: contrib/compiler-rt/lib/fuzzer contrib/compiler-rt/lib/fuzzer/afl contrib/compiler-rt/lib/fuzzer/dataflow contrib/compiler-rt/lib/fuzzer/scripts c...
Dimitry Andric
dim at FreeBSD.org
Sat Sep 29 15:17:18 UTC 2018
Author: dim
Date: Sat Sep 29 15:17:17 2018
New Revision: 339014
URL: https://svnweb.freebsd.org/changeset/base/339014
Log:
Add compiler-rt's libFuzzer, not connected to buildworld yet.
For now, the libraries can be built and installed using:
cd /usr/src/lib/libclang_rt/fuzzer && \
make obj && \
make depend && \
make && \
sudo make install
cd /usr/src/lib/libclang_rt/fuzzer_no_main && \
make obj && \
make depend && \
make && \
sudo make install
See https://llvm.org/docs/LibFuzzer.html for more information.
Added:
- copied from r338988, vendor/compiler-rt/dist/lib/fuzzer/
projects/clang700-import/lib/libclang_rt/fuzzer/
projects/clang700-import/lib/libclang_rt/fuzzer/Makefile (contents, props changed)
projects/clang700-import/lib/libclang_rt/fuzzer_no_main/
projects/clang700-import/lib/libclang_rt/fuzzer_no_main/Makefile (contents, props changed)
Directory Properties:
projects/clang700-import/contrib/compiler-rt/lib/fuzzer/ (props changed)
Deleted:
projects/clang700-import/contrib/compiler-rt/lib/fuzzer/CMakeLists.txt
projects/clang700-import/contrib/compiler-rt/lib/fuzzer/afl/
projects/clang700-import/contrib/compiler-rt/lib/fuzzer/build.sh
projects/clang700-import/contrib/compiler-rt/lib/fuzzer/dataflow/
projects/clang700-import/contrib/compiler-rt/lib/fuzzer/scripts/
projects/clang700-import/contrib/compiler-rt/lib/fuzzer/standalone/
projects/clang700-import/contrib/compiler-rt/lib/fuzzer/tests/
Added: projects/clang700-import/lib/libclang_rt/fuzzer/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ projects/clang700-import/lib/libclang_rt/fuzzer/Makefile Sat Sep 29 15:17:17 2018 (r339014)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+.include <bsd.init.mk>
+
+LIB= clang_rt.fuzzer-${CRTARCH}
+
+SRCS+= fuzzer/FuzzerCrossOver.cpp
+SRCS+= fuzzer/FuzzerDataFlowTrace.cpp
+SRCS+= fuzzer/FuzzerDriver.cpp
+SRCS+= fuzzer/FuzzerExtFunctionsDlsym.cpp
+SRCS+= fuzzer/FuzzerExtFunctionsDlsymWin.cpp
+SRCS+= fuzzer/FuzzerExtFunctionsWeak.cpp
+SRCS+= fuzzer/FuzzerExtraCounters.cpp
+SRCS+= fuzzer/FuzzerIO.cpp
+SRCS+= fuzzer/FuzzerIOPosix.cpp
+SRCS+= fuzzer/FuzzerIOWindows.cpp
+SRCS+= fuzzer/FuzzerLoop.cpp
+SRCS+= fuzzer/FuzzerMain.cpp
+SRCS+= fuzzer/FuzzerMerge.cpp
+SRCS+= fuzzer/FuzzerMutate.cpp
+SRCS+= fuzzer/FuzzerSHA1.cpp
+SRCS+= fuzzer/FuzzerShmemFuchsia.cpp
+SRCS+= fuzzer/FuzzerShmemPosix.cpp
+SRCS+= fuzzer/FuzzerShmemWindows.cpp
+SRCS+= fuzzer/FuzzerTracePC.cpp
+SRCS+= fuzzer/FuzzerUtil.cpp
+SRCS+= fuzzer/FuzzerUtilDarwin.cpp
+SRCS+= fuzzer/FuzzerUtilFuchsia.cpp
+SRCS+= fuzzer/FuzzerUtilLinux.cpp
+SRCS+= fuzzer/FuzzerUtilPosix.cpp
+SRCS+= fuzzer/FuzzerUtilWindows.cpp
+
+.include <bsd.lib.mk>
Added: projects/clang700-import/lib/libclang_rt/fuzzer_no_main/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ projects/clang700-import/lib/libclang_rt/fuzzer_no_main/Makefile Sat Sep 29 15:17:17 2018 (r339014)
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+.include <bsd.init.mk>
+
+LIB= clang_rt.fuzzer_no_main-${CRTARCH}
+
+SRCS+= fuzzer/FuzzerCrossOver.cpp
+SRCS+= fuzzer/FuzzerDataFlowTrace.cpp
+SRCS+= fuzzer/FuzzerDriver.cpp
+SRCS+= fuzzer/FuzzerExtFunctionsDlsym.cpp
+SRCS+= fuzzer/FuzzerExtFunctionsDlsymWin.cpp
+SRCS+= fuzzer/FuzzerExtFunctionsWeak.cpp
+SRCS+= fuzzer/FuzzerExtraCounters.cpp
+SRCS+= fuzzer/FuzzerIO.cpp
+SRCS+= fuzzer/FuzzerIOPosix.cpp
+SRCS+= fuzzer/FuzzerIOWindows.cpp
+SRCS+= fuzzer/FuzzerLoop.cpp
+SRCS+= fuzzer/FuzzerMerge.cpp
+SRCS+= fuzzer/FuzzerMutate.cpp
+SRCS+= fuzzer/FuzzerSHA1.cpp
+SRCS+= fuzzer/FuzzerShmemFuchsia.cpp
+SRCS+= fuzzer/FuzzerShmemPosix.cpp
+SRCS+= fuzzer/FuzzerShmemWindows.cpp
+SRCS+= fuzzer/FuzzerTracePC.cpp
+SRCS+= fuzzer/FuzzerUtil.cpp
+SRCS+= fuzzer/FuzzerUtilDarwin.cpp
+SRCS+= fuzzer/FuzzerUtilFuchsia.cpp
+SRCS+= fuzzer/FuzzerUtilLinux.cpp
+SRCS+= fuzzer/FuzzerUtilPosix.cpp
+SRCS+= fuzzer/FuzzerUtilWindows.cpp
+
+.include <bsd.lib.mk>
More information about the svn-src-projects
mailing list