mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-20 05:23:43 +00:00
add first support for DragonFly OS
This commit is contained in:
@ -58,6 +58,11 @@ if [ "$PLATFORM" = "OpenBSD" ] ; then
|
|||||||
echo 'System security features cannot be disabled on OpenBSD.'
|
echo 'System security features cannot be disabled on OpenBSD.'
|
||||||
DONE=1
|
DONE=1
|
||||||
fi
|
fi
|
||||||
|
if [ "$PLATFORM" = "DragonFly" ] ; then
|
||||||
|
echo
|
||||||
|
echo 'System security features cannot be disabled on DragonFly.'
|
||||||
|
DONE=1
|
||||||
|
fi
|
||||||
if [ "$PLATFORM" = "NetBSD" ] ; then
|
if [ "$PLATFORM" = "NetBSD" ] ; then
|
||||||
{
|
{
|
||||||
#echo It is recommended to enable unprivileged users to set cpu affinity
|
#echo It is recommended to enable unprivileged users to set cpu affinity
|
||||||
|
@ -44,7 +44,7 @@ echo "[*] Performing basic sanity checks..."
|
|||||||
|
|
||||||
PLT=`uname -s`
|
PLT=`uname -s`
|
||||||
|
|
||||||
if [ ! "$PLT" = "Linux" ] && [ ! "$PLT" = "Darwin" ] && [ ! "$PLT" = "FreeBSD" ] && [ ! "$PLT" = "NetBSD" ] && [ ! "$PLT" = "OpenBSD" ]; then
|
if [ ! "$PLT" = "Linux" ] && [ ! "$PLT" = "Darwin" ] && [ ! "$PLT" = "FreeBSD" ] && [ ! "$PLT" = "NetBSD" ] && [ ! "$PLT" = "OpenBSD" ] && [ ! "$PLT" = "DragonFly" ]; then
|
||||||
|
|
||||||
echo "[-] Error: Unicorn instrumentation is unsupported on $PLT."
|
echo "[-] Error: Unicorn instrumentation is unsupported on $PLT."
|
||||||
exit 1
|
exit 1
|
||||||
@ -89,6 +89,12 @@ if [ "$PLT" = "FreeBSD" ]; then
|
|||||||
TARCMD=gtar
|
TARCMD=gtar
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$PLT" = "DragonFly" ]; then
|
||||||
|
MAKECMD=gmake
|
||||||
|
CORES=`sysctl -n hw.ncpu`
|
||||||
|
TARCMD=tar
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$PLT" = "NetBSD" ] || [ "$PLT" = "OpenBSD" ]; then
|
if [ "$PLT" = "NetBSD" ] || [ "$PLT" = "OpenBSD" ]; then
|
||||||
MAKECMD=gmake
|
MAKECMD=gmake
|
||||||
CORES=`sysctl -n hw.ncpu`
|
CORES=`sysctl -n hw.ncpu`
|
||||||
|
Reference in New Issue
Block a user