pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/deepstate-libfuzzer deepstate-libfuzzer: import ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2a8808b388d0
branches:  trunk
changeset: 439827:2a8808b388d0
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Tue Sep 29 03:03:54 2020 +0000

description:
deepstate-libfuzzer: 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 libfuzzer to DeepState.

diffstat:

 devel/deepstate-libfuzzer/DESCR    |   8 ++++++++
 devel/deepstate-libfuzzer/Makefile |  29 +++++++++++++++++++++++++++++
 devel/deepstate-libfuzzer/PLIST    |   2 ++
 3 files changed, 39 insertions(+), 0 deletions(-)

diffs (51 lines):

diff -r b15fa635a34c -r 2a8808b388d0 devel/deepstate-libfuzzer/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/deepstate-libfuzzer/DESCR   Tue Sep 29 03:03:54 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 libfuzzer to DeepState.
diff -r b15fa635a34c -r 2a8808b388d0 devel/deepstate-libfuzzer/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/deepstate-libfuzzer/Makefile        Tue Sep 29 03:03:54 2020 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2020/09/29 03:03:54 khorben Exp $
+
+PKGNAME=       deepstate-libfuzzer-${VERSION}
+
+USE_LANGUAGES= c99 c++
+USE_CMAKE=     yes
+AUTO_MKDIRS=   yes
+
+DEPENDS+=      deepstate>=${VERSION}:../../devel/deepstate
+
+CONFIGURE_DIRS=        build
+CMAKE_ARG_PATH=        ${WRKSRC}
+
+CMAKE_ARGS+=   -DPYTHON=${PREFIX}/bin/python${PYVERSSUFFIX}
+CMAKE_ARGS+=   -DDEEPSTATE_LIBFUZZER=ON
+CMAKE_ARGS+=   -DCMAKE_C_COMPILER=${CLANGBASE:Q}/bin/clang
+CMAKE_ARGS+=   -DCMAKE_CXX_COMPILER=${CLANGBASE:Q}/bin/clang++
+
+pre-configure:
+       cd ${WRKSRC} && ${MKDIR} ${CONFIGURE_DIRS}
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/build/libdeepstate_LF.a ${DESTDIR}${PREFIX}/lib
+
+.include "../../mk/compiler/clang.mk"
+.include "../../lang/compiler-rt/buildlink3.mk"
+.include "../../devel/deepstate/Makefile.common"
+.include "../../lang/python/pyversion.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b15fa635a34c -r 2a8808b388d0 devel/deepstate-libfuzzer/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/deepstate-libfuzzer/PLIST   Tue Sep 29 03:03:54 2020 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/09/29 03:03:54 khorben Exp $
+lib/libdeepstate_LF.a



Home | Main Index | Thread Index | Old Index