Makes suricata work with rust sanitizers (#3897)

This commit is contained in:
Catena cyber 2020-05-28 17:27:56 +02:00 committed by GitHub
parent 37fbb75094
commit 84c9e6b503
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
################################################################################
FROM gcr.io/oss-fuzz-base/base-builder
RUN apt-get update && apt-get install -y build-essential autoconf automake libtool make pkg-config rustc cargo python flex bison zlib1g-dev libpcre3-dev
RUN apt-get update && apt-get install -y build-essential autoconf automake libtool make pkg-config python flex bison zlib1g-dev libpcre3-dev
#TODO libmagic, liblzma, pcre and other optional libraries
ADD https://www.tcpdump.org/release/libpcap-1.9.1.tar.gz libpcap-1.9.1.tar.gz

View File

@ -44,10 +44,10 @@ make -j$(nproc)
make install
cd ..
export CARGO_BUILD_TARGET="x86_64-unknown-linux-gnu"
# build project
cd suricata
export PATH=$PATH:/root/.cargo/bin
sh autogen.sh
#run configure with right options
./src/tests/fuzz/oss-fuzz-configure.sh