Newsgroups: php.internals,php.pecl.dev Path: news.php.net Xref: news.php.net php.internals:25545 php.pecl.dev:4113 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3388 invoked by uid 1010); 6 Sep 2006 17:11:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 3366 invoked from network); 6 Sep 2006 17:11:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Sep 2006 17:11:59 -0000 Authentication-Results: pb1.pair.com header.from=zenstyle@gmail.com; sender-id=pass; domainkeys=good Authentication-Results: pb1.pair.com smtp.mail=zenstyle@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.204.225 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: zenstyle@gmail.com X-Host-Fingerprint: 72.14.204.225 qb-out-0506.google.com Linux 2.4/2.6 Received: from [72.14.204.225] ([72.14.204.225:34040] helo=qb-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 15/20-26632-B510FF44 for ; Wed, 06 Sep 2006 13:11:57 -0400 Received: by qb-out-0506.google.com with SMTP id o24so677697qba for ; Wed, 06 Sep 2006 10:11:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FVUF/l0/Bt9DY9O7RrPAsXw5Z6215Uo46X2Y48okQqRibyksG4E4+u7sO6yPE06XovGxXt6xTb/eX4GIVnc/uUZiR3Ml5zldlAog2EjmQAQnFLlFmOschGdmMKB0d99SJuB8MMAPdAu2H2rFYANPHmCTIFmLxy71FNtOL3f1hTU= Received: by 10.35.87.8 with SMTP id p8mr15118846pyl; Wed, 06 Sep 2006 10:11:53 -0700 (PDT) Received: by 10.35.106.2 with HTTP; Wed, 6 Sep 2006 10:11:48 -0700 (PDT) Message-ID: <9598d15f0609061011v431a42c0x538ed511525f6bcc@mail.gmail.com> Date: Wed, 6 Sep 2006 13:11:48 -0400 Reply-To: mc@majorcomputing.com To: "Nuno Lopes" Cc: PHPdev , pecl-dev@lists.php.net In-Reply-To: <007a01c6d1d5$c1886ae0$0100a8c0@pc07653> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <007a01c6d1d5$c1886ae0$0100a8c0@pc07653> Subject: Re: [PECL-DEV] automated checking of zend_parse_parameters() From: zenstyle@gmail.com ("Pedram Nimreezi") thats seksi nice work ;-) On 9/6/06, Nuno Lopes wrote: > Hello, > > I've made a somewhat simple script that is capable of running a few > diagnostic tests on zend_parse_parameters() usage. This tests include > reports from possible segfaults to possible optimizations. > > The script still needs a lot of tweaking, but is already capable of spotting > some real bugs (but the number of false positives is a little high). > The line number reporting isn't working very well, too, but even so I would > recomend extensions' authors to take a look at the reports. > > > Output for PHP 5.2, 6.0 and PECL: > http://mega.ist.utl.pt/~ncpl/php5.2_zend_parse_parameters_diagnostics.txt > http://mega.ist.utl.pt/~ncpl/php6_zend_parse_parameters_diagnostics.txt > http://mega.ist.utl.pt/~ncpl/pecl_zend_parse_parameters_diagnostics.txt > > > The source of the script is also available at: > http://mega.ist.utl.pt/~ncpl/check_parameters.php > (not recomended for non regex fans :P) > > > Any comments, feedback, flames, etc.. are welcome :) > > Nuno > > -- > PECL development discussion Mailing List (http://pecl.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- ~ Pedram Nimreezi -- President/Senior Engineer Major Computing, Inc -- Not by age, but by knowledge is wisdom acquired.