bergmann
7a576e37cf
Merge remote-tracking branch 'sanitizers/master'
6 vuotta sitten
bergmann
fb5498f0ce
* Moved modules to cmake subdirectory.
* Added readme.
6 vuotta sitten
bergmann
ebbae4fbb4
* Added group to cmake tests that will generate an extra group target (e.g. 'GROUP fuubar' generates the 'fuubar-tests' target)
6 vuotta sitten
bergmann
3c7bb5bfa3
* Fixd bug: Reading git tags will fail if the tag is on the current commit
6 vuotta sitten
bergmann
6f0f8afea0
* Fixed bug: Git tag is always read from the root repository. Now it will be read from the current cmake source directory.
6 vuotta sitten
bergmann
29bc08806b
* Fixed bug: Git commands they do not output something on stdout are handles as error
6 vuotta sitten
bergmann
4953cd4cc8
* Fixed bug: ctest fail because the working directory is not set correctly
6 vuotta sitten
bergmann
4c999fb0c6
* Fixed bug in git helper: Do not fail if no tag could be read.
6 vuotta sitten
bergmann
4ca86b7d92
* Improved git helper
* Fixed bugs
6 vuotta sitten
bergmann
18f17b254a
* Merged changes from indusol repository
6 vuotta sitten
bergmann
a50f6505f4
* Improved FindLocalModele and Git Helper
6 vuotta sitten
bergmann
1a32531aef
* improved pedantic flags module
6 vuotta sitten
bergmann
3ab089eb47
* added script to find and include local cmake projects
6 vuotta sitten
bergmann
1e74005bc2
* updated cotire to latest version
* some small improvements and bug fixes
7 vuotta sitten
bergmann
0b01689a38
* fixed bug in pedantic flags
7 vuotta sitten
Erik Junghanns
9a495487c9
* Fixed pedantic compiler flags
7 vuotta sitten
bergmann
82a9329c96
* Ignore unknown pragmas (as we compile with clang and gcc in most cases)
7 vuotta sitten
Matt Arsenault
99e159ec9b
Merge pull request #23 from gunrot/noheaderext
handle header without extension
7 vuotta sitten
Matt Arsenault
e63f5614f7
Merge pull request #24 from gunrot/objectlibfix
handle objeclib only input for target
7 vuotta sitten
bergmann
b125a1a176
* initial commit
7 vuotta sitten
Gunnar Roth
798d9a29a2
handle objeclib only input for target
if compiler num is 0 this is not always an error,
as that can also happen, when having only a objectlib
as input and no other source files.
7 vuotta sitten
Gunnar Roth
52475588ae
handle header without extension
7 vuotta sitten
Matt Arsenault
aab6948fa8
Merge pull request #21 from 9fcc/master
Fix unclear error while accidentally sanitizing interface library
7 vuotta sitten
Andrey Dotsenko
d093052a52
Fix unclear error while accidentally sanitizing interface library
Interface libraries added since CMake 3.0 version have INTERFACE_SOURCES property instead of SOURCES so it leads to error which is unclear and prevents project from compiling. Warning would be enough it this case.
7 vuotta sitten
Matt Arsenault
002fdca749
Merge pull request #20 from 9fcc/shortest-ext
Fix language detection with file names containing more than one dot
7 vuotta sitten
Andrey Dotsenko
0590614f30
Fix language detection for files with dot in their names
7 vuotta sitten
Andrey Dotsenko
6f451ad0cf
Force ASAN with tests and make them passed when failed
7 vuotta sitten
Matt Arsenault
6947cff3a9
Merge pull request #15 from TheErk/fix-README-add_sanitizer_blacklist
Fix reference to sanitizer_add_blacklist_file in README.md
8 vuotta sitten
Eric Noulard
0bdbdbf517
Fix reference to sanitizer_add_blacklist_file in README.md
8 vuotta sitten
Matt Arsenault
6b9a849ff4
Merge pull request #14 from amin-jabri/tsan_osx
Reenable TSan on macOS as newer Xcode toolchains support it.
8 vuotta sitten
Matt Arsenault
c5055c49ea
Merge pull request #12 from TheErk/fix-spellingTypos
Fix a couple of spelling typos
8 vuotta sitten
Mohamed Amin JABRI
b719221996
Reenable TSan on macOS as newer Xcode toolchains support it.
8 vuotta sitten
Eric Noulard
3c2c439ef8
Fix a couple of spelling typos
8 vuotta sitten
Matt Arsenault
f09151bc87
Merge pull request #11 from Placinta/master
Fix option type in add_sanitizers check
9 vuotta sitten
Alexandru Croitor
89c899140f
Fix option type in add_sanitizers check
9 vuotta sitten
Matt Arsenault
295c360967
Merge pull request #10 from RWTH-ELP/feature/fewer_messages
Show fewer warnings for targets.
9 vuotta sitten
Alexander Haase
a1bee9b178
Show fewer warnings for targets.
Instead of printing the same message over and over again, if a target can't use
a specific sanitizer, the message will be printed only once for the first
affected target now.
9 vuotta sitten
Matt Arsenault
37d5ac8067
Merge pull request #6 from RWTH-ELP/master
Fixed links.
10 vuotta sitten
Alexander Haase
b29fe1129c
Fixed links.
Fixed links in README.md after merge to upstream.
10 vuotta sitten
Matt Arsenault
998db11834
Merge pull request #5 from RWTH-ELP/restructuring
Restructuring and new features
10 vuotta sitten
Alexander Haase
4f5410511a
Updated README file.
10 vuotta sitten
Alexander Haase
5bfe8a8e51
Support multiple targets in add_sanitizers.
10 vuotta sitten
Alexander Haase
8fe13da3a5
Added asan-wrapper.
In some special cases static linking the sanitizers won't work, and you have to
preload libasan. To find the right libasan depending on the application to be
executed, a wrapper script was added. The location of the wrapper script can be
accessed via ASan_WRAPPER variable.
10 vuotta sitten
Alexander Haase
8d8c0f7a4e
Bugfixes.
10 vuotta sitten
Alexander Haase
179e77d612
Added option for static linking gcc sanitizers.
If you like to preload a sanitized library in front of an application, it will
fail, because it is not the first in the library list anymore. This behaviour
is gcc specific - clang will static link the sanitizers instead. To get the
same for gcc, the new SANITIZE_LINK_STATIC flag will link the sanitizers
static in gcc environments.
Note: The preloaded executable must be sanitized, too! Otherwise ASan will
print an error message!
10 vuotta sitten
Alexander Haase
a6b6ae43db
Merge branch 'remove_optimization' into one_module
10 vuotta sitten
Alexander Haase
6d56fe50e7
Removed optimization flags.
Due optimizing the code is optional for using the sanitizers, the user should
set an optimisation level by his choice on his own.
10 vuotta sitten
Alexander Haase
1a68d6aefe
Little bugfixes.
10 vuotta sitten
Alexander Haase
1cefaef507
Added function to set sanitizer blacklist.
10 vuotta sitten
Alexander Haase
f566e2b9ec
Added checks to avoid bad sanitizer combinations.
Some sanitizers are not compatible with other sanitizers. Added some checks to
avoid these combinations at configuration time.
10 vuotta sitten