Skip to content

Instantly share code, notes, and snippets.

// build libwebp with instrumentation
// mkdir build && cd build && cmake -DCMAKE_C_COMPILER=clang -DCMAKE_C_FLAGS="-fsanitize=fuzzer-no-link,address" .. && ninja
//
// compile fuzzer
// compile with clang++ ./huffman_fuzzer.cc -fsanitize=fuzzer,address build/libwebp.a -I. -o huffman_fuzzer
//
// compile fuzzer
// clang++ ./huffman_fuzzer.cc -fsanitize=fuzzer,address
//
// run fuzzer
@weichslgartner
weichslgartner / wosch.h
Created May 11, 2023 17:35
wosch-c header
//http://www.mirko-hansen.de/downloads/wosch.h
#define zeiger *
#define abbrechen abort
#define akzeptiere accept
#define binde bind
#define breche break
#define lreser calloc
#define fall case
#define buch char
#define schliesseverz closedir