Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tuck away scan-build related files into tools/scan-build | Kovarththanan Rajaratnam | 2009-12-01 | 1 | -1297/+0 |
| | | | | llvm-svn: 90215 | ||||
* | Remove '-checker-simple' reference from scan-build. Patch by Kovarththanan ↵ | Ted Kremenek | 2009-11-23 | 1 | -1/+1 |
| | | | | | | Rajaratnam! llvm-svn: 89673 | ||||
* | Use 'eq' operator, and enable regular experimental checks when ↵ | Ted Kremenek | 2009-11-13 | 1 | -1/+1 |
| | | | | | | --experimental-checks is passed to scan-build. llvm-svn: 88673 | ||||
* | Add clang-cc option "--analyzer-experimental-internal-checks". This | Ted Kremenek | 2009-11-13 | 1 | -0/+8 |
| | | | | | | | option enables new "internal" checks that will eventually be turned on by default but still require broader testing. llvm-svn: 88671 | ||||
* | Turn on 'RegionStore' as the default store manager both for 'clang ↵ | Ted Kremenek | 2009-09-25 | 1 | -4/+6 |
| | | | | | | --analyze' and 'scan-build'. Leave 'BasicStore' as the default store manager in 'clang-cc'. While there are still known warts with RegionStore, it's ready to be tested by general users. llvm-svn: 82752 | ||||
* | Renable "html" indexing by default. | Ted Kremenek | 2009-08-04 | 1 | -1/+1 |
| | | | | llvm-svn: 78077 | ||||
* | Have scan-build clue off of 'BUGMETAEND' to know when to stop processing an ↵ | Ted Kremenek | 2009-08-03 | 1 | -8/+1 |
| | | | | | | HTML file. llvm-svn: 78022 | ||||
* | Add scan-build option '-no-failure-reports' to supress the creation of a ↵ | Ted Kremenek | 2009-07-30 | 1 | -0/+8 |
| | | | | | | 'failures' subdirectory that includes crash reports, preprocessed files, etc. llvm-svn: 77644 | ||||
* | scan-build: Don't try to index plist-html output directories | Daniel Dunbar | 2009-07-29 | 1 | -5/+5 |
| | | | | llvm-svn: 77465 | ||||
* | Add scan-build support for 'plist-html', a hybrid mode that supports the | Ted Kremenek | 2009-07-27 | 1 | -18/+25 |
| | | | | | | | | creation of both HTML and plist files. Plist files are currently not generated using the same layout algorithm as just specifying '-plist', so this is mainly intended to help support automated runs of the analyzer. llvm-svn: 77263 | ||||
* | Enable the '-warn-security-syntactic' checker option by default. | Ted Kremenek | 2009-07-24 | 1 | -0/+1 |
| | | | | llvm-svn: 76933 | ||||
* | Remove bogus check. | Ted Kremenek | 2009-07-17 | 1 | -4/+0 |
| | | | | llvm-svn: 76259 | ||||
* | Add error message when clang-cc cannot be found. | Ted Kremenek | 2009-07-17 | 1 | -0/+4 |
| | | | | llvm-svn: 76256 | ||||
* | Add hack to scan-build to fix PR 4215 | Ted Kremenek | 2009-05-15 | 1 | -0/+12 |
| | | | | | | | (http://llvm.org/bugs/show_bug.cgi?id=4215): When xcodebuild is invoked with -sdk iphonesimulator3.0, use gcc-4.2 instead of the system default gcc. llvm-svn: 71891 | ||||
* | Make scan-build process of --use-cc and --html-title more robust. | Ted Kremenek | 2009-05-12 | 1 | -3/+3 |
| | | | | llvm-svn: 71567 | ||||
* | Add total hack to get scan-build working again. ccc-analyzer calls | Ted Kremenek | 2009-05-09 | 1 | -8/+29 |
| | | | | | | | 'clang -###' to get the appropriate arguments to pass to clang-cc. This isn't a permanent solution. llvm-svn: 71364 | ||||
* | scan-build: Also look for clang-cc in ../libexec | Ted Kremenek | 2009-03-29 | 1 | -6/+9 |
| | | | | llvm-svn: 67972 | ||||
* | More path updates with clang-cc... | Ted Kremenek | 2009-03-24 | 1 | -4/+4 |
| | | | | llvm-svn: 67609 | ||||
* | Update scan-build/ccc-analyzer to use 'clang-cc' instead of 'clang'. | Ted Kremenek | 2009-03-24 | 1 | -5/+5 |
| | | | | llvm-svn: 67608 | ||||
* | '-o' option now supports relative paths. | Ted Kremenek | 2009-03-11 | 1 | -1/+4 |
| | | | | llvm-svn: 66680 | ||||
* | scan-build: Also look for clang in the same directory as scan-build. | Ted Kremenek | 2009-03-09 | 1 | -0/+6 |
| | | | | llvm-svn: 66491 | ||||
* | Correctly check for ccc-analyzer in the same directory as scan-build. | Ted Kremenek | 2009-02-27 | 1 | -1/+1 |
| | | | | llvm-svn: 65618 | ||||
* | scan-build now looks for ccc-analyzer first in the 'bin' subdirectory and ↵ | Ted Kremenek | 2009-02-25 | 1 | -4/+5 |
| | | | | | | then the directory where scan-build lives. llvm-svn: 65483 | ||||
* | Do not automatically run the 'missing -dealloc' check until we have adequate ↵ | Ted Kremenek | 2009-02-25 | 1 | -1/+2 |
| | | | | | | time to make it much smarter (too much noise). llvm-svn: 65474 | ||||
* | scan-build: Prune off any trailing '/' characters in the output directory path. | Ted Kremenek | 2009-02-24 | 1 | -0/+3 |
| | | | | llvm-svn: 65368 | ||||
* | Find 'clang' in 'bin' subdirectory instead of 'cbin'. | Ted Kremenek | 2009-02-23 | 1 | -3/+3 |
| | | | | llvm-svn: 65343 | ||||
* | Update scan-build help diagnostic. | Ted Kremenek | 2009-02-21 | 1 | -1/+1 |
| | | | | llvm-svn: 65223 | ||||
* | Make 'RangeConstraintManager' the default ConstraintManager. | Ted Kremenek | 2009-02-20 | 1 | -3/+4 |
| | | | | llvm-svn: 65173 | ||||
* | Fix potential use of uninitialized variable. | Ted Kremenek | 2009-02-20 | 1 | -1/+1 |
| | | | | llvm-svn: 65109 | ||||
* | scan-build now searches for the clang binary in the subdirectory 'cbin'. | Ted Kremenek | 2009-02-19 | 1 | -2/+2 |
| | | | | llvm-svn: 65014 | ||||
* | ccc-analyzer: | Ted Kremenek | 2009-02-17 | 1 | -45/+63 |
| | | | | | | | | | | - now logs which source files had "ignored attributes". - disable-free is enabled scan-build: - now displays a table of ignored attributes under "Analyzer Failures". llvm-svn: 64853 | ||||
* | Static Analyzer driver/options (partial) cleanup: | Ted Kremenek | 2009-02-17 | 1 | -6/+22 |
| | | | | | | | | | | | | | | - Move all analyzer options logic to AnalysisConsumer.cpp. - Unified specification of stores/constraints/output to be: -analyzer-output=... -analyzer-store=... -analyzer-constraints=... instead of -analyzer-range-constraints, -analyzer-store-basic, etc. - Updated drivers (ccc-analyzer, scan-builds, new ccc) to obey this new interface - Updated test cases to conform to new driver options llvm-svn: 64737 | ||||
* | PathDiagnostics: | Ted Kremenek | 2009-01-27 | 1 | -4/+4 |
| | | | | | | | | | | | | | - Add the distinction between the 'bug type' and the 'bug description' HTMLDiagnostics: - Output the bug type field as HTML comments scan-build: - Use the bug type field instead of the bug description for the HTML table. - Radar filing now automatically picks up the bug description in the title (addresses <rdar://problem/6265970>) llvm-svn: 63084 | ||||
* | Properly "include" abs_path. | Ted Kremenek | 2008-12-03 | 1 | -1/+1 |
| | | | | llvm-svn: 60502 | ||||
* | Use abs_path to resolve symbolic links and '..' in report table. | Ted Kremenek | 2008-12-03 | 1 | -1/+1 |
| | | | | llvm-svn: 60493 | ||||
* | Don't have special treatment from pruning the common suffices of files in ↵ | Ted Kremenek | 2008-12-03 | 1 | -4/+0 |
| | | | | | | /Developer, /usr, etc. llvm-svn: 60491 | ||||
* | scan-build now recognizes when the user is directly invoking gcc for: | Ted Kremenek | 2008-11-19 | 1 | -2/+9 |
| | | | | | | | (a) different versions of gcc (e.g., a suffix '-4.2') (b) different paths for gcc llvm-svn: 59578 | ||||
* | Fix use of uninitialized variable. | Ted Kremenek | 2008-11-04 | 1 | -1/+1 |
| | | | | llvm-svn: 58663 | ||||
* | Allow user toggling between plist and html output with scan-build/ccc-analyzer. | Ted Kremenek | 2008-11-04 | 1 | -12/+33 |
| | | | | llvm-svn: 58657 | ||||
* | Simplify the functions HtmlEsape and ShellEscape. We now properly print out ↵ | Ted Kremenek | 2008-11-03 | 1 | -8/+5 |
| | | | | | | | | the following command line in the HTML output: scan-build gcc -x c /dev/null -c -Dfoo='"string abc"' Fixes <rdar://problem/6338651> llvm-svn: 58600 | ||||
* | Add defined in if(). | Zhongxing Xu | 2008-11-02 | 1 | -1/+1 |
| | | | | llvm-svn: 58562 | ||||
* | On Mac OS X, use TMPDIR as the default location to place analysis results. ↵ | Ted Kremenek | 2008-10-31 | 1 | -2/+9 |
| | | | | | | This is a more secure location for such files, and addresses <rdar://problem/6334220>. llvm-svn: 58491 | ||||
* | Minor UI enhancement: | Ted Kremenek | 2008-10-28 | 1 | -1/+18 |
| | | | | | | | | (1) when all of the bug category boxes are checked, automatically check "All Bugs" (2) when any of the bug category boxes are unchecked, automatically uncheck "All Bugs" llvm-svn: 58346 | ||||
* | Patch by Nikita Zhuk: | Ted Kremenek | 2008-10-28 | 1 | -1/+16 |
| | | | | | | The attached patch adds a checkbox to the scan-build summary report, which toggles all other checkboxes' states. llvm-svn: 58344 | ||||
* | Add store option to scan-build and ccc-analyzer. | Zhongxing Xu | 2008-10-27 | 1 | -0/+16 |
| | | | | llvm-svn: 58248 | ||||
* | Fix scan-build's processing of clang's analysis arguments. Patch by Nikita ↵ | Ted Kremenek | 2008-10-24 | 1 | -1/+1 |
| | | | | | | Zhuk! llvm-svn: 58093 | ||||
* | Use 'realpath' to resolve the absolute path to clang and ccc-analyzer. | Ted Kremenek | 2008-10-13 | 1 | -9/+25 |
| | | | | | | Add "-analyze-headers" option to scan-build that passes the option -analyzer-opt-analyze-headers to clang. llvm-svn: 57467 | ||||
* | Add missing newline. | Ted Kremenek | 2008-10-10 | 1 | -2/+2 |
| | | | | llvm-svn: 57333 | ||||
* | Add "Path Length" back to the table of bug reports. | Ted Kremenek | 2008-09-28 | 1 | -3/+5 |
| | | | | llvm-svn: 56765 | ||||
* | Add link to report analyzer failures (parse errors, asserts, etc). | Daniel Dunbar | 2008-09-25 | 1 | -1/+1 |
| | | | | llvm-svn: 56606 |