URI: 
       script to build with clang sanitize options - webdump_tests - Testfiles for webdump
  HTML git clone git://git.codemadness.org/webdump_tests
   DIR Log
   DIR Files
   DIR Refs
   DIR README
       ---
   DIR commit c6aa10a0a1fcfa9dc4e6522b690504d67d983855
   DIR parent c381c812e66782d4e475a8bf6e1585457c309f33
  HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Fri,  3 Jul 2026 13:05:34 +0200
       
       script to build with clang sanitize options
       
       Diffstat:
         A build_sanitize.sh                   |      16 ++++++++++++++++
       
       1 file changed, 16 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/build_sanitize.sh b/build_sanitize.sh
       @@ -0,0 +1,16 @@
       +#!/bin/sh
       +# Dependencies: gcc with -lasan and -lubsan or clang with support of it.
       +
       +# options, see https://clang.llvm.org/docs/UsersManual.html:
       +#sanitize="-fsanitize=thread,alignment,undefined,memory,address,safe-stack"
       +
       +#sanitize="-fsanitize-trap=undefined"
       +
       +cc="${CC:-clang}"
       +sanitize="-fsanitize=undefined,address"
       +
       +make clean
       +make \
       +        CC="$cc" \
       +        CFLAGS="$sanitize" \
       +        LDFLAGS="$sanitize"