Граф коммитов

47 Коммитов

Автор SHA1 Сообщение Дата
Ehren Metcalfe 575f3905b2 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 ee35b65aff 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 e3632c2b97 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 a37e0d8fe3 Bug 573786 - Script to detect static initializers r=taras 2010-08-18 18:04:39 -07:00
Josh Matthews cfbc247339 Bug 551286: Add a per function 'final' keyword in C++. r=tglek 2010-03-28 11:44:33 -04:00
Roger Dicke 11239b7fd4 Bug 529978 - xpcom analysis Makefile produces error about ".deps". r=bsmedberg 2010-02-06 09:48:24 +01:00
Benjamin Smedberg de30b0442f 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 ca93126810 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 28fb767bd1 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 c63a036431 Resolve the static-analysis bustage from bug 498938 by recognizing COND_EXPR. 2009-07-27 10:47:22 -04:00
Benjamin Smedberg e2e33e2428 Bug 496969 - The stack analysis is broken when compiling with -O3 -fstrict-aliasing. 2009-06-08 18:03:23 -04:00
Benjamin Smedberg cacaafaeb6 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 5e01ae0dd0 Merge mozilla-central into tracemonkey, specifically to pick up bug 467579. 2008-12-09 21:37:35 -05:00
Benjamin Smedberg 228ebbaa6a 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 e55f407e60 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 66e9c1bbe9 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 f5e6d37655 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 e127e2ec2b 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 121f148e93 Bug 458755 - Automated documentation of string classes on MDC using static analysis, r=taras 2008-10-09 12:34:33 -04:00
Taras Glek 83d0e98890 bug 432917: MUST_FLOW_THROUGH static check. r=bsmedberg 2008-09-08 11:01:22 -07:00
Benjamin Smedberg 32a06c594c Bug 453349 - stack-only checker skips conditional blocks, r=dmandelin 2008-09-03 13:00:13 -04:00
Benjamin Smedberg 3226e511f2 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 76a06a3037 Bug 453341 - Allow stack checking to be suppressed per-function, r=dmandelin sr=jst 2008-09-03 13:00:12 -04:00
Vlad Sukhoy 36e5dc6b61 bug 449463: make outparams more gcc42-compatible. r=dmandelin 2008-09-02 12:24:34 -05:00
Benjamin Smedberg c05f82405c 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 fa83093fce Bug 451079: allow setting outparams to null on failure 2008-08-19 11:17:13 -07:00
Benjamin Smedberg b986cdc557 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 5ec62fe9ec 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 da006b8de0 Bug 444565: fix scalability of outparams.js with new treehydra 2008-07-10 15:47:25 -07:00
David Mandelin f13105c018 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 98021bc457 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 136380ed8d Bug 443205: outparams.js needs to consider void-return funcs as nofail, r=bsmedberg 2008-07-09 10:35:29 -07:00
David Mandelin b2af501d36 Bug 433939: update outparams.js for Treehydra update, r=bsmedberg 2008-07-09 10:33:43 -07:00
David Mandelin 8d29f3d55b Bug 442968: fix small bug with void returns in outparams.js, r=bsmedberg 2008-07-01 15:31:10 -07:00
David Mandelin 5ebdc12dda Bug 442982: outparams.js now understands func ptr typedef attributes, r=bsmedberg 2008-07-01 14:24:58 -07:00
David Mandelin 8b416928ce Bug 442829: outparams.js handling nsresults returned as &rv, r=bsmedberg 2008-07-01 14:22:49 -07:00
Benjamin Smedberg 7c296ab65a 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 950f33faa2 Fix whitespace (hard tabs) 2008-06-30 15:35:11 -04:00
Benjamin Smedberg 4f461a2d1f 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 5a71b4b11e 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 9704ef1a8b Bug 433939: updating outparams check for latest Treehydra, r=bsmedberg 2008-06-05 11:21:29 -07:00
David Mandelin 528272a7a0 Bug 434839: outparams state explosion on functions with many outparams, r+a=bsmedberg 2008-05-22 10:59:02 -07:00
David Mandelin ca0affce96 Bug 433939: update outparams for latest Treehydra revision 2008-05-20 11:28:00 -07:00
David Mandelin bcbd3682b3 Bug 431832: check outparams for PRBool or void return, r+a=bsmedberg 2008-05-20 11:26:03 -07:00
David Mandelin ffb7f62c86 Bug 431832: NS_inparams attr for outparams checker, r=bsmedberg, a=bsmedberg 2008-05-02 18:03:38 -07:00
Benjamin Smedberg 3d4a523171 Bug 431677 - outparam errors in netwerk/cookie, r=dmandelin 2008-05-01 15:12:33 -04:00
David Mandelin c16ad95d1f Bug 420933: outparams checker, r=bsmedberg, a=bsmedberg 2008-04-30 17:47:27 -07:00