etc.git


etc

~ scripts and random things
git clone https://github.com/djnnvx/etc.git
log | files | refs | archive

install.sh (433B)

      1 #!/bin/bash
      2 
      3 export LIBXML_VERSION=2.13
      4 
      5 set -euo pipefail
      6 
      7 git clone https://gitlab.gnome.org/GNOME/libxml2.git && cd libxml2 && git switch ${LIBXML_VERSION}
      8 
      9 ./autogen.sh
     10 
     11 ./configure --enable-shared=no
     12 
     13 export AFL_USE_UBSAN=1
     14 export AFL_USE_ASAN=1
     15 
     16 make CC=afl-clang-fast CXX=afl-clang-fast++ LD=afl-clang-fast
     17 
     18 mkdir fuzzing
     19 cp xmllint fuzzing/xmllint_cov
     20 
     21 mkdir -p fuzzing/in
     22 cp test/*.xml fuzzing/in/
     23 
     24 # sudo afl-system-config