mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
afl: Add recipe, doesn't work as it needs sys/shm.
This commit is contained in:
60
dev-util/afl/afl-2.31b.recipe
Normal file
60
dev-util/afl/afl-2.31b.recipe
Normal file
@@ -0,0 +1,60 @@
|
||||
SUMMARY="American fuzzy lop, a security-oriented fuzzer"
|
||||
DESCRIPTION="American fuzzy lop is a security-oriented 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. The compact synthesized corpora \
|
||||
produced by the tool are also useful for seeding other, more labor- or \
|
||||
resource-intensive testing regimes down the road.
|
||||
|
||||
Compared to other instrumented fuzzers, afl-fuzz is designed to be practical: \
|
||||
it has modest performance overhead, uses a variety of highly effective \
|
||||
fuzzing strategies and effort minimization tricks, requires essentially no \
|
||||
configuration, and seamlessly handles complex, real-world use cases - say, \
|
||||
common image parsing or file compression libraries."
|
||||
HOMEPAGE="http://lcamtuf.coredump.cx/afl/"
|
||||
COPYRIGHT="2013-2016 Google Inc."
|
||||
LICENSE="Apache v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://lcamtuf.coredump.cx/afl/releases/afl-$portVersion.tgz"
|
||||
CHECKSUM_SHA256="54b91c9704867b566599242ec00f82b5d55215d8a792a58d8d62b8486867df74"
|
||||
#SOURCE_DIR="$portVersionedName"
|
||||
#PATCHES="projectx-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
afl$secondaryArchSuffix = $portVersion
|
||||
cmd:afl = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
"
|
||||
|
||||
makeAfl()
|
||||
{
|
||||
make PREFIX=$prefix \
|
||||
BIN_PATH=$prefix/bin \
|
||||
HELPER_PATH=$libDir/afl \
|
||||
DOC_PATH=$docDir \
|
||||
"$@"
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
makeAfl $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
makeAfl install
|
||||
}
|
||||
Reference in New Issue
Block a user