aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2024-02-01 13:45:05 +0100
committervanhauser-thc <vh@thc.org>2024-02-01 13:45:05 +0100
commita84b7c78207598a24a2e60df0485d740782a6651 (patch)
tree28e12476ee2d001f72531e580fb459cb16e5bec6
parent5549212d9e87de8f45cf72390cf549e23d7a9f60 (diff)
downloadAFLplusplus-a84b7c78207598a24a2e60df0485d740782a6651.tar.gz
NO_NYX
-rwxr-xr-xnyx_mode/build_nyx_support.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/nyx_mode/build_nyx_support.sh b/nyx_mode/build_nyx_support.sh
index 454d1e7b..50598e7a 100755
--- a/nyx_mode/build_nyx_support.sh
+++ b/nyx_mode/build_nyx_support.sh
@@ -9,6 +9,13 @@ echo
echo "[*] Performing basic sanity checks..."
+if [ -n "$NO_SPLICING" ]; then
+
+ echo "[-] Error: the NO_NYX environment variable is set, please unset."
+ exit 0
+
+fi
+
if [ ! "$(uname -s)" = "Linux" ]; then
echo "[-] Error: Nyx mode is only available on Linux."