From owner-svn-src-projects@freebsd.org Sat Sep 29 15:17:18 2018 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4406910A3829 for ; Sat, 29 Sep 2018 15:17:18 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EC2B87D997; Sat, 29 Sep 2018 15:17:17 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E2F8125285; Sat, 29 Sep 2018 15:17:17 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8TFHH4A054690; Sat, 29 Sep 2018 15:17:17 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8TFHHgF054688; Sat, 29 Sep 2018 15:17:17 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201809291517.w8TFHHgF054688@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Sat, 29 Sep 2018 15:17:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: 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... X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: 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 contrib/compiler-rt/lib/fu... X-SVN-Commit-Revision: 339014 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Sep 2018 15:17:18 -0000 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 + +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 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 + +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