Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
SanitizerSetup.cxx File Reference

Macros

#define DETECT_LEAKS   ":detect_leaks=0"

Functions

const char * __asan_default_options ()
 Default options when address sanitizer starts up in ROOT executables.
const char * __lsan_default_options ()
 Default options when leak sanitizer starts up in ROOT executables.
const char * __lsan_default_suppressions ()
 Default suppressions for leak sanitizer in ROOT.

Macro Definition Documentation

◆ DETECT_LEAKS

#define DETECT_LEAKS   ":detect_leaks=0"

Function Documentation

◆ __asan_default_options()

const char * __asan_default_options ( )

Default options when address sanitizer starts up in ROOT executables.

This is relevant when ROOT's build option asan is on. These can be overridden / augmented by the ASAN_OPTIONS environment variable. Using ASAN_OPTIONS=help=1 and starting an instrumented ROOT executable, available options will be printed.

Definition at line 17 of file SanitizerSetup.cxx.

◆ __lsan_default_options()

const char * __lsan_default_options ( )

Default options when leak sanitizer starts up in ROOT executables.

This is relevant when ROOT's build options asan is on. These can be overridden / augmented by the LSAN_OPTIONS environment variable. Using LSAN_OPTIONS=help=1 and starting an instrumented ROOT executable, available options will be printed.

Definition at line 41 of file SanitizerSetup.cxx.

◆ __lsan_default_suppressions()

const char * __lsan_default_suppressions ( )

Default suppressions for leak sanitizer in ROOT.

Since llvm uses allocators that do not give back memory, many leaks would show up. A customisable version can be found in $ROOTSYS/build/.

Definition at line 48 of file SanitizerSetup.cxx.