File: README.sanitizer

package info (click to toggle)
labplot 2.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 70,348 kB
  • sloc: cpp: 145,806; ansic: 4,534; python: 881; yacc: 540; xml: 357; sh: 185; awk: 35; makefile: 7
file content (14 lines) | stat: -rw-r--r-- 733 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
###############################################################
General information
###############################################################
https://github.com/google/sanitizers/wiki
http://clang.llvm.org/docs/index.html
https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py
http://developerblog.redhat.com/2014/10/16/gcc-undefined-behavior-sanitizer-ubsan/

###############################################################
Address sanitizer
###############################################################
1. add -fsanitize=address -fPIE to the compiler flags and re-compile
2. ASAN_OPTIONS=symbolize=0 build_clang/src/labplot2 2> log.txt
3. python admin/asan_symbolize.py / < log.txt | c++filt