Commit Graph

49 Commits

Author SHA1 Message Date
Jeff Walden
84471e527a Bug 707352 - Remove NS_FINAL_CLASS completely. r=cjones 2011-12-05 17:10:05 -05:00
Ehren Metcalfe
fdcccd8adf Bug 613425 - static checking suite: fix static initializer warnings with COMPONENT_REFs r=tglek a=test-only [DONTBUILD] 2010-11-26 12:14:24 -05:00
Ehren Metcalfe
b970560e98 Bug 575720 - static checking suite: use Dehydra multiple-arg support + fix method signature comparison in several scripts r=taras 2010-08-18 18:06:05 -07:00
Ehren Metcalfe
eefb380a24 Bug 576214 - fix NS_STACK_CLASS analysis for Dehydra with GCC 4.5 r=taras 2010-08-18 18:05:49 -07:00
Ehren Metcalfe
820fc21c7e Bug 572819 - static checking suite: port esp analyses to Dehydra with GCC 4.5 r=taras 2010-08-18 18:05:35 -07:00
Ehren Metcalfe
9082c6c811 Bug 573786 - Script to detect static initializers r=taras 2010-08-18 18:04:39 -07:00
Josh Matthews
4bc037366d Bug 551286: Add a per function 'final' keyword in C++. r=tglek 2010-03-28 11:44:33 -04:00
Roger Dicke
5fde65dee4 Bug 529978 - xpcom analysis Makefile produces error about ".deps". r=bsmedberg 2010-02-06 09:48:24 +01:00
Benjamin Smedberg
b4cc34446e Bug 500870 - NS_OVERRIDE indicates that a method must override a base-class method, r=taras
--HG--
extra : rebase_source : 3dc3327030dc2cdf45bdd9170c5e9d02908c0d0c
2009-09-04 11:21:31 -04:00
Taras Glek
a7a24a1627 Bug 512726 - Add NS_MUST_OVERRIDE static annotation. r=bsmedberg
--HG--
extra : rebase_source : 4f3034c93cc76c7504d1cfb21953c495c35d068f
2009-09-18 10:26:13 -07:00
Benjamin Smedberg
ba372f3a4c Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Benjamin Smedberg
6863d9f3f4 Resolve the static-analysis bustage from bug 498938 by recognizing COND_EXPR. 2009-07-27 10:47:22 -04:00
Benjamin Smedberg
2dbc3fb170 Bug 496969 - The stack analysis is broken when compiling with -O3 -fstrict-aliasing. 2009-06-08 18:03:23 -04:00
Benjamin Smedberg
e930891ad0 Bug 468717 - enable static analysis for js/src, r=jorendorff
--HG--
rename : xpcom/analysis/static-checking.js => config/static-checking.js
rename : xpcom/analysis/string-format.js => config/string-format.js
rename : xpcom/analysis/static-checking.js => js/src/config/static-checking.js
rename : xpcom/analysis/string-format.js => js/src/config/string-format.js
rename : xpcom/analysis/jsstack.js => js/src/jsstack.js
2008-12-11 11:40:04 -05:00
Benjamin Smedberg
22340a45d8 Merge mozilla-central into tracemonkey, specifically to pick up bug 467579. 2008-12-09 21:37:35 -05:00
Benjamin Smedberg
4f688dc6c7 Disable the outparams warning "written on NS_FAILED"... we should focus first on the "not written on NS_SUCCEEDED" warnings, which are generally more serious. No bug, NPODB, CLOSED TREE a=johnath 2008-12-09 17:34:48 -05:00
Benjamin Smedberg
be64754c95 When operator new is used on a class with no constructor it generates an AGGR_INIT_EXPR, not a CALL_EXPR... with testcase. NPODB, static-checking only. 2008-12-03 11:49:54 -05:00
Benjamin Smedberg
ac9c2a0930 Change the stack-class analysis to a warning instead of an error, at least temporarily: the analysis was buggy when originally landed, and there are some heap-allocated autostrings outstanding through the tree. 2008-12-01 13:59:58 -05:00
Benjamin Smedberg
799d2cf3af Bug 460999 - Generate inheritance graphs for the base of the string hierarchy and upload them to MDC with image maps r=jorendorff 2008-10-24 16:29:33 -04:00
Jason Orendorff
d3d93eccb7 Bug 460865 - Read barrier for cx->fp. r=mrbkap, r=dmandelin.
--HG--
extra : rebase_source : 19963188b2f9f96336ce6ca28dbaefccf3a639b7
2008-12-09 10:38:32 -06:00
Benjamin Smedberg
3337d14876 Bug 458755 - Automated documentation of string classes on MDC using static analysis, r=taras 2008-10-09 12:34:33 -04:00
Taras Glek
56911014d8 bug 432917: MUST_FLOW_THROUGH static check. r=bsmedberg 2008-09-08 11:01:22 -07:00
Benjamin Smedberg
9123cda70b Bug 453349 - stack-only checker skips conditional blocks, r=dmandelin 2008-09-03 13:00:13 -04:00
Benjamin Smedberg
1e79d505c8 Bug 453343 - Print more complete error messages that trace the base classes and members that cause a particular class to be stack-only, r=dmandelin 2008-09-03 13:00:13 -04:00
Benjamin Smedberg
cb3eb39381 Bug 453341 - Allow stack checking to be suppressed per-function, r=dmandelin sr=jst 2008-09-03 13:00:12 -04:00
Vlad Sukhoy
3001958d13 bug 449463: make outparams more gcc42-compatible. r=dmandelin 2008-09-02 12:24:34 -05:00
Benjamin Smedberg
e67d75888e Bug 445570 - Mark CSSToken::mIdent heap autostring as we-know-what-we're-doing, r=dbaron 2008-08-27 10:58:50 -04:00
David Mandelin
a2ff55c59e Bug 451079: allow setting outparams to null on failure 2008-08-19 11:17:13 -07:00
Benjamin Smedberg
738cda5398 Bug 451079 - Setting an outparam to NULL is just too common to consider an actionable warning. Disable it, probably permanently, r=dmandelin 2008-08-18 15:41:31 -04:00
Benjamin Smedberg
b0f56e0013 mozilla-central followup for bug 449075 - bases.type intead of bases to match the new schema 2008-08-07 16:12:49 -04:00
David Mandelin
9128da7657 Bug 444565: fix scalability of outparams.js with new treehydra 2008-07-10 15:47:25 -07:00
David Mandelin
2a3bef1678 Bug 444409: outparams.js was trying to analyze 'this' as an outparam for strings, r=bsmedberg 2008-07-09 18:24:57 -07:00
David Mandelin
0cc83f2991 Bug 443205: fix for bug in error reporter in outparams.js, r=bsmedberg via irc 2008-07-09 11:48:59 -07:00
David Mandelin
85de90adf1 Bug 443205: outparams.js needs to consider void-return funcs as nofail, r=bsmedberg 2008-07-09 10:35:29 -07:00
David Mandelin
f2fb3064e5 Bug 433939: update outparams.js for Treehydra update, r=bsmedberg 2008-07-09 10:33:43 -07:00
David Mandelin
8ba557db91 Bug 442968: fix small bug with void returns in outparams.js, r=bsmedberg 2008-07-01 15:31:10 -07:00
David Mandelin
07ce05b161 Bug 442982: outparams.js now understands func ptr typedef attributes, r=bsmedberg 2008-07-01 14:24:58 -07:00
David Mandelin
7266d7e76e Bug 442829: outparams.js handling nsresults returned as &rv, r=bsmedberg 2008-07-01 14:22:49 -07:00
Benjamin Smedberg
c547ee4c57 Bug 442968 - Format outparams warnings in a more standard GCC way, so that things like compilation-mode can linkify the locations, r=dmandelin 2008-07-01 14:26:28 -04:00
Benjamin Smedberg
4886e82b07 Fix whitespace (hard tabs) 2008-06-30 15:35:11 -04:00
Benjamin Smedberg
3eab5b1142 Bug 425454 - whitelist placement-new for stack classes. Also uses treehydra analysis so we don't have to require a constructor for stack classes any more. r=taras 2008-06-30 12:44:06 -04:00
Benjamin Smedberg
1829cc61f7 Bug 437647 - Dispatch outparams and other analyses explicitly, so it's easier to add various analyses, r=dmandelin 2008-06-06 15:31:11 -04:00
David Mandelin
a270b0f912 Bug 433939: updating outparams check for latest Treehydra, r=bsmedberg 2008-06-05 11:21:29 -07:00
David Mandelin
b51a9b9d91 Bug 434839: outparams state explosion on functions with many outparams, r+a=bsmedberg 2008-05-22 10:59:02 -07:00
David Mandelin
3ca355ea77 Bug 433939: update outparams for latest Treehydra revision 2008-05-20 11:28:00 -07:00
David Mandelin
0540f825ba Bug 431832: check outparams for PRBool or void return, r+a=bsmedberg 2008-05-20 11:26:03 -07:00
David Mandelin
f8c68d8368 Bug 431832: NS_inparams attr for outparams checker, r=bsmedberg, a=bsmedberg 2008-05-02 18:03:38 -07:00
Benjamin Smedberg
858a24815d Bug 431677 - outparam errors in netwerk/cookie, r=dmandelin 2008-05-01 15:12:33 -04:00
David Mandelin
4548bac7b1 Bug 420933: outparams checker, r=bsmedberg, a=bsmedberg 2008-04-30 17:47:27 -07:00