geom_gate userland utility improvements
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

31 lines
753 B

  1. #!/bin/bash -eu
  2. # This script is called by the oss-fuzz main project when compiling the fuzz
  3. # targets. This script is regression tested by travisoss.sh.
  4. # Save off the current folder as the build root.
  5. export BUILD_ROOT=$PWD
  6. echo "CC: $CC"
  7. echo "CXX: $CXX"
  8. echo "LIB_FUZZING_ENGINE: $LIB_FUZZING_ENGINE"
  9. echo "CFLAGS: $CFLAGS"
  10. echo "CXXFLAGS: $CXXFLAGS"
  11. echo "OUT: $OUT"
  12. export MAKEFLAGS+="-j$(nproc)"
  13. # Install dependencies
  14. apt-get -y install automake libtool libssl-dev zlib1g-dev
  15. # Compile the fuzzer.
  16. ./buildconf
  17. ./configure --disable-shared \
  18. --enable-ossfuzzers \
  19. --disable-examples-build \
  20. --enable-debug
  21. make V=1
  22. # Copy the fuzzer to the output directory.
  23. cp -v tests/ossfuzz/ssh2_client_fuzzer $OUT/