SMOLNET PORTAL home about changes
build_sanitize.sh - sfeed_tests - sfeed tests and RSS and Atom files
(URL) git clone git://git.codemadness.org/sfeed_tests (git://git.codemadness.org)
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
build_sanitize.sh (393B)
---
1 #!/bin/sh
2 # Dependencies: gcc with -lasan and -lubsan or clang with support of it.
3
4 # options, see https://clang.llvm.org/docs/UsersManual.html:
5 #sanitize="-fsanitize=thread,alignment,undefined,memory,address,safe-stack"
6
7 #sanitize="-fsanitize-trap=undefined"
8
9 cc="${CC:-clang}"
10 sanitize="-fsanitize=undefined,address"
11
12 make clean
13 make \
14 CC="$cc" \
15 CFLAGS="$sanitize" \
16 LDFLAGS="$sanitize"
Response: application/gopher-menu
Original URLgopher://codemadness.org/1/git/sfeed_tests/file/build_san...
Content-Typeapplication/gopher-menu; charset=utf-8