Skip to content

Commit

Permalink
test RAR and UBSAN
Browse files Browse the repository at this point in the history
  • Loading branch information
claudioandre-br committed Jun 10, 2024
1 parent ef6a8ab commit fb55cf5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .clusterfuzzlite/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ FROM gcr.io/oss-fuzz-base/base-builder:v1@sha256:1268136858519ef23d06c588f846791

RUN git clone --depth 1 https://github.com/openwall/john.git /upstream
RUN apt-get update -qq && \
apt-get install -y --no-install-recommends libssl-dev=* zlib1g-dev=* && \
apt-get install -y --no-install-recommends libssl-dev=* zlib1g-dev=* wget && \
apt-get install -y --no-install-recommends libgmp-dev=* libpcap-dev=* libbz2-dev=* \
# ==================================================================
# Clean up the image (shrink the Docker image)
Expand Down
3 changes: 3 additions & 0 deletions .clusterfuzzlite/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ cd /upstream/src || exit 1
# shellcheck source=/dev/null
source ../helper.sh

wget https://patch-diff.githubusercontent.com/raw/openwall/john/pull/5493.patch -O 5493.patch
git am 5493.patch

if [[ "$SANITIZER" == "address" ]]; then
# Asan
./configure --enable-asan
Expand Down

0 comments on commit fb55cf5

Please sign in to comment.