[php-src] PR #19683: Fix zend_inference_widening_meet to ensure convergence
| From: | arnaud-lb | Date: | Wed, 03 Sep 2025 15:26:37 +0000 |
| Subject: | [php-src] PR #19683: Fix zend_inference_widening_meet to ensure convergence | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33055@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19683
Author: arnaud-lb
Fixes GH-19679
Range analysis may take a very long time to converge when the transfer function
zend_inference_calc_range produces a smaller range.
Fix by ensuring that the widening operator zend_inference_widening_meet allows only
widening. This matches the inference rules shown in section 3.5 of the paper.