about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2021-06-25 22:32:49 +0200
committerhexcoder- <heiko@hexco.de>2021-06-25 22:32:49 +0200
commitc88b98d1c91b37c1941483980161bd46cb03c4d5 (patch)
tree973504e8985db4cd3a3a81c3a65802c347b9e3a3 /test
parent89ddd9998c0e955e0277ba077c7186b77615f0e8 (diff)
downloadafl++-c88b98d1c91b37c1941483980161bd46cb03c4d5.tar.gz
test laf splitting: set default for char type explicitly to signed
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-llvm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-llvm.sh b/test/test-llvm.sh
index 8090e176..aa40c5ed 100755
--- a/test/test-llvm.sh
+++ b/test/test-llvm.sh
@@ -191,7 +191,7 @@ test -e ../afl-clang-fast -a -e ../split-switches-pass.so && {
     for I in char short int long "long long"; do
       for BITS in 8 16 32 64; do
         bin="$testcase-split-$I-$BITS.compcov" 
-        AFL_LLVM_INSTRUMENT=AFL AFL_DEBUG=1 AFL_LLVM_LAF_SPLIT_COMPARES_BITW=$BITS AFL_LLVM_LAF_SPLIT_COMPARES=1 ../afl-clang-fast -DINT_TYPE="$I" -o "$bin" "$testcase" > test.out 2>&1;
+        AFL_LLVM_INSTRUMENT=AFL AFL_DEBUG=1 AFL_LLVM_LAF_SPLIT_COMPARES_BITW=$BITS AFL_LLVM_LAF_SPLIT_COMPARES=1 ../afl-clang-fast -fsigned-char -DINT_TYPE="$I" -o "$bin" "$testcase" > test.out 2>&1;
         if ! test -e "$bin"; then
             cat test.out
             $ECHO "$RED[!] llvm_mode laf-intel/compcov integer splitting failed! ($testcase with type $I split to $BITS)!";