Skip to content

Commit

Permalink
MIT License info added
Browse files Browse the repository at this point in the history
  • Loading branch information
Gayan Pathirage committed Apr 1, 2016
1 parent c6e3c94 commit 8cff2f2
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 20 deletions.
21 changes: 7 additions & 14 deletions README.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@
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)
@ [To be updated in the wiki)](https://github.com/gayanpathirage/SanitizersReviewTestSuite/wiki)


##Licence
The MIT License (MIT)


##Branch Model
Expand All @@ -23,13 +27,6 @@ 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.

* Gayan Pathirage \<<[email protected]>\>


##Building
**Normal Build**

Expand All @@ -46,7 +43,7 @@ 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
/mnt/ValgrindInstallations/SuSE-11-SP3/valgrind-3.11.0/vg-in-place --tool=memcheck MCTester 1 1


**ASAN**
Expand All @@ -55,7 +52,7 @@ MCTester_ASAN 1 1

**Dr.Memory**

/x01/exd10/DrMemory-Linux-1.10.0-2/bin>./drmemory -light -- MCTester 1 1
/mnt/DrMemory-Linux-1.10.0-2/bin>./drmemory -light -- MCTester 1 1

##Additional Settings
**Run Time flags of ASAN**
Expand All @@ -82,7 +79,3 @@ with --keep-stacktraces=none --undef-value-errors=no options to be inline with A
* Test suite can run range of tests e.g. MCTester_ASAN 1 - 10
* Test suite can run tests starting from a test MCTester_ASAN 10 - this will execute all 10,11,12,....
* Test suite can run individual test e.g. MCTester_ASAN 1 1 - will execute only Test 1


##History
Repo created by Gayan Pathirage \<<[email protected]>\> on April 01, 2016
28 changes: 22 additions & 6 deletions main.cpp
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
/*
This app is writen to compare different memory/thread error detection tools by
simulating various errors.
More info can be found in following confluence link
Author : gayancp
The MIT License (MIT)
Copyright (c) 2016 Gayan Pathirage
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

#include <stdio.h>
#include <iostream>
#include <cstdlib>
Expand Down
Empty file modified tests/asan_test
100755 → 100644
Empty file.
Empty file modified tests/drm_test
100755 → 100644
Empty file.
Empty file modified tests/valgrind_test
100755 → 100644
Empty file.

0 comments on commit 8cff2f2

Please sign in to comment.