25e592e522 
								
							 
						 
						
							
							
								
								[analyzer] PR41185: Fix regression where __builtin_* functions weren't recognized  
							
							... 
							
							
							
							For the following code snippet:
void builtin_function_call_crash_fixes(char *c) {
  __builtin_strncpy(c, "", 6);
  __builtin_memset(c, '\0', (0));
  __builtin_memcpy(c, c, 0);
}
security.insecureAPI.DeprecatedOrUnsafeBufferHandling caused a regression, as it
didn't recognize functions starting with __builtin_. Fixed exactly that.
I wanted to modify an existing test file, but the two I found didn't seem like
perfect candidates. While I was there, I prettified their RUN: lines.
Differential Revision: https://reviews.llvm.org/D59812 
llvm-svn: 358609 
							
						 
						
							2019-04-17 19:56:40 +00:00  
				
					
						
							
							
								 
						
							
								184c6242fa 
								
							 
						 
						
							
							
								
								Reland 4: [analyzer] NFC: Update test infrastructure to support multiple constraint managers  
							
							... 
							
							
							
							Summary: Replace calls to %clang/%clang_cc1 with %clang_analyze_cc1 when invoking static analyzer, and perform runtime substitution to select the appropriate constraint manager, per D28952.
Reviewers: xazax.hun, NoQ, zaks.anna, dcoughlin
Subscribers: mgorny, rgov, mikhail.ramalho, a.sidorin, cfe-commits
Differential Revision: https://reviews.llvm.org/D30373 
llvm-svn: 296895 
							
						 
						
							2017-03-03 18:02:02 +00:00  
				
					
						
							
							
								 
						
							
								09d66f7528 
								
							 
						 
						
							
							
								
								Revert "Reland 3: [analyzer] NFC: Update test infrastructure to support multiple constraint managers"  
							
							... 
							
							
							
							This reverts commit ea36f1406e1f36bf456c3f3929839b024128e468.
llvm-svn: 296841 
							
						 
						
							2017-03-02 23:30:53 +00:00  
				
					
						
							
							
								 
						
							
								feaf9ff5ee 
								
							 
						 
						
							
							
								
								Reland 3: [analyzer] NFC: Update test infrastructure to support multiple constraint managers  
							
							... 
							
							
							
							Summary: Replace calls to %clang/%clang_cc1 with %clang_analyze_cc1 when invoking static analyzer, and perform runtime substitution to select the appropriate constraint manager, per D28952.
Reviewers: xazax.hun, NoQ, zaks.anna, dcoughlin
Subscribers: mgorny, rgov, mikhail.ramalho, a.sidorin, cfe-commits
Differential Revision: https://reviews.llvm.org/D30373 
llvm-svn: 296837 
							
						 
						
							2017-03-02 23:05:45 +00:00  
				
					
						
							
							
								 
						
							
								4a90bf8c3f 
								
							 
						 
						
							
							
								
								Revert "Reland 2: [analyzer] NFC: Update test infrastructure to support multiple constraint managers"  
							
							... 
							
							
							
							This reverts commit f93343c099fff646a2314cc7f4925833708298b1.
llvm-svn: 296836 
							
						 
						
							2017-03-02 22:58:06 +00:00  
				
					
						
							
							
								 
						
							
								1cb0256a3c 
								
							 
						 
						
							
							
								
								Reland 2: [analyzer] NFC: Update test infrastructure to support multiple constraint managers  
							
							... 
							
							
							
							Summary: Replace calls to %clang/%clang_cc1 with %clang_analyze_cc1 when invoking static analyzer, and perform runtime substitution to select the appropriate constraint manager, per D28952.
Reviewers: xazax.hun, NoQ, zaks.anna, dcoughlin
Subscribers: mgorny, rgov, mikhail.ramalho, a.sidorin, cfe-commits
Differential Revision: https://reviews.llvm.org/D30373 
llvm-svn: 296835 
							
						 
						
							2017-03-02 22:45:24 +00:00  
				
					
						
							
							
								 
						
							
								00355a51d0 
								
							 
						 
						
							
							
								
								Revert "Reland: [analyzer] NFC: Update test infrastructure to support multiple constraint managers"  
							
							... 
							
							
							
							This reverts commit 1b28d0b10e1c8feccb971abb6ef7a18bee589830.
llvm-svn: 296422 
							
						 
						
							2017-02-28 01:50:23 +00:00  
				
					
						
							
							
								 
						
							
								59cd893320 
								
							 
						 
						
							
							
								
								Reland: [analyzer] NFC: Update test infrastructure to support multiple constraint managers  
							
							... 
							
							
							
							Summary: Replace calls to %clang/%clang_cc1 with %clang_analyze_cc1 when invoking static analyzer, and perform runtime substitution to select the appropriate constraint manager, per D28952.
Reviewers: xazax.hun, NoQ, zaks.anna, dcoughlin
Subscribers: mgorny, rgov, mikhail.ramalho, a.sidorin, cfe-commits
Differential Revision: https://reviews.llvm.org/D30373 
llvm-svn: 296414 
							
						 
						
							2017-02-28 00:02:36 +00:00  
				
					
						
							
							
								 
						
							
								8589e10c30 
								
							 
						 
						
							
							
								
								Revert "[analyzer] NFC: Update test infrastructure to support multiple constraint managers"  
							
							... 
							
							
							
							This reverts commit 8e7780b9e59ddaad1800baf533058d2c064d4787.
llvm-svn: 296317 
							
						 
						
							2017-02-27 03:29:25 +00:00  
				
					
						
							
							
								 
						
							
								02064a3076 
								
							 
						 
						
							
							
								
								[analyzer] NFC: Update test infrastructure to support multiple constraint managers  
							
							... 
							
							
							
							Summary: Replace calls to %clang/%clang_cc1 with %clang_analyze_cc1 when invoking static analyzer, and perform runtime substitution to select the appropriate constraint manager, per D28952.
Reviewers: xazax.hun, NoQ, zaks.anna, dcoughlin
Subscribers: mgorny, rgov, mikhail.ramalho, a.sidorin, cfe-commits
Differential Revision: https://reviews.llvm.org/D30373 
llvm-svn: 296312 
							
						 
						
							2017-02-27 02:36:15 +00:00  
				
					
						
							
							
								 
						
							
								c6e68daac0 
								
							 
						 
						
							
							
								
								Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive.  
							
							... 
							
							
							
							llvm-svn: 166280 
							
						 
						
							2012-10-19 12:44:48 +00:00  
				
					
						
							
							
								 
						
							
								c54dc9515d 
								
							 
						 
						
							
							
								
								Turn 'SecuritySyntaxChecker' into a "meta" security checker for insecure APIs.  Now  
							
							... 
							
							
							
							multiple checks are exposed as separate checkers, but CheckerManager only creates
one Checker object.
llvm-svn: 148525 
							
						 
						
							2012-01-20 01:44:29 +00:00  
				
					
						
							
							
								 
						
							
								3f955e6d89 
								
							 
						 
						
							
							
								
								[analyzer] rename all experimental checker packages to have 'experimental' be the common root package.  
							
							... 
							
							
							
							llvm-svn: 136835 
							
						 
						
							2011-08-03 23:14:55 +00:00  
				
					
						
							
							
								 
						
							
								49c79790de 
								
							 
						 
						
							
							
								
								Rework checker "packages" and groups to be more hierarchical.  
							
							... 
							
							
							
							llvm-svn: 128187 
							
						 
						
							2011-03-24 00:28:47 +00:00  
				
					
						
							
							
								 
						
							
								af45aca670 
								
							 
						 
						
							
							
								
								[analyzer] Use the new registration mechanism on the non-path-sensitive-checkers:  
							
							... 
							
							
							
							DeadStoresChecker
  ObjCMethSigsChecker
  ObjCUnusedIvarsChecker
  SizeofPointerChecker
  ObjCDeallocChecker
  SecuritySyntaxChecker
llvm-svn: 125779 
							
						 
						
							2011-02-17 21:39:33 +00:00  
				
					
						
							
							
								 
						
							
								ec5b3d45c1 
								
							 
						 
						
							
							
								
								Rename -cc1 option '-warn-security-syntactic' to '-analyzer-check-security-syntactic'.  
							
							... 
							
							
							
							llvm-svn: 95342 
							
						 
						
							2010-02-05 01:50:36 +00:00  
				
					
						
							
							
								 
						
							
								abf6ba1612 
								
							 
						 
						
							
							
								
								Don't suggest the developer use 'arc4random' instead of 'rand' when that function is not available.  Fixes PR 6012.  
							
							... 
							
							
							
							llvm-svn: 93508 
							
						 
						
							2010-01-15 08:20:31 +00:00