From owner-svn-ports-all@freebsd.org Mon Jun 24 06:59:29 2019 Return-Path: Delivered-To: svn-ports-all@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 5E64C15C4FEA; Mon, 24 Jun 2019 06:59:29 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 02E9C89343; Mon, 24 Jun 2019 06:59:29 +0000 (UTC) (envelope-from tobik@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 D01F62D664; Mon, 24 Jun 2019 06:59:28 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5O6xSoE028040; Mon, 24 Jun 2019 06:59:28 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5O6xRsU028036; Mon, 24 Jun 2019 06:59:27 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201906240659.x5O6xRsU028036@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Mon, 24 Jun 2019 06:59:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r505008 - in head/security: . afl++ X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/security: . afl++ X-SVN-Commit-Revision: 505008 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 02E9C89343 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.976,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jun 2019 06:59:29 -0000 Author: tobik Date: Mon Jun 24 06:59:27 2019 New Revision: 505008 URL: https://svnweb.freebsd.org/changeset/ports/505008 Log: New port: security/afl++ American fuzzy lop is a fuzzer that employs a novel type of compile-time instrumentation and genetic algorithms to automatically discover clean, interesting test cases that trigger new internal states in the targeted binary. This substantially improves the functional coverage for the fuzzed code. afl++ is a fork of afl that incorporates all community patches into a single source distribution. WWW: https://github.com/vanhauser-thc/AFLplusplus Changes: https://github.com/vanhauser-thc/AFLplusplus/blob/2.52c/docs/ChangeLog Added: head/security/afl++/ - copied from r505007, head/security/afl/ Modified: head/security/Makefile head/security/afl++/Makefile head/security/afl++/distinfo head/security/afl++/pkg-descr head/security/afl++/pkg-plist Modified: head/security/Makefile ============================================================================== --- head/security/Makefile Mon Jun 24 06:50:19 2019 (r505007) +++ head/security/Makefile Mon Jun 24 06:59:27 2019 (r505008) @@ -16,6 +16,7 @@ SUBDIR += aescrypt SUBDIR += aespipe SUBDIR += afl + SUBDIR += afl++ SUBDIR += afterglow SUBDIR += aide SUBDIR += akmos Modified: head/security/afl++/Makefile ============================================================================== --- head/security/afl/Makefile Mon Jun 24 06:50:19 2019 (r505007) +++ head/security/afl++/Makefile Mon Jun 24 06:59:27 2019 (r505008) @@ -2,11 +2,9 @@ # $FreeBSD$ PORTNAME= afl -PORTVERSION= 2.52 -DISTVERSIONSUFFIX= b -PORTREVISION= 4 +PORTVERSION= 2.52c CATEGORIES= security -MASTER_SITES= http://lcamtuf.coredump.cx/afl/releases/ +PKGNAMESUFFIX= ++ MAINTAINER= tobik@FreeBSD.org COMMENT= Fast instrumented fuzzer @@ -20,10 +18,15 @@ ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= Uses binary instrumentation USES= gmake tar:tgz +USE_GITHUB= yes +GH_ACCOUNT= vanhauser-thc +GH_PROJECT= AFLplusplus ALL_TARGET= all libdislocator TEST_TARGET= test_build +CONFLICTS_INSTALL= afl + OPTIONS_DEFINE= DEBUG DOCS LLVM OPTIONS_DEFAULT= LLVM OPTIONS_SUB= yes @@ -78,8 +81,8 @@ post-install: ${STAGEDIR}${DOCSDIR} post-install-LLVM-on: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/afl/afl-llvm-pass.so - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/afl-clang-fast + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/afl/*.so \ + ${STAGEDIR}${PREFIX}/bin/afl-clang-fast ${INSTALL_DATA} ${WRKSRC}/llvm_mode/README.llvm \ ${STAGEDIR}${DOCSDIR} Modified: head/security/afl++/distinfo ============================================================================== --- head/security/afl/distinfo Mon Jun 24 06:50:19 2019 (r505007) +++ head/security/afl++/distinfo Mon Jun 24 06:59:27 2019 (r505008) @@ -1,3 +1,3 @@ -TIMESTAMP = 1510063235 -SHA256 (afl-2.52b.tgz) = 43614b4b91c014d39ef086c5cc84ff5f068010c264c2c05bf199df60898ce045 -SIZE (afl-2.52b.tgz) = 835907 +TIMESTAMP = 1560577710 +SHA256 (vanhauser-thc-AFLplusplus-2.52c_GH0.tar.gz) = 013b3c56722d48de5ebb50ef0146696cef8ed42e29981988027b80102c7709e6 +SIZE (vanhauser-thc-AFLplusplus-2.52c_GH0.tar.gz) = 851177 Modified: head/security/afl++/pkg-descr ============================================================================== --- head/security/afl/pkg-descr Mon Jun 24 06:50:19 2019 (r505007) +++ head/security/afl++/pkg-descr Mon Jun 24 06:59:27 2019 (r505008) @@ -4,4 +4,7 @@ interesting test cases that trigger new internal state binary. This substantially improves the functional coverage for the fuzzed code. -WWW: http://lcamtuf.coredump.cx/afl/ +afl++ is a fork of afl that incorporates all community patches into +a single source distribution. + +WWW: https://github.com/vanhauser-thc/AFLplusplus Modified: head/security/afl++/pkg-plist ============================================================================== --- head/security/afl/pkg-plist Mon Jun 24 06:50:19 2019 (r505007) +++ head/security/afl++/pkg-plist Mon Jun 24 06:59:27 2019 (r505008) @@ -10,6 +10,7 @@ bin/afl-gcc bin/afl-gotcpu bin/afl-plot bin/afl-showmap +bin/afl-system-config bin/afl-tmin bin/afl-whatsup lib/afl/afl-as @@ -18,7 +19,10 @@ lib/afl/afl-as %%LLVM%%lib/afl/afl-llvm-rt-64.o %%LLVM%%lib/afl/afl-llvm-rt.o lib/afl/as +%%LLVM%%lib/afl/compare-transform-pass.so lib/afl/libdislocator.so +%%LLVM%%lib/afl/split-compares-pass.so +%%LLVM%%lib/afl/split-switches-pass.so %%DATADIR%%/README.dictionaries %%DATADIR%%/README.testcases %%DATADIR%%/archives/common/ar/small_archive.a @@ -82,6 +86,7 @@ lib/afl/libdislocator.so %%PORTDOCS%%%%DOCSDIR%%/notes_for_asan.txt %%PORTDOCS%%%%DOCSDIR%%/parallel_fuzzing.txt %%PORTDOCS%%%%DOCSDIR%%/perf_tips.txt +%%PORTDOCS%%%%DOCSDIR%%/power_schedules.txt %%PORTDOCS%%%%DOCSDIR%%/sister_projects.txt %%PORTDOCS%%%%DOCSDIR%%/status_screen.txt %%PORTDOCS%%%%DOCSDIR%%/technical_details.txt