about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml46
1 files changed, 2 insertions, 44 deletions
diff --git a/.travis.yml b/.travis.yml
index b6e0f1d7..b1f23032 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,55 +8,13 @@ env:
 
 before_install:
   - sudo apt update
-  - sudo apt install -y libtool libtool-bin automake bison libglib2.0 build-essential clang
+  - sudo apt install -y libtool libtool-bin automake bison libglib2.0 build-essential clang gcc-9 gcc-9-plugin-dev
 
 # TODO: Look into splitting off some builds using a build matrix.
 # TODO: Move this all into a bash script so we don't need to write bash in yaml.
 script:
   - make distrib
-  - ./afl-gcc ./test-instr.c -o test-instr-gcc
-  - mkdir seeds
-  - echo "" > seeds/nil_seed
-  - if [ -z "$AFL_STOP_MANUALLY" ];
-    then ./afl-fuzz -i seeds -o out/ -- ./test-instr-gcc;
-    else timeout --preserve-status 5s ./afl-fuzz -i seeds -o out/ -- ./test-instr-gcc;
-    fi
-  #- .travis/check_fuzzer_stats.sh -o out -k peak_rss_mb -v 1 -p 3
-  - rm -r out/*
-  #- ./afl-clang ./test-instr.c -o test-instr-clang
-  #- if [ -z "$AFL_STOP_MANUALLY" ];
-  #  then ./afl-fuzz -i seeds -o out/ -- ./test-instr-clang;
-  #  else timeout --preserve-status 5s ./afl-fuzz -i seeds -o out/ -- ./test-instr-clang;
-  #  fi
-  #- .travis/check_fuzzer_stats.sh -o out -k peak_rss_mb -v 1 -p 2
-  #- CC=clang CXX=clang++ make
-  #- cd llvm_mode
-  # TODO: Build with different versions of clang/LLVM since LLVM passes don't
-  # have a stable API.
-  #- CC=clang CXX=clang++ LLVM_CONFIG=llvm-config make
-  #- cd ..
-  #- rm -r out/*
-  - ./afl-clang-fast ./test-instr.c -o test-instr-clang-fast
-  - if [ -z "$AFL_STOP_MANUALLY" ];
-    then ./afl-fuzz -i seeds -o out/ -- ./test-instr-clang-fast;
-    else timeout --preserve-status 5s ./afl-fuzz -i seeds -o out/ -- ./test-instr-clang-fast;
-    fi
-  #- .travis/check_fuzzer_stats.sh -o out -k peak_rss_mb -v 1 -p 3
-  # Test fuzzing libFuzzer targets and trace-pc-guard instrumentation.
-  #- clang -g -fsanitize-coverage=trace-pc-guard ./test-libfuzzer-target.c -c
-  #- clang -c -w llvm_mode/afl-llvm-rt.o.c
-  #- wget https://raw.githubusercontent.com/llvm/llvm-project/master/compiler-rt/lib/fuzzer/afl/afl_driver.cpp
-  #- clang++ afl_driver.cpp afl-llvm-rt.o.o test-libfuzzer-target.o -o test-libfuzzer-target
-  #- timeout --preserve-status 5s ./afl-fuzz -i seeds -o out/ -- ./test-libfuzzer-target
-  #- cd qemu_mode
-  #- ./build_qemu_support.sh
-  #- cd ..
-  #- gcc ./test-instr.c -o test-no-instr
-  #- if [ -z "$AFL_STOP_MANUALLY" ];
-  #  then ./afl-fuzz -Q -i seeds -o out/ -- ./test-no-instr;
-  #  else timeout --preserve-status 5s ./afl-fuzz -Q -i seeds -o out/ -- ./test-no-instr;
-  #  fi
-  #- .travis/check_fuzzer_stats.sh -o out -k peak_rss_mb -v 12 -p 9
   - ./afl-system-config
+  - sudo echo core > /proc/sys/kernel/core_pattern
   - make tests
   - make clean