Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25544 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2088 invoked by uid 1010); 6 Sep 2006 17:11:19 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 2073 invoked from network); 6 Sep 2006 17:11:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Sep 2006 17:11:19 -0000 Authentication-Results: pb1.pair.com header.from=nlopess@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=nlopess@php.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain php.net from 212.55.154.24 cause and error) X-PHP-List-Original-Sender: nlopess@php.net X-Host-Fingerprint: 212.55.154.24 relay4.ptmail.sapo.pt Linux 2.4/2.6 Received: from [212.55.154.24] ([212.55.154.24:45763] helo=sapo.pt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BA/EF-26632-4310FF44 for ; Wed, 06 Sep 2006 13:11:18 -0400 Received: (qmail 10601 invoked from network); 6 Sep 2006 17:11:14 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.156) by relay4 with SMTP; 6 Sep 2006 17:11:14 -0000 Received: (qmail 10475 invoked from network); 6 Sep 2006 17:11:11 -0000 X-AntiVirus: PTMail-AV 0.3-0.88.4 X-Virus-Status: Clean (0.00722 seconds) Received: from unknown (HELO pc07653) (nunoplopes@sapo.pt@[82.155.76.59]) (envelope-sender ) by mta6 (qmail-ldap-1.03) with SMTP for ; 6 Sep 2006 17:11:11 -0000 Message-ID: <00a001c6d1d7$753ddc40$0100a8c0@pc07653> To: "Andrei Zmievski" Cc: , "PHPdev" References: <007a01c6d1d5$c1886ae0$0100a8c0@pc07653> Date: Wed, 6 Sep 2006 18:11:12 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Subject: Re: [PECL-DEV] automated checking of zend_parse_parameters() From: nlopess@php.net ("Nuno Lopes") I was thinking in integrating it in http://gcov.php.net, as soon as the new website is ready and on-line, but I can put this text-only version in that dir (or maybe in scripts/dev). Nuno ----- Original Message ----- > Excellent. Can you check that into CVS? Maybe in scripts/ ? > > -Andrei > > On Sep 6, 2006, at 9:59 AM, 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