Skip to content
Snippets Groups Projects
Commit 5b22cba4 authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

minor tweaks to remove zfuzz

parent 0ddba6ea
No related branches found
No related tags found
No related merge requests found
Pipeline #2468 canceled
...@@ -23,5 +23,5 @@ export PATH=$PATH:$ZAFL_HOME/bin ...@@ -23,5 +23,5 @@ export PATH=$PATH:$ZAFL_HOME/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SECURITY_TRANSFORMS_HOME/lib export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SECURITY_TRANSFORMS_HOME/lib
export PSPATH=$PSPATH:$ZAFL_HOME/plugin_install export PSPATH=$PSPATH:$ZAFL_HOME/plugins_install
...@@ -17,7 +17,6 @@ env.Replace(LINKFLAGS="-fPIC -Wall ") ...@@ -17,7 +17,6 @@ env.Replace(LINKFLAGS="-fPIC -Wall ")
env.Replace(SECURITY_TRANSFORMS_HOME=os.environ['SECURITY_TRANSFORMS_HOME']) env.Replace(SECURITY_TRANSFORMS_HOME=os.environ['SECURITY_TRANSFORMS_HOME'])
env.Replace(SMPSA_HOME=os.environ['SMPSA_HOME']) env.Replace(SMPSA_HOME=os.environ['SMPSA_HOME'])
env.Replace(IRDB_SDK=os.environ['IRDB_SDK']) env.Replace(IRDB_SDK=os.environ['IRDB_SDK'])
env.Replace(AFL_TRANSFORMS=os.environ['AFL_TRANSFORMS'])
env.Replace(debug=ARGUMENTS.get("debug",0)) env.Replace(debug=ARGUMENTS.get("debug",0))
......
#!/bin/bash #!/bin/bash
echo echo
echo "Building Fuzzing Support ($ZFUZZ_HOME)" echo "Building Fuzzing Support ($ZAFL_HOME)"
echo echo
if [ -z "$ZFUZZ_HOME" ]; then if [ -z "$ZAFL_HOME" ]; then
echo "error: environment var $ZFUZZ_HOME is undefined" echo "error: environment var ZAFL_HOME is undefined"
exit 1 exit 1
fi fi
cd $ZFUZZ_HOME cd $ZAFL_HOME
afl_loc=$(which afl-fuzz) afl_loc=$(which afl-fuzz)
if [ -z "$afl_loc" ]; then if [ -z "$afl_loc" ]; then
...@@ -28,5 +28,5 @@ if [ -z "$afl_loc" ]; then ...@@ -28,5 +28,5 @@ if [ -z "$afl_loc" ]; then
# cd qemu_mode && ./build_qemu_support.sh # cd qemu_mode && ./build_qemu_support.sh
# afl wants this # afl wants this
sudo $ZFUZZ_HOME/util/afl_setup_core_pattern.sh sudo $ZAFL_HOME/util/afl_setup_core_pattern.sh
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment