Skip to content

Commit f9f99a9

Browse files
authored
Enables MSAN for Suricata (#4455)
* Enables MSAN for Suricata * Move rustup std lib download to base-builder
1 parent 14275cf commit f9f99a9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

infra/base-images/base-builder/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ ENV RUSTUP_HOME=/rust/rustup
7878
ENV PATH=$PATH:/rust/bin
7979
RUN curl https://sh.rustup.rs | sh -s -- -y --default-toolchain=nightly
8080
RUN cargo install cargo-fuzz
81+
# Needed to recompile rust std library for MSAN
82+
RUN rustup component add rust-src --toolchain nightly
8183

8284
# Default build flags for various sanitizers.
8385
ENV SANITIZER_FLAGS_address "-fsanitize=address -fsanitize-address-use-after-scope"

projects/suricata/project.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ primary_contact: "[email protected]"
44
auto_ccs:
55
66
7+
sanitizers:
8+
- address
9+
- memory
10+
- undefined

0 commit comments

Comments
 (0)