<commit_before>#C++ Sanitizers Review Test Suite


##Overview
This repository contains C++ test code and support scripts developed to easily compare Memory Sanitizer tools like
Valgrind, ASAN, Dr.Memory, etc

**Review Results**

@ [Sanitizers for C++ (Valgrind, Dr.Memory, ASAN, TSAN, MSAN, .....)](https://confluence.millenniumit.com/pages/viewpage.action?pageId=30521524)



##Branch Model
This repository is following GitHub Flow branch model
Read more @ [GitHub Flow](https://guides.github.com/introduction/flow/) before you commit changes to this repository.



##Requirements
The following are required for building this source code.

* GCC 4.9.3 or above



##Contributors
The following people can/have contribute/d to this project.

* <NAME> \<<<EMAIL>>\>


##Building
**Normal Build**


/usr/local/gcc-4.9.3/bin/g++ -o MCTester -O -g -Wall main.cpp

**ASAN Build**


/usr/local/gcc-4.9.3/bin/g++ -o MCTester_ASAN -static-libstdc++ -static-libasan -O -g -fsanitize=address -fno-omit-frame-pointer -Wall main.cpp
	
##Additional Settings
**Run Time flags of ASAN**
<commit_msg>Updated running options<commit_after>#C++ Sanitizers Review Test Suite


##Overview
This repository contains C++ test code and support scripts developed to easily compare Memory Sanitizer tools like
Valgrind, ASAN, Dr.Memory, etc

**Review Results**

@ [Sanitizers for C++ (Valgrind, Dr.Memory, ASAN, TSAN, MSAN, .....)](https://confluence.millenniumit.com/pages/viewpage.action?pageId=30521524)



##Branch Model
This repository is following GitHub Flow branch model
Read more @ [GitHub Flow](https://guides.github.com/introduction/flow/) before you commit changes to this repository.



##Requirements
The following are required for building this source code.

* GCC 4.9.3 or above



##Contributors
The following people can/have contribute/d to this project.

* <NAME> \<<<EMAIL>>\>


##Building
**Normal Build**


/usr/local/gcc-4.9.3/bin/g++ -o MCTester -O -g -Wall main.cpp

**ASAN Build**


/usr/local/gcc-4.9.3/bin/g++ -o MCTester_ASAN -static-libstdc++ -static-libasan -O -g -fsanitize=address -fno-omit-frame-pointer -Wall main.cpp

##Running
e.g. Run only Test 1;

**Valgrind**
/mnt/exds/ValgrindInstallations/SuSE-11-SP3/valgrind-3.11.0/vg-in-place --tool=memcheck  MCTester 1 1


**ASAN**
MCTester_ASAN 1 1

**Dr.Memory**
/x01/exd10/DrMemory-Linux-1.10.0-2/bin>./drmemory -light -- MCTester 1 1

##Additional Settings
**Run Time flags of ASAN**

{'fraction_non_alphanumeric': 0.13805817287996722, 'fraction_numerical': 0.023351085620647277, 'mean_word_length': 4.119496855345912, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 12, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '580817', 'n_tokens_mistral': 907, 'n_tokens_neox': 829, 'n_words': 252}