Skip to content

CJLove/sanitizer-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sanitizer-playground

Example code demonstrating categories of errors detected by gcc/clang sanitizers

Building with CMake

$ ./buildAll.sh

# Override compilers
$ CC=/path/to/clang CXX=/path/to/clang++ ./buildAll.sh

Address Sanitizer

Leak Sanitizer

Thread Sanitizer

Memory Sanitizer (Clang only)

Undefined Behavior Sanitizer

References:

Code examples taken from:

CMake support for sanitizer builds:

About

Example code for exercizing gcc/clang sanitizers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published