pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/deepstate-afl deepstate-afl: import version 0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/30da866f5bb7
branches:  trunk
changeset: 439823:30da866f5bb7
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Tue Sep 29 02:56:05 2020 +0000

description:
deepstate-afl: import version 0.1

DeepState is a framework that provides C and C++ developers with a common
interface to various symbolic execution and fuzzing engines. Users can write
one test harness using a Google Test-like API, then execute it using multiple
backends without having to learn the complexities of the underlying engines. It
supports writing unit tests and API sequence tests, as well as automatic test
generation.

This package adds support for AFL to DeepState.

diffstat:

 devel/deepstate-afl/DESCR    |   8 ++++++++
 devel/deepstate-afl/Makefile |  28 ++++++++++++++++++++++++++++
 devel/deepstate-afl/PLIST    |   2 ++
 3 files changed, 38 insertions(+), 0 deletions(-)

diffs (50 lines):

diff -r 9d601e59257e -r 30da866f5bb7 devel/deepstate-afl/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/deepstate-afl/DESCR Tue Sep 29 02:56:05 2020 +0000
@@ -0,0 +1,8 @@
+DeepState is a framework that provides C and C++ developers with a common
+interface to various symbolic execution and fuzzing engines. Users can write
+one test harness using a Google Test-like API, then execute it using multiple
+backends without having to learn the complexities of the underlying engines. It
+supports writing unit tests and API sequence tests, as well as automatic test
+generation.
+
+This package adds support for AFL to DeepState.
diff -r 9d601e59257e -r 30da866f5bb7 devel/deepstate-afl/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/deepstate-afl/Makefile      Tue Sep 29 02:56:05 2020 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2020/09/29 02:56:05 khorben Exp $
+
+PKGNAME=       deepstate-afl-${VERSION}
+
+USE_LANGUAGES= c99 c++
+USE_CMAKE=     yes
+AUTO_MKDIRS=   yes
+
+DEPENDS+=      afl-[0-9]*:../../devel/afl
+DEPENDS+=      deepstate>=${VERSION}:../../devel/deepstate
+
+CONFIGURE_DIRS=        build
+CMAKE_ARG_PATH=        ${WRKSRC}
+
+CMAKE_ARGS+=   -DPYTHON=${PREFIX}/bin/python${PYVERSSUFFIX}
+CMAKE_ARGS+=   -DDEEPSTATE_AFL=ON
+CMAKE_ARGS+=   -DCMAKE_C_COMPILER=${PREFIX:Q}/bin/afl-gcc
+CMAKE_ARGS+=   -DCMAKE_CXX_COMPILER=${PREFIX:Q}/bin/afl-g++
+
+pre-configure:
+       cd ${WRKSRC} && ${MKDIR} ${CONFIGURE_DIRS}
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/build/libdeepstate_AFL.a ${DESTDIR}${PREFIX}/lib
+
+.include "../../devel/deepstate/Makefile.common"
+.include "../../lang/python/pyversion.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9d601e59257e -r 30da866f5bb7 devel/deepstate-afl/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/deepstate-afl/PLIST Tue Sep 29 02:56:05 2020 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/09/29 02:56:05 khorben Exp $
+lib/libdeepstate_AFL.a



Home | Main Index | Thread Index | Old Index