File: README.sanitizer

package info (click to toggle)
labplot 2.12.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 78,500 kB
  • sloc: cpp: 241,048; ansic: 6,324; python: 915; xml: 400; yacc: 237; sh: 221; awk: 35; makefile: 11
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