Skip to content

Commit 27290f9

Browse files
committed
fix(fuzzing): set CRS_PATH so fuzzers find CRS under read-only rootfs
The ContFuzzer platform runs containers with HOME=/tmp and a read-only root filesystem. Three fuzzers (ipa, avm prover, translator_composer) call bb_crs_path() which defaults to $HOME/.bb-crs — missing on tmpfs. Setting CRS_PATH explicitly points them at the baked-in /root/.bb-crs.
1 parent 2635e10 commit 27290f9

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

container-builds/fuzzing-container/src/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ COPY --from=builder /home/fuzzer/aztec-packages/barretenberg/cpp/build-fuzzing-c
106106

107107
# Copy CRS
108108
COPY --from=builder /root/.bb-crs /root/.bb-crs
109+
ENV CRS_PATH=/root/.bb-crs
109110

110111
# Copy flattened target binaries
111112
COPY --from=builder /targets/ /targets/

container-builds/fuzzing-container/src/Dockerfile.private

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ COPY --from=builder /home/fuzzer/aztec-packages/barretenberg/cpp/build-fuzzing-c
110110

111111
# Copy CRS
112112
COPY --from=builder /root/.bb-crs /root/.bb-crs
113+
ENV CRS_PATH=/root/.bb-crs
113114

114115
# Copy flattened target binaries
115116
COPY --from=builder /targets/ /targets/

0 commit comments

Comments
 (0)