Commit Graph

48 Commits

Author SHA1 Message Date
Ehren Metcalfe
b21142c6f1 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
a83fdb3d8c 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
9adfbf5e45 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
b17defb2a2 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
4ae8185a08 Bug 573786 - Script to detect static initializers r=taras 2010-08-18 18:04:39 -07:00
Josh Matthews
b42833eb15 Bug 551286: Add a per function 'final' keyword in C++. r=tglek 2010-03-28 11:44:33 -04:00
Roger Dicke
60107ae540 Bug 529978 - xpcom analysis Makefile produces error about ".deps". r=bsmedberg 2010-02-06 09:48:24 +01:00
Benjamin Smedberg
d52442a811 Bug 500870 - NS_OVERRIDE indicates that a method must override a base-class method, r=taras 2009-09-04 11:21:31 -04:00
Taras Glek
b6eed5b18d Bug 512726 - Add NS_MUST_OVERRIDE static annotation. r=bsmedberg 2009-09-18 10:26:13 -07:00
Benjamin Smedberg
4ec69e1eff 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
580bdcde4c Resolve the static-analysis bustage from bug 498938 by recognizing COND_EXPR. 2009-07-27 10:47:22 -04:00
Benjamin Smedberg
d2580f6522 Bug 496969 - The stack analysis is broken when compiling with -O3 -fstrict-aliasing. 2009-06-08 18:03:23 -04:00
Benjamin Smedberg
51e91b916e Bug 468717 - enable static analysis for js/src, r=jorendorff 2008-12-11 11:40:04 -05:00
Benjamin Smedberg
d912ac0702 Merge mozilla-central into tracemonkey, specifically to pick up bug 467579. 2008-12-09 21:37:35 -05:00
Benjamin Smedberg
cd54fbd097 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
e93d279a87 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
2006fa4490 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
6263ac3931 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
aaadf0c55c Bug 460865 - Read barrier for cx->fp. r=mrbkap, r=dmandelin. 2008-12-09 10:38:32 -06:00
Benjamin Smedberg
7043fc5cdc Bug 458755 - Automated documentation of string classes on MDC using static analysis, r=taras 2008-10-09 12:34:33 -04:00
Taras Glek
0e34c53791 bug 432917: MUST_FLOW_THROUGH static check. r=bsmedberg 2008-09-08 11:01:22 -07:00
Benjamin Smedberg
a3c31d4e03 Bug 453349 - stack-only checker skips conditional blocks, r=dmandelin 2008-09-03 13:00:13 -04:00
Benjamin Smedberg
18e695c4ce 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
ffda0b1a76 Bug 453341 - Allow stack checking to be suppressed per-function, r=dmandelin sr=jst 2008-09-03 13:00:12 -04:00
Vlad Sukhoy
32f0c8c50c bug 449463: make outparams more gcc42-compatible. r=dmandelin 2008-09-02 12:24:34 -05:00
Benjamin Smedberg
176db77f5d 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
86077f4178 Bug 451079: allow setting outparams to null on failure 2008-08-19 11:17:13 -07:00
Benjamin Smedberg
f76764ad65 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
8b9c1c6dc9 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
48082d365c Bug 444565: fix scalability of outparams.js with new treehydra 2008-07-10 15:47:25 -07:00
David Mandelin
fefbaa21a1 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
4b17ee125a 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
9b6a1a3f73 Bug 443205: outparams.js needs to consider void-return funcs as nofail, r=bsmedberg 2008-07-09 10:35:29 -07:00
David Mandelin
e136e34171 Bug 433939: update outparams.js for Treehydra update, r=bsmedberg 2008-07-09 10:33:43 -07:00
David Mandelin
cd8ad2172c Bug 442968: fix small bug with void returns in outparams.js, r=bsmedberg 2008-07-01 15:31:10 -07:00
David Mandelin
96fc910503 Bug 442982: outparams.js now understands func ptr typedef attributes, r=bsmedberg 2008-07-01 14:24:58 -07:00
David Mandelin
46883960a3 Bug 442829: outparams.js handling nsresults returned as &rv, r=bsmedberg 2008-07-01 14:22:49 -07:00
Benjamin Smedberg
a61ba08ac6 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
bfcf38ae8c Fix whitespace (hard tabs) 2008-06-30 15:35:11 -04:00
Benjamin Smedberg
4e8e412c91 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
eb23e8e688 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
926a911041 Bug 433939: updating outparams check for latest Treehydra, r=bsmedberg 2008-06-05 11:21:29 -07:00
David Mandelin
2b06610a65 Bug 434839: outparams state explosion on functions with many outparams, r+a=bsmedberg 2008-05-22 10:59:02 -07:00
David Mandelin
e2a8f5ec13 Bug 433939: update outparams for latest Treehydra revision 2008-05-20 11:28:00 -07:00
David Mandelin
3fe521e04a Bug 431832: check outparams for PRBool or void return, r+a=bsmedberg 2008-05-20 11:26:03 -07:00
David Mandelin
9da220efd7 Bug 431832: NS_inparams attr for outparams checker, r=bsmedberg, a=bsmedberg 2008-05-02 18:03:38 -07:00
Benjamin Smedberg
d15afd418d Bug 431677 - outparam errors in netwerk/cookie, r=dmandelin 2008-05-01 15:12:33 -04:00
David Mandelin
f4fdd6007b Bug 420933: outparams checker, r=bsmedberg, a=bsmedberg 2008-04-30 17:47:27 -07:00