Skip to content

Commit a5e8109

Browse files
committed
Change rust version in goblin-afl
1 parent 2fb38c5 commit a5e8109

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

projects/goblin/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@
1414
#
1515
################################################################################
1616

17-
ARG BASE_IMAGE="sydr/ubuntu20.04-sydr-fuzz"
17+
ARG BASE_IMAGE="sydr/ubuntu22.04-sydr-fuzz"
1818
FROM $BASE_IMAGE
1919

2020
MAINTAINER Andrey Fedotov
2121

22-
RUN apt-get update && \
23-
apt-get -y install curl
22+
# Only for goblin.
23+
RUN rustup override set nightly-2025-05-01
24+
RUN cargo afl config --build
2425

2526
# Copy build script.
2627
COPY build_cov.sh build_fuzz.sh build_sydr.sh /

projects/goblin/directed_target/Makefile.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ DIFUZZ_DIR = { value = "/directed_target/sydr/difuzz", condition = { env_not_set
66
DIFUZZ_DIR_ABS = { script = ["realpath ${DIFUZZ_DIR}"] }
77
OUT_DIR = { value = "${PROJECT_DIR}", condition = { env_not_set = ["OUT_DIR"] } }
88
OUT_DIR_ABS = { script = ["realpath ${OUT_DIR}"] }
9-
DIFUZZ_ARGS = { value = "--weights reverse -o difuzz -j8 --analyse-icalls disabled --no-check-src", condition = { env_not_set = ["DIFUZZ_ARGS"] } }
9+
DIFUZZ_ARGS = { value = "--weights reverse -o difuzz -j8 --analyse-icalls weak --no-check-src", condition = { env_not_set = ["DIFUZZ_ARGS"] } }
1010
CARGO_TARGET_DIR = { value = "${PROJECT_DIR}/target", condition = { env_not_set = [
1111
"CARGO_TARGET_DIR",
1212
] } }

0 commit comments

Comments
 (0)