diff options
author | Catena cyber <35799796+catenacyber@users.noreply.github.com> | 2020-11-06 00:26:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-05 15:26:34 -0800 |
commit | b28d30ef3b18808922542e36966b23e05204a906 (patch) | |
tree | cdee01e0f3a3ff9fa9418dd163745f4bf41a196f /projects/suricata | |
parent | dc5574d93d1cf3a6d721efed4bbfff5b8dd6db9a (diff) | |
download | oss-fuzz-b28d30ef3b18808922542e36966b23e05204a906.tar.gz |
Compatible build for Suricata with CIFuzz (#4606)
Diffstat (limited to 'projects/suricata')
-rw-r--r-- | projects/suricata/Dockerfile | 2 | ||||
-rwxr-xr-x | projects/suricata/build.sh | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/projects/suricata/Dockerfile b/projects/suricata/Dockerfile index e4486b94f..40352073f 100644 --- a/projects/suricata/Dockerfile +++ b/projects/suricata/Dockerfile @@ -28,7 +28,7 @@ ADD https://rules.emergingthreats.net/open/suricata/emerging.rules.zip emerging. RUN cargo install --force cbindgen RUN git clone --depth 1 https://github.com/OISF/suricata.git suricata -RUN git clone --depth 1 https://github.com/OISF/libhtp.git suricata/libhtp +RUN git clone --depth 1 https://github.com/OISF/libhtp.git libhtp RUN git clone --depth 1 https://github.com/OISF/suricata-verify suricata-verify WORKDIR $SRC COPY build.sh $SRC/ diff --git a/projects/suricata/build.sh b/projects/suricata/build.sh index d569ed0bc..d0e152d8b 100755 --- a/projects/suricata/build.sh +++ b/projects/suricata/build.sh @@ -46,6 +46,8 @@ cd .. export CARGO_BUILD_TARGET="x86_64-unknown-linux-gnu" +#we did not put libhtp there before so that cifuzz does not remove it +mv libhtp suricata/ # build project cd suricata sh autogen.sh |