Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions DEBIAN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Running curl-fuzzer on Debian Unstable

Currently clang-19 is the latest. Let's use this.

## install

apt install libfuzzer-19-dev

## build

Patch the build script to use the correct libfuzzer

~~~diff
diff --git a/scripts/install_openssl.sh b/scripts/install_openssl.sh
index 91f90dfc..f8a1bf70 100755
--- a/scripts/install_openssl.sh
+++ b/scripts/install_openssl.sh
@@ -38,11 +38,11 @@ pushd ${SRCDIR}
# Build the library.
${ARCH_PROG} ./config --prefix=${INSTALLDIR} \
--libdir=lib \
--debug \
enable-fuzz-libfuzzer \
- --with-fuzzer-lib=/usr/lib/libFuzzingEngine \
+ --with-fuzzer-lib=/usr/lib/llvm-19/lib/libFuzzer \
-DPEDANTIC \
-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION \
no-shared \
${ASM_FLAG} \
enable-tls1_3 \
~~~