Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [analyzer] Apply whitespace cleanups by Honggyu Kim. | Ted Kremenek | 2015-09-08 | 5 | -160/+158 | |
| | | | | llvm-svn: 246978 | |||||
* | [Static Analyzer] Made it easier to test new checkers using the test suite. | Gabor Horvath | 2015-08-20 | 1 | -0/+7 | |
| | | | | llvm-svn: 245637 | |||||
* | [Static Analyzer] Make the paths relative from the project root when ↵ | Gabor Horvath | 2015-07-08 | 2 | -4/+17 | |
| | | | | | | generating reference results in the test suite. llvm-svn: 241706 | |||||
* | [Static Analyzer] No longer include the full path of the source file in the ↵ | Gabor Horvath | 2015-07-02 | 1 | -1/+1 | |
| | | | | | | single file tests' bug identifiers. llvm-svn: 241292 | |||||
* | [Static Analyzer] Minor improvements to SATest. | Gabor Horvath | 2015-06-30 | 2 | -20/+41 | |
| | | | | | | Differential Revision: http://reviews.llvm.org/D10812 llvm-svn: 241073 | |||||
* | [analyzer] Rename NewDeleteLeaks checker in the test script. | Anna Zaks | 2014-10-31 | 1 | -1/+1 | |
| | | | | | | Fixup to r220289. llvm-svn: 220976 | |||||
* | Correct hyphenations in comments and assert messages | Alp Toker | 2013-12-05 | 1 | -2/+2 | |
| | | | | | | | This patch tries to avoid unrelated changes other than fixing a few hyphen-related ambiguities in nearby lines. llvm-svn: 196466 | |||||
* | [analyzer] SATestBuild: strip trailing newlines from command file. | Jordan Rose | 2013-09-06 | 1 | -0/+1 | |
| | | | | | | | | | | When running a make-based command, SATestBuild tries to append a -jN flag with an appropriate N to run the build in parallel. However, it failed to take into account that each line read includes a trailing newline (unless it is the last line of a file without a trailing newline), which resulted in the "-jN" appearing on a line on its own. llvm-svn: 190164 | |||||
* | [analyzer] SATestBuild: Don't require reference results to have logs. | Jordan Rose | 2013-06-10 | 1 | -2/+4 | |
| | | | | | | | | The Logs directory isn't used for testing, so it's filtered out ahead of time. However, there's then no reason to include it in version control at all. Don't error if it's not present. llvm-svn: 183689 | |||||
* | [analyzer] Always use ccc-analyzer when running scan-build on buildbot | Anna Zaks | 2013-05-31 | 1 | -0/+3 | |
| | | | | llvm-svn: 182982 | |||||
* | [analyzer] Re-enable cplusplus.NewDelete (but not NewDeleteLeaks). | Jordan Rose | 2013-04-05 | 1 | -2/+3 | |
| | | | | | | | | As mentioned in the previous commit message, the use-after-free and double-free warnings for 'delete' are worth enabling even while the leak warnings still have false positives. llvm-svn: 178891 | |||||
* | [analyzer] Moving cplusplus.NewDelete to alpha.* for now. | Anton Yartsev | 2013-04-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 178529 | |||||
* | [analyzer] Adds cplusplus.NewDelete checker that check for memory leaks, ↵ | Anton Yartsev | 2013-03-25 | 1 | -1/+1 | |
| | | | | | | double free, and use-after-free problems of memory managed by new/delete. llvm-svn: 177849 | |||||
* | [analyzer] CmpRuns.py: Accept single files as input. | Jordan Rose | 2013-03-23 | 1 | -46/+51 | |
| | | | | | | | | This allows us to compare two direct invocations of the analyzer on a single source file without having to wrap the output plists in their own directories. llvm-svn: 177804 | |||||
* | scan-build: Add a --keep-empty option for better testing. | Jordan Rose | 2013-01-24 | 1 | -0/+1 | |
| | | | | | | | | SATestBuild expects to compare output directories for each invocation of scan-build that it runs, but scan-build clears out empty directories by default. We were coincidentally not getting that behavior until r173294. llvm-svn: 173383 | |||||
* | [analyzer] SATestBuild.py: allow make builds to disable parallelization | Jordan Rose | 2012-11-26 | 1 | -1/+2 | |
| | | | | | | | | Before, SATestBuild unilaterally added '-j<n>' to every project built with 'make'. Now, we check and see if there's a -j option already specified, which allows a project to explicitly be marked '-j1'. llvm-svn: 168603 | |||||
* | [analyzer] SATestBuild.py: fix broken string concatenation | Jordan Rose | 2012-11-16 | 1 | -2/+2 | |
| | | | | | | | | This has been broken for a while, but the branch was never being taken. (We were trying to do 'str + floatVal'; now we do 'str % intVal' and use the '%d' format.) llvm-svn: 168174 | |||||
* | [analyzer] CmpRuns: move the clang_version info into the run (out of | Anna Zaks | 2012-11-15 | 1 | -7/+15 | |
| | | | | | | report) llvm-svn: 168105 | |||||
* | [analyzer] SATestBuild.py: correctly add -j option for projects using make. | Jordan Rose | 2012-11-15 | 1 | -2/+2 | |
| | | | | llvm-svn: 168099 | |||||
* | [analyzer] Ensure that CmpRuns recursively walks the output directory. | Anna Zaks | 2012-11-14 | 1 | -39/+40 | |
| | | | | llvm-svn: 167981 | |||||
* | [analyzer] Test SimpleStream on the buildbot. | Anna Zaks | 2012-11-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 167317 | |||||
* | [analyzer] CmpRuns: cleanup APIs, allow processing of plists with no | Anna Zaks | 2012-10-17 | 1 | -16/+20 | |
| | | | | | | clang_version, fix the compare routine. llvm-svn: 166129 | |||||
* | [analyzer] Expose clang_version in CmpRuns | Anna Zaks | 2012-10-16 | 1 | -2/+3 | |
| | | | | llvm-svn: 166048 | |||||
* | [analyzer] CmpRuns - cleaned up the API, added relative path getter | Anna Zaks | 2012-10-15 | 1 | -19/+40 | |
| | | | | llvm-svn: 165995 | |||||
* | Add handy script for updating plist FileCheck expected output for | Ted Kremenek | 2012-09-10 | 1 | -0/+51 | |
| | | | | | | analyzer tests. llvm-svn: 163486 | |||||
* | [analyzer] testing: add a build mode to allow C++11 testing. | Anna Zaks | 2012-09-06 | 2 | -16/+22 | |
| | | | | llvm-svn: 163357 | |||||
* | Revert "[analyzer] Disable diagnostic checking on the buildbot." | Jordan Rose | 2012-08-31 | 1 | -8/+6 | |
| | | | | | | | This reverts commit befc0f648c83f65e1f3567f2058c7c18b4bc3ad8 now that plist-html diagnostics are working again. llvm-svn: 162966 | |||||
* | [analyzer] Disable diagnostic checking on the buildbot. | Anna Zaks | 2012-08-30 | 1 | -6/+8 | |
| | | | | | | Due to recent diagnostic changes, we may generate malformed diagnostics. llvm-svn: 162940 | |||||
* | [analyzer] Fixup 162863. | Anna Zaks | 2012-08-29 | 1 | -3/+0 | |
| | | | | | | Thanks Jordan. llvm-svn: 162875 | |||||
* | [analyzer]Fix typo, unbreak static analyzer BuildBot (at least | Anna Zaks | 2012-08-29 | 1 | -1/+4 | |
| | | | | | | | | partially). (Addresses a regression from r162790.) llvm-svn: 162864 | |||||
* | Automatically use more cores when the test build uses 'make'. | Ted Kremenek | 2012-08-28 | 1 | -0/+29 | |
| | | | | llvm-svn: 162790 | |||||
* | Consolidate helper methods and configuration logic. No functionality change. | Ted Kremenek | 2012-08-28 | 1 | -34/+46 | |
| | | | | llvm-svn: 162789 | |||||
* | Pass --use-analyzer to scan-build when running within the test harness. | Ted Kremenek | 2012-08-28 | 1 | -4/+42 | |
| | | | | llvm-svn: 162783 | |||||
* | experimental.security.taint is now alpha.security.taint | Ted Kremenek | 2012-08-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 162775 | |||||
* | [analyzer] More internal stats collection. | Anna Zaks | 2012-08-27 | 1 | -4/+13 | |
| | | | | llvm-svn: 162687 | |||||
* | [analyzer] Ted fixed the plist-html issue, so the assert can go away. | Anna Zaks | 2012-08-24 | 1 | -3/+1 | |
| | | | | llvm-svn: 162598 | |||||
* | [analyzer] Unbreak the static analyzer buildbot. | Anna Zaks | 2012-08-17 | 1 | -1/+3 | |
| | | | | | | | We no longer associate the correct HTML file with plist diagnostic. Fall out from r162028. llvm-svn: 162071 | |||||
* | [analyzer] CmpRuns should include file name in the issue identifier. | Anna Zaks | 2012-08-02 | 1 | -17/+26 | |
| | | | | | | | | | | This prevents us from treating the issues from different files with the same function names and same offsets as the same. The issue identifier now includes the file name. Also added a way to strip off the root directories form the source file names. llvm-svn: 161150 | |||||
* | SATestBuild should not ask for non-existent checkers. | Jordan Rose | 2012-07-26 | 1 | -1/+1 | |
| | | | | | | | - "cocoa" was moved to "osx.cocoa" a long time ago. - "cplusplus" would be a valid package except we don't have any C++ checkers. llvm-svn: 160821 | |||||
* | Un-break standalone invocations of CmpRuns.py. | Jordan Rose | 2012-07-26 | 1 | -1/+1 | |
| | | | | | | Fallout from CmpRuns.py API changes in r160314. llvm-svn: 160800 | |||||
* | [analyzer] Make CmpRuns external-user friendly. | Anna Zaks | 2012-07-16 | 2 | -45/+63 | |
| | | | | | | | | | CmpRuns can be used for static analyzer bug report comparison. However, we want to make sure external users do not rely on the way bugs are represented (plist files). Make sure that we have a user friendly/documented API for CmpRuns script. llvm-svn: 160314 | |||||
* | [analyzer] Add a statistic for maximum CFG size and a script to summarize ↵ | Anna Zaks | 2012-07-05 | 1 | -0/+75 | |
| | | | | | | analyzer stats from scan-build output. llvm-svn: 159776 | |||||
* | [analyzer] Use "issue hash" in CmpRuns; followup on r158180 | Anna Zaks | 2012-06-08 | 1 | -3/+11 | |
| | | | | | | | (For the future: It would be more efficient to produce a hash key with the embedded function info inside the compiler.) llvm-svn: 158187 | |||||
* | [analyzer] SATestBuild should execute SVN updates even if Verbose is off. | Jordan Rose | 2012-06-01 | 1 | -3/+3 | |
| | | | | | | Also, re-use glob results when looking for failure logs. llvm-svn: 157817 | |||||
* | [analyzer] Fix SATestAdd to work with SATestBuild. | Jordan Rose | 2012-06-01 | 2 | -15/+10 | |
| | | | | | | | Also, eliminate global 'IsReferenceBuild' in SATestBuild. It doesn't get passed around that much. llvm-svn: 157816 | |||||
* | Fix typo. | Ted Kremenek | 2012-05-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 157229 | |||||
* | Use Perl prototypes instead of shift. | Ted Kremenek | 2012-05-22 | 1 | -3/+3 | |
| | | | | llvm-svn: 157228 | |||||
* | Add basic delta-debugging script used for reducing analyzer crasher test cases. | Ted Kremenek | 2012-05-21 | 1 | -0/+65 | |
| | | | | llvm-svn: 157219 | |||||
* | [analyzer] Testing: These checkers are not experimental anymore. | Anna Zaks | 2012-02-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 150989 | |||||
* | [analyzer] Add the Malloc checker to the list of tested checkers. | Anna Zaks | 2012-02-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 150535 |