Skip to content

ukoehler/SanitizerPlayground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SanitizerPlayground

Collection of test code to play with gcc sanitizers. Taken from RedHat

Motivation

I needed same sample output to write parsers for GCC sanitizer results. The above webpage provided the required test cases.

Build (Linux)

git clone https://github.com/ukoehler/SanitizerPlayground.git
cd SanitizerPlayground
mkdir build
cd build

Either

cmake -DCMAKE_BUILD_TYPE=Debug -DAddressSanitize=ON ..

or

cmake -DCMAKE_BUILD_TYPE=Debug -DThreadSanitize=ON ..

followed by

make

Run examples

Follow above with

cd src
./global
./leak
./overrun
./stack
./tiny
./uar
./undefined
./uninit

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published