Re: automated checking of zend_parse_parameters()

From: Date: Wed, 06 Sep 2006 17:06:54 +0000
Subject: Re: automated checking of zend_parse_parameters()
References: 1  Groups: php.internals php.pecl.dev 
Request: Send a blank email to internals+get-25543@lists.php.net to get a copy of this 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 --PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.internals (#25543) next »