6edadae34a 
								
							 
						 
						
							
							
								
								[sanitizer] Add Scudo to the sanitizer lint checks.  
							
							... 
							
							
							
							Summary:
Scudo abides by the coding style enforced by the sanitizer_common
linter, but as of right now, it's not linter-enforced.
Add Scudo to the list of directories checked by check_lint.sh.
Also: fixes some linter errors found after getting this running.
Reviewers: cryptoad
Reviewed By: cryptoad
Subscribers: llvm-commits, kubamracek
Differential Revision: https://reviews.llvm.org/D39757 
llvm-svn: 317699 
							
						 
						
							2017-11-08 16:42:29 +00:00  
				
					
						
							
							
								 
						
							
								ad272b0861 
								
							 
						 
						
							
							
								
								[asan] fix one more case where stack-use-after-return is not async-signal-safe (during thread startup). beef-up the test to give it a chance to catch regressions. Also relax the lint to make C++11 more usable.  
							
							... 
							
							
							
							llvm-svn: 304598 
							
						 
						
							2017-06-02 21:32:04 +00:00  
				
					
						
							
							
								 
						
							
								00fb6c9da0 
								
							 
						 
						
							
							
								
								Exclude LLVM sources from lint check.  
							
							... 
							
							
							
							Checking files from different repository is not nice, and LLVM code
follows its own style guide anyway.
llvm-svn: 231289 
							
						 
						
							2015-03-04 21:38:10 +00:00  
				
					
						
							
							
								 
						
							
								29235e374c 
								
							 
						 
						
							
							
								
								[sanitizer] Fix bashism in check_lint.sh.  
							
							... 
							
							
							
							llvm-svn: 226267 
							
						 
						
							2015-01-16 10:20:49 +00:00  
				
					
						
							
							
								 
						
							
								e0009356ba 
								
							 
						 
						
							
							
								
								[sanitizer] Cleanup linter temporary files.  
							
							... 
							
							
							
							llvm-svn: 226266 
							
						 
						
							2015-01-16 10:09:56 +00:00  
				
					
						
							
							
								 
						
							
								60ebffc12f 
								
							 
						 
						
							
							
								
								Custom wrappers for DFSanitizing sprintf & snprintf.  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D5561 
llvm-svn: 219293 
							
						 
						
							2014-10-08 10:01:42 +00:00  
				
					
						
							
							
								 
						
							
								89b80fb022 
								
							 
						 
						
							
							
								
								Avoid bashisms and switch to /bin/sh  
							
							... 
							
							
							
							Bash may not be installed on some systems by default, like FreeBSD.
Differential Revision: http://reviews.llvm.org/D5654 
llvm-svn: 219231 
							
						 
						
							2014-10-07 20:23:57 +00:00  
				
					
						
							
							
								 
						
							
								cd0a4aaba3 
								
							 
						 
						
							
							
								
								Don't check lint for SpecialCaseList.cpp  
							
							... 
							
							
							
							llvm-svn: 212642 
							
						 
						
							2014-07-09 19:29:10 +00:00  
				
					
						
							
							
								 
						
							
								ceae1fbafd 
								
							 
						 
						
							
							
								
								migrate litlint from argparse to optparse.  reenabled  
							
							... 
							
							
							
							llvm-svn: 208826 
							
						 
						
							2014-05-14 23:31:20 +00:00  
				
					
						
							
							
								 
						
							
								73bd03cee9 
								
							 
						 
						
							
							
								
								Disabled litlint. It requires Python 2.7 or later  
							
							... 
							
							
							
							llvm-svn: 208823 
							
						 
						
							2014-05-14 23:20:30 +00:00  
				
					
						
							
							
								 
						
							
								a310d98ff1 
								
							 
						 
						
							
							
								
								add script to ensure lit test contains %run  
							
							... 
							
							
							
							llvm-svn: 208819 
							
						 
						
							2014-05-14 22:49:46 +00:00  
				
					
						
							
							
								 
						
							
								8288afb5fe 
								
							 
						 
						
							
							
								
								fixed check_lint.sh in standalone build  
							
							... 
							
							
							
							Change-Id: I30d340bbe6b2028cc0f831399b62521912dcac60
llvm-svn: 204419 
							
						 
						
							2014-03-21 00:45:21 +00:00  
				
					
						
							
							
								 
						
							
								98aa08c0e9 
								
							 
						 
						
							
							
								
								Update sanitizers' bash scripts.  
							
							... 
							
							
							
							* Fix bash scripts to work on FreeBSD (patch by Viktor Kutuzov)
* Update locations of lit tests in check_lint script.
llvm-svn: 202145 
							
						 
						
							2014-02-25 12:09:25 +00:00  
				
					
						
							
							
								 
						
							
								6b3397546e 
								
							 
						 
						
							
							
								
								[sanitizer] Support most ioctls from /usr/include/sound/.  
							
							... 
							
							
							
							llvm-svn: 200544 
							
						 
						
							2014-01-31 14:02:21 +00:00  
				
					
						
							
							
								 
						
							
								895454e1e4 
								
							 
						 
						
							
							
								
								Implement a bunch of custom glibc wrappers & corresponding tests  
							
							... 
							
							
							
							llvm-svn: 195749 
							
						 
						
							2013-11-26 11:45:58 +00:00  
				
					
						
							
							
								 
						
							
								f09d5d03fd 
								
							 
						 
						
							
							
								
								Revert r195381, "Implement a bunch of custom glibc wrappers & corresponding tests."  
							
							... 
							
							
							
							It broke a buildbot.
llvm-svn: 195392 
							
						 
						
							2013-11-21 23:48:19 +00:00  
				
					
						
							
							
								 
						
							
								0a14a71061 
								
							 
						 
						
							
							
								
								Implement a bunch of custom glibc wrappers & corresponding tests.  
							
							... 
							
							
							
							- Introduce several new custom glibc wrappers
- Implement some of the not yet implemented wrappers
- Refactor and extend the tests
- Add script to make sure all declare custom glibc wrappers are implemented & tested.
Patch by Lorenzo Martignoni!
Differential Revision: http://llvm-reviews.chandlerc.com/D2234 
llvm-svn: 195381 
							
						 
						
							2013-11-21 23:18:03 +00:00  
				
					
						
							
							
								 
						
							
								fa103da867 
								
							 
						 
						
							
							
								
								[Sanitizer] Fix lint checker script on Mac  
							
							... 
							
							
							
							llvm-svn: 192791 
							
						 
						
							2013-10-16 13:38:23 +00:00  
				
					
						
							
							
								 
						
							
								a55db0a90f 
								
							 
						 
						
							
							
								
								tsan: do not leave trash source files in source dir  
							
							... 
							
							
							
							llvm-svn: 192700 
							
						 
						
							2013-10-15 13:23:29 +00:00  
				
					
						
							
							
								 
						
							
								d1bae72e39 
								
							 
						 
						
							
							
								
								[libsanitizer] Pass an explicit template to mktemp. Running mktemp without a template doesn't work on Darwin.  
							
							... 
							
							
							
							llvm-svn: 191084 
							
						 
						
							2013-09-20 11:29:44 +00:00  
				
					
						
							
							
								 
						
							
								25dc018843 
								
							 
						 
						
							
							
								
								[sanitizer] Parallelize lint checker script  
							
							... 
							
							
							
							llvm-svn: 189578 
							
						 
						
							2013-08-29 11:35:01 +00:00  
				
					
						
							
							
								 
						
							
								f967d1f947 
								
							 
						 
						
							
							
								
								sanitizer_common: Use PYTHON_EXECUTABLE to choose appropriate python.  
							
							... 
							
							
							
							Fixes build on systems where 'python' is not python2.
llvm-svn: 189486 
							
						 
						
							2013-08-28 15:53:17 +00:00  
				
					
						
							
							
								 
						
							
								dd1d1b2c79 
								
							 
						 
						
							
							
								
								Make lint checker script more robust  
							
							... 
							
							
							
							llvm-svn: 189479 
							
						 
						
							2013-08-28 12:15:03 +00:00  
				
					
						
							
							
								 
						
							
								d875c39be6 
								
							 
						 
						
							
							
								
								Check code style in check-sanitizer command  
							
							... 
							
							
							
							llvm-svn: 189475 
							
						 
						
							2013-08-28 11:27:31 +00:00  
				
					
						
							
							
								 
						
							
								903c3250d2 
								
							 
						 
						
							
							
								
								Slightly improve lint checker script and fix a few style issues  
							
							... 
							
							
							
							llvm-svn: 189092 
							
						 
						
							2013-08-23 07:43:56 +00:00  
				
					
						
							
							
								 
						
							
								dd052cedf8 
								
							 
						 
						
							
							
								
								Add a FIXME to check_lint  
							
							... 
							
							
							
							llvm-svn: 188266 
							
						 
						
							2013-08-13 13:44:02 +00:00  
				
					
						
							
							
								 
						
							
								b42ea7ef21 
								
							 
						 
						
							
							
								
								Lint fixes  
							
							... 
							
							
							
							llvm-svn: 187726 
							
						 
						
							2013-08-05 13:20:39 +00:00  
				
					
						
							
							
								 
						
							
								c8e7364763 
								
							 
						 
						
							
							
								
								[Sanitizer] support running external llvm-symbolizer on Mac  
							
							... 
							
							
							
							llvm-svn: 183730 
							
						 
						
							2013-06-11 08:13:36 +00:00  
				
					
						
							
							
								 
						
							
								e615432313 
								
							 
						 
						
							
							
								
								[lsan] Convert the remaining LSan tests to output tests.  
							
							... 
							
							
							
							llvm-svn: 182839 
							
						 
						
							2013-05-29 10:12:37 +00:00  
				
					
						
							
							
								 
						
							
								39e8a6d87e 
								
							 
						 
						
							
							
								
								[lsan] Begin converting LSan tests to output tests.  
							
							... 
							
							
							
							In this CL all old tests are removed and one LIT test is added.
llvm-svn: 182730 
							
						 
						
							2013-05-27 11:41:46 +00:00  
				
					
						
							
							
								 
						
							
								48c1d1acad 
								
							 
						 
						
							
							
								
								[lsan] Tests for LeakSanitizer.  
							
							... 
							
							
							
							llvm-svn: 182250 
							
						 
						
							2013-05-20 11:09:27 +00:00  
				
					
						
							
							
								 
						
							
								1a2262e1c9 
								
							 
						 
						
							
							
								
								[sanitizer] Fix lint.  
							
							... 
							
							
							
							llvm-svn: 180012 
							
						 
						
							2013-04-22 13:28:26 +00:00  
				
					
						
							
							
								 
						
							
								5b4267f7e7 
								
							 
						 
						
							
							
								
								[sanitizer] found a bug by code inspection: CHECK(a=b) instead of CHECK(a==b). Was puzzled why lint did not catch it. Turns out this check was disabled for asan source. fix all cases and enable the check  
							
							... 
							
							
							
							llvm-svn: 178872 
							
						 
						
							2013-04-05 14:40:25 +00:00  
				
					
						
							
							
								 
						
							
								459df6f167 
								
							 
						 
						
							
							
								
								[asan] a bit stricter lint for CHECK vs CHECK_XX (these CHECK_XX really help debugging!)  
							
							... 
							
							
							
							llvm-svn: 176085 
							
						 
						
							2013-02-26 12:59:06 +00:00  
				
					
						
							
							
								 
						
							
								ec1d286111 
								
							 
						 
						
							
							
								
								[sanitizer] Fix lint.  
							
							... 
							
							
							
							llvm-svn: 175615 
							
						 
						
							2013-02-20 11:06:07 +00:00  
				
					
						
							
							
								 
						
							
								5fa8fb7d91 
								
							 
						 
						
							
							
								
								[sanitizer] Intercept __isoc99_*scanf.  
							
							... 
							
							
							
							llvm-svn: 174960 
							
						 
						
							2013-02-12 11:34:52 +00:00  
				
					
						
							
							
								 
						
							
								60a8e5b9b7 
								
							 
						 
						
							
							
								
								[sanitizer] Fix lint.  
							
							... 
							
							
							
							llvm-svn: 174708 
							
						 
						
							2013-02-08 12:13:43 +00:00  
				
					
						
							
							
								 
						
							
								49a32c1d08 
								
							 
						 
						
							
							
								
								[Sanitizer] update style checker script and fix namespace style warnings  
							
							... 
							
							
							
							llvm-svn: 173910 
							
						 
						
							2013-01-30 07:45:58 +00:00  
				
					
						
							
							
								 
						
							
								8a3666f63c 
								
							 
						 
						
							
							
								
								[sanitizer] Workaround broken mktemp on certain platforms.  
							
							... 
							
							
							
							llvm-svn: 172827 
							
						 
						
							2013-01-18 16:24:50 +00:00  
				
					
						
							
							
								 
						
							
								c8cde8d736 
								
							 
						 
						
							
							
								
								[sanitizer] Enable cpplint for .inc files.  
							
							... 
							
							
							
							llvm-svn: 172825 
							
						 
						
							2013-01-18 15:53:43 +00:00  
				
					
						
							
							
								 
						
							
								8474843e3b 
								
							 
						 
						
							
							
								
								[TSan] Blacklist test: Rename blacklisted function. Make this test work for custom TSan testing script.  
							
							... 
							
							
							
							llvm-svn: 171186 
							
						 
						
							2012-12-28 10:06:26 +00:00  
				
					
						
							
							
								 
						
							
								fb37510e96 
								
							 
						 
						
							
							
								
								Add MemorySanitizer.cpp to the lint script.  
							
							... 
							
							
							
							llvm-svn: 170204 
							
						 
						
							2012-12-14 13:48:55 +00:00  
				
					
						
							
							
								 
						
							
								506b97d61e 
								
							 
						 
						
							
							
								
								[Sanitizer] disable lint check for line length in ASan output tests  
							
							... 
							
							
							
							llvm-svn: 170123 
							
						 
						
							2012-12-13 12:09:47 +00:00  
				
					
						
							
							
								 
						
							
								83f05bf960 
								
							 
						 
						
							
							
								
								Add MemorySanitizer runtime to check_lint.sh.  
							
							... 
							
							
							
							llvm-svn: 169861 
							
						 
						
							2012-12-11 12:52:38 +00:00  
				
					
						
							
							
								 
						
							
								5d2d761ad6 
								
							 
						 
						
							
							
								
								Switch to r83 of cpplint.  
							
							... 
							
							
							
							Ubuntu Precise compatibility.
llvm-svn: 169597 
							
						 
						
							2012-12-07 11:00:14 +00:00  
				
					
						
							
							
								 
						
							
								5a42ac5b0e 
								
							 
						 
						
							
							
								
								[Sanitizer] update lint checker script  
							
							... 
							
							
							
							llvm-svn: 164111 
							
						 
						
							2012-09-18 07:26:51 +00:00  
				
					
						
							
							
								 
						
							
								c21f901b2f 
								
							 
						 
						
							
							
								
								[Sanitizer] fix warnings reported by gcc. Update the list of targets to check lint for  
							
							... 
							
							
							
							llvm-svn: 163608 
							
						 
						
							2012-09-11 10:31:28 +00:00  
				
					
						
							
							
								 
						
							
								4d45b9b784 
								
							 
						 
						
							
							
								
								[asan] added tests for asan-initialization-order, patch by Reid Watson  
							
							... 
							
							
							
							llvm-svn: 163207 
							
						 
						
							2012-09-05 09:07:02 +00:00  
				
					
						
							
							
								 
						
							
								79b36285ca 
								
							 
						 
						
							
							
								
								[Sanitizer] Make lint checking a standalone script in sanitizer_common  
							
							... 
							
							
							
							llvm-svn: 162982 
							
						 
						
							2012-08-31 08:36:36 +00:00