diff --git a/README.md b/README.md old mode 100755 new mode 100644 index 3842a21..32a9b6b --- a/README.md +++ b/README.md @@ -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 @@ -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 \<\> - - ##Building **Normal Build** @@ -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** @@ -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** @@ -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 \<\> on April 01, 2016 \ No newline at end of file diff --git a/main.cpp b/main.cpp old mode 100755 new mode 100644 index 7cd9bcd..47fd420 --- a/main.cpp +++ b/main.cpp @@ -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 #include #include diff --git a/tests/asan_test b/tests/asan_test old mode 100755 new mode 100644 diff --git a/tests/drm_test b/tests/drm_test old mode 100755 new mode 100644 diff --git a/tests/valgrind_test b/tests/valgrind_test old mode 100755 new mode 100644