George Karpenkov
40eb5130a5
[Analyzer] Document a gotcha: for C++ -analyze-function requires parameters in function name
...
Differential Revision: https://reviews.llvm.org/D37596
llvm-svn: 314573
2017-09-30 00:07:22 +00:00
Devin Coughlin
f0cadcd9f3
[Analyzer] Add support for displaying cross-file diagnostic paths in HTML output
...
This change adds support for cross-file diagnostic paths in html output. If the
diagnostic path is not cross-file, there is no change in the output.
Patch by Vlad Tsyrklevich!
Differential Revision: https://reviews.llvm.org/D30406
llvm-svn: 309968
2017-08-03 18:12:22 +00:00
Devin Coughlin
35b59fcaf2
[analyzer] Add missing documentation for static analyzer checkers
...
Some checks did not have documentation in the www/analyzer/ folder and also
some alpha checks became non-alpha.
Patch by Dominik Szabó!
Differential Revision: https://reviews.llvm.org/D33645
llvm-svn: 308242
2017-07-18 00:34:57 +00:00
Gabor Horvath
70c671a3bf
[analyzer] Fix a path in the developer manual
...
Patch by: Reka Nikolett Kovacs
llvm-svn: 307468
2017-07-08 08:23:52 +00:00
Hiroshi Inoue
c5e54ddab3
fix trivial typos in comments; NFC
...
llvm-svn: 307007
2017-07-03 08:49:44 +00:00
Gabor Horvath
829c6bc04a
[analyzer] Extend block in critical section check with C11 and Pthread APIs.
...
Patch by Zoltan Daniel Torok!
Differential Revision: https://reviews.llvm.org/D29567
llvm-svn: 297461
2017-03-10 14:50:12 +00:00
Devin Coughlin
0f77429df3
[www] Fix spelling error in checker release notes.
...
llvm-svn: 287105
2016-11-16 14:23:41 +00:00
Devin Coughlin
e88a786947
[www] Update analyzer website for release of checker-279
...
llvm-svn: 287063
2016-11-16 00:47:56 +00:00
Alex Lorenz
56148a1bcc
[www] Fix a typo on the analyzer website
...
llvm-svn: 285686
2016-11-01 11:12:41 +00:00
Dominic Chen
a1ab61cd8b
[analyzer] Update alpha and potential checker documentation, esp. alpha.valist
...
Summary:
Move alpha.valist from potential to alpha since it was implemented in D15227
Cleanup some HTML comments, add a missing link
Reviewers: jordan_rose, zaks.anna
Subscribers: cfe-commits, xazax.hun
Differential Revision: https://reviews.llvm.org/D25663
llvm-svn: 284445
2016-10-18 01:15:19 +00:00
Devin Coughlin
0fb33f9690
[www] Add nullability questions to analyzer FAQ.
...
llvm-svn: 279330
2016-08-19 22:04:45 +00:00
Devin Coughlin
9ec2cb600b
[www] Add analyzer FAQ about not releasing ivars in -dealloc.
...
llvm-svn: 279183
2016-08-19 01:22:50 +00:00
Artem Dergachev
d73c57c328
[analyzer] Update the web manual for checker developers.
...
Fix the explanation of how to run tests after migration
from autotools to cmake.
Significantly expand the "debugging" section
with more interesting stuff.
Update the table of contents accordingly.
Fix paragraphs in the overview section.
Differential Revision: https://reviews.llvm.org/D22874
llvm-svn: 277029
2016-07-28 20:13:14 +00:00
Devin Coughlin
37d3264a30
[www][analyzer] Update recommended suppression mechanism for localization.
...
Based on feedback from Jordan Rose, make the recommended suppression function be 'static
inline'.
llvm-svn: 268768
2016-05-06 18:13:30 +00:00
Devin Coughlin
b1255de973
[www][analyzer] Add FAQ about suppression of missing localization diagnostic.
...
llvm-svn: 268764
2016-05-06 17:51:34 +00:00
Yury Gribov
a6560ebe4c
[analyzer] Add --force-analyze-debug-code option to scan-build
...
to force debug build and hopefully enable more precise warnings.
Static Analyzer is much more efficient when built in debug mode
(-UNDEBUG) so we advice users to enable it manually. This may be
inconvenient in case of large complex projects (think about Linux
distros e.g. Android or Tizen). This patch adds a flag to scan-build
which inserts -UNDEBUG automatically.
Differential Revision: http://reviews.llvm.org/D16200
llvm-svn: 261204
2016-02-18 11:08:46 +00:00
Devin Coughlin
81f240a3ff
[www] Update analyzer release notes to correct the checker-278 build date.
...
This is not the future.
llvm-svn: 259969
2016-02-06 00:59:14 +00:00
Devin Coughlin
ca14ce0f1d
[www] Update analyzer website for checker-278.
...
llvm-svn: 259967
2016-02-06 00:53:33 +00:00
Jonathan Roelofs
e961432ae7
Create install targets for scan-build and scan-view
...
http://reviews.llvm.org/D14403
llvm-svn: 252474
2015-11-09 16:12:56 +00:00
Devin Coughlin
97f78cfa28
[analyzer] Update analyzer website for release of checker-277.
...
llvm-svn: 251591
2015-10-29 01:23:57 +00:00
Anna Zaks
ac98dbc33b
[analyzer] Enhance FAQ with instructions on handing unused variables.
...
llvm-svn: 251448
2015-10-27 20:19:38 +00:00
Jordan Rose
76a74c5617
[analyzer] Update links to developer.apple.com.
...
The content at the new links is /also/ a little dated, but that's our
(Apple's) problem.
llvm-svn: 247999
2015-09-18 16:12:16 +00:00
Tanya Lattner
4a08e931b6
Update mailing list references to lists.llvm.org
...
llvm-svn: 244000
2015-08-05 03:55:23 +00:00
Eric Christopher
2c4555ad1b
Fix "the the" in comments/documentation/etc.
...
llvm-svn: 240110
2015-06-19 01:52:53 +00:00
Jonathan Roelofs
99bdd98a2b
Fix 'CFG graph' typo. NFC
...
Patch by Jon Eyolfson!
llvm-svn: 237713
2015-05-19 18:51:56 +00:00
Anton Yartsev
1c6ff0ac2e
[analyzer] www: +progress for undefbehavior.ZeroAllocDereference
...
llvm-svn: 231978
2015-03-11 22:29:32 +00:00
Anton Yartsev
df7a5b14c2
[analyzer] Updated progress for memory.ZeroAlloc
...
llvm-svn: 224797
2014-12-24 01:04:38 +00:00
Anton Yartsev
50a91cca17
[analyzer] +memory.ZeroAlloc
...
llvm-svn: 224796
2014-12-24 00:46:56 +00:00
Anton Yartsev
5ad0169855
[analyzer] Helpful hints for Windows users of scan-build.
...
llvm-svn: 220999
2014-10-31 20:57:57 +00:00
Anton Yartsev
9959295142
[analyzer] Updated tests for ZeroAllocDereference checker.
...
llvm-svn: 220911
2014-10-30 15:16:26 +00:00
Daniel Marjamaki
3f4062902a
Update contact person in Open Projects webpage for copy-paste detection. From Per Viberg to Daniel Marjamäki.
...
llvm-svn: 220905
2014-10-30 12:44:33 +00:00
Anton Yartsev
45056dc50a
[analyzer] Alpha and implicit checker lists, expand/collapse feature.
...
The list of alpha and the list of implicit checkers added. An ability to expand/collapse long texts added. Markup fixed.
http://reviews.llvm.org/D3457
llvm-svn: 209131
2014-05-19 15:04:55 +00:00
Alp Toker
1fd1d5215c
www: add a missing HTML open tag
...
This went AWOL in r207995.
llvm-svn: 208018
2014-05-06 00:17:24 +00:00
Alp Toker
871de4ff4d
www: remove proprietary dbtree.js script from r96013
...
This minified source code and artwork is copied from a commercial product and
carries no license information:
dbtree.js (7 kb), 25.03.2014 14:51:32
Purchase and download DBTree now for only $29.75 $9.75
It was used by a small TOC which looks fine now as a plain unordered list.
llvm-svn: 207995
2014-05-05 19:53:49 +00:00
Jordan Rose
1057e09432
[analyzer] Clean up the lists of current and potential checkers.
...
Patch by Anton Yartsev, modified by me.
llvm-svn: 207478
2014-04-29 00:46:17 +00:00
Jordan Rose
7f07fc1fee
[analyzer] Fix mistake in example for potential checker "posix.Errno".
...
Found by Richard Osbourne!
llvm-svn: 205721
2014-04-07 16:36:15 +00:00
Jordan Rose
4d6da2bb4f
[analyzer] Add an ErrnoChecker (PR18701) to the Potential Checkers list.
...
llvm-svn: 205667
2014-04-05 06:10:28 +00:00
Jordan Rose
a32968fc10
[analyzer] Update Open Projects page with BitwiseConstraintManager.
...
Also, add the names of people most recently working on particular projects,
and remove "relate bugs and checkers" (thanks, Alex!).
llvm-svn: 205666
2014-04-05 06:10:22 +00:00
Jordan Rose
6fc2ec96b8
[analyzer] Remove the implemented Identical* checkers from the "potential" list.
...
Edit by Daniel Fahlgren.
llvm-svn: 204842
2014-03-26 18:59:22 +00:00
Ted Kremenek
2e25fbfc11
[analyzer] post analyzer build checker-276
...
llvm-svn: 201648
2014-02-19 08:09:22 +00:00
Ted Kremenek
6700934ac7
Move checker downloads to llvm.org.
...
llvm-svn: 190316
2013-09-09 17:19:27 +00:00
Jordan Rose
6f937e9a21
[analyzer] Note that deadcode.UnmodifiedVariable would be an opt-in checker.
...
Website-only change.
llvm-svn: 188731
2013-08-19 23:54:35 +00:00
Jordan Rose
23b2f755ce
[analyzer] Add "unmodified variable" checker to the Potential Checkers.
...
This is PR16890.
llvm-svn: 188681
2013-08-19 16:27:37 +00:00
Jordan Rose
60619a639b
[analyzer] Assume that strings are no longer than SIZE_MAX/4.
...
This keeps the analyzer from making silly assumptions, like thinking
strlen(foo)+1 could wrap around to 0. This fixes PR16558.
Patch by Karthik Bhat!
llvm-svn: 188680
2013-08-19 16:27:34 +00:00
Jordan Rose
7964ab5a43
[analyzer] Update Open Projects and Potential Checkers pages.
...
- va_list checker (PR16811 and PR16812)
- Model floating-point values
- Bound bitwise masking operations (PR16615)
- Bound C string length (PR16558 and others)
llvm-svn: 188127
2013-08-10 01:24:35 +00:00
Anton Yartsev
93e5a02c8b
+ "For Windows Users" section
...
+ description for --use-analyzer option
+ managed size of columns of the 'options' table
llvm-svn: 185199
2013-06-28 19:21:11 +00:00
Ted Kremenek
274429be76
Remove links to old checker builds.
...
llvm-svn: 182811
2013-05-28 23:30:24 +00:00
Ted Kremenek
48ed4b614c
Update static analyzer build to checker-275.
...
llvm-svn: 182626
2013-05-24 00:50:01 +00:00
Anna Zaks
8cfbaa6988
[analyzer] Extend the checker developer manual. A patch by Sam Handler!
...
llvm-svn: 182204
2013-05-18 22:51:28 +00:00
Ted Kremenek
721ffed9bc
Update checker build.
...
llvm-svn: 180164
2013-04-23 23:55:03 +00:00