File: README.sanitizer

package info (click to toggle)
labplot 2.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 51,864 kB
  • sloc: cpp: 122,588; ansic: 4,287; python: 808; yacc: 536; xml: 227; sh: 179; 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