Dominic Chen
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Dominic Chen
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Dominic Chen
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Dominic Chen
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Dominic Chen
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Dominic Chen
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Dominic Chen
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Dominic Chen
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Dominic Chen
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Devin Coughlin
							
						 
						
							 
							
							
							
							
								
							
							
								683dfd3124 
								
							 
						 
						
							
							
								
								[analyzer] Discard malloc-overflow bug-report when a known size is malloc'ed.  
							
							 
							
							... 
							
							
							
							This patch ignores malloc-overflow bug in two cases:
Case1:
x = a/b; where n < b
malloc (x*n); Then x*n will not overflow.
Case2:
x = a; // when 'a' is a known value.
malloc (x*n);
Also replaced isa with dyn_cast.
Reject multiplication by zero cases in MallocOverflowSecurityChecker
Currently MallocOverflowSecurityChecker does not catch cases like:
malloc(n * 0 * sizeof(int));
This patch rejects such cases.
Two test cases added. malloc-overflow2.c has an example inspired from a code
in linux kernel where the current checker flags a warning while it should not.
A patch by Aditya Kumar!
Differential Revision: http://reviews.llvm.org/D9924 
llvm-svn: 248446 
							
						 
						
							2015-09-23 23:27:55 +00:00  
						
					 
				
					
						
							
							
								 
								Ted Kremenek
							
						 
						
							 
							
							
							
							
								
							
							
								722398f1d4 
								
							 
						 
						
							
							
								
								Fix analyzer tests.  
							
							 
							
							... 
							
							
							
							llvm-svn: 162588 
							
						 
						
							2012-08-24 20:39:55 +00:00  
						
					 
				
					
						
							
							
								 
								Anna Zaks
							
						 
						
							 
							
							
							
							
								
							
							
								b9875a984c 
								
							 
						 
						
							
							
								
								[analyzer] Remove target triple from the malloc overflow test.  
							
							 
							
							... 
							
							
							
							llvm-svn: 140635 
							
						 
						
							2011-09-27 20:41:53 +00:00  
						
					 
				
					
						
							
							
								 
								Ted Kremenek
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Ted Kremenek
							
						 
						
							 
							
							
							
							
								
							
							
								1c2fb270ce 
								
							 
						 
						
							
							
								
								[analyzer] Introduce MallocOverflowSecurityChecker, a simple flow-sensitive checker that may be useful for security auditing.  This checker is currently too noisy to be on by default.  
							
							 
							
							... 
							
							
							
							llvm-svn: 136804 
							
						 
						
							2011-08-03 20:17:43 +00:00