Skip to content

Commit

Permalink
Deals with issues #12 #8
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew R Reiter committed Dec 13, 2019
1 parent 7ca3012 commit 8ddb61f
Show file tree
Hide file tree
Showing 804 changed files with 19 additions and 31 deletions.
6 changes: 3 additions & 3 deletions cases/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ fi

#
# Set these, hopefully, for CFLAGS and CXXFLAGS
# Sigh... the -m32 is for ASAN memory save, but is that ok?
#
# Note: 32-bit for ASan + AFL
#
LCFLAGS="-nopie -fno-stack-protector -fsanitize=address"
LCXXFLAGS="-nopie -fno-stack-protector -fsanitize=address"
LCFLAGS="-m32 -march=i686 -nopie -fno-stack-protector -fsanitize=address"
LCXXFLAGS="-m32 -march=i686 -nopie -fno-stack-protector -fsanitize=address"
#LCFLAGS="-nopie -fno-stack-protector"
#LCXXFLAGS="-nopie -fno-stack-protector"

Expand Down
5 changes: 3 additions & 2 deletions cases/perl/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ tar xvf ${SRCDIR}.tar
mkdir ${SRCDIR}/install

pushd ${SRCDIR}
echo "XXX FIX lddlflags"

if [ "$AFL_ON" -eq "0" ]; then
AFL_CC=${ACC} AFL_CXX=${ACXX} CC=${LCC} CXX=${LCXX} ASAN_OPTIONS=detect_leaks=0 LD_LIBRARYPATH=$LD_LIBRARY_PATH:/home/arr/llvm-root/lib sh Configure -Dafl_cc=${AFL_CC} -Dcc=${LCC} -Accflags="${LCFLAGS}" -de -Dusedevel -Aldflags="-des ${LCFLAGS}" -Alddlflags="-shared -Wc,-fsanitize=address"
AFL_CC=${ACC} AFL_CXX=${ACXX} CC=${LCC} CXX=${LCXX} ASAN_OPTIONS=detect_leaks=0 LD_LIBRARYPATH=$LD_LIBRARY_PATH:/home/arr/llvm-root/lib sh Configure -Dafl_cc=${AFL_CC} -Dcc=${LCC} -Accflags="${LCFLAGS}" -de -Dusedevel -des -Aldflags="${LCFLAGS}" -Alddlflags="-shared -Wc,-fsanitize=address -m32 -march=i686"
else
AFL_CC=${ACC} AFL_CXX=${ACXX} CC=${LCC} CXX=${LCXX} ASAN_OPTIONS=detect_leaks=0 LD_LIBRARYPATH=$LD_LIBRARY_PATH:/home/arr/llvm-root/lib sh Configure -Dafl_cc=${AFL_CC} -Dcc=${ACXX} -Accflags="${LCFLAGS}" -de -Dusedevel -Aldflags=-fsanitize=address -des -Alddlflags="-shared"
AFL_CC=${ACC} AFL_CXX=${ACXX} CC=${LCC} CXX=${LCXX} ASAN_OPTIONS=detect_leaks=0 LD_LIBRARYPATH=$LD_LIBRARY_PATH:/home/arr/llvm-root/lib sh Configure -Dafl_cc=${AFL_CC} -Dcc=${ACXX} -Accflags="${LCFLAGS}" -de -Dusedevel -des -Aldflags=-fsanitize=address -Alddlflags="-shared -m32 -march=i686"
fi

AFL_CC=${ACC} AFL_CXX=${ACXX} CC=${LCC} CXX=${LCXX} ASAN_OPTIONS=detect_leaks=0 make
Expand Down
2 changes: 1 addition & 1 deletion cases/sqlite/build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

SRCDIR=sqlite
SRCDIR=sqlite-3.8.7.4

. ../config.sh

Expand Down
1 change: 0 additions & 1 deletion cases/sqlite/sqlite

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 8ddb61f

Please sign in to comment.