Re: Memory trashing

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: Memory trashing
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-3582@lists.php.net to get a copy of this message
> Yes, but since it leads to spurious faults, I believe that it would pay to > add memory wall trashing to PHP when built in debug mode, so that everybody > that is using PHP could report when those problems where found so they can > be reported to each person that is responsible of the faulty code. I think > PHP could get more useful testing and more people could report those bugs > if that code is built-in PHP, don't you think so? But, in order to do this properly you have to trap memory allocated from third-party libraries as well. To do this you need a much more complex approach than simply wrapping just the PHP allocation calls in some code. A tool like Purify or even the bounds checking version of gcc will do a much better job of this than any tricks we could add to PHP. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#3582) next »