Collection of test code to play with gcc sanitizers. Taken from RedHat
I needed same sample output to write parsers for GCC sanitizer results. The above webpage provided the required test cases.
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
Follow above with
cd src
./global
./leak
./overrun
./stack
./tiny
./uar
./undefined
./uninit