1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 08:28:26 +02:00
Commit Graph

5846 Commits

Author SHA1 Message Date
Dmitry Stogov b88d38787b Revert "Fix incorrect trace type inference in a false loop"
This reverts commit 7f06a9daa2.
2023-11-07 18:29:26 +03:00
Dmitry Stogov 7f06a9daa2 Fix incorrect trace type inference in a false loop
Fixes oss-fuzz #63846
2023-11-07 17:29:10 +03:00
Dmitry Stogov 8ef695795c Fixed GH-12623: Segmentation fault in ZEND_DO_UCALL_SPEC_RETVAL_USED_HANDLER 2023-11-07 16:15:22 +03:00
Dmitry Stogov 3a3d83625b Fixed IR construction
Fixes oss-fuzz #63857
2023-11-07 13:25:09 +03:00
Dmitry Stogov a30d809290 Fixed incorrect dead edge elimination during IR construction
Fixes oss-fuzz #63931
2023-11-07 11:41:23 +03:00
Dmitry Stogov fa59bbe662 Update IR
IR commit: ec588537889c84a4ec649a6f1aa9d7f1bfea7b4d
2023-11-07 11:40:11 +03:00
Dmitry Stogov 93ed314432 Fixed incorrect type stores 2023-11-06 15:20:26 +03:00
Dmitry Stogov 3844593bfb An attempt to fix GH-12512 2023-11-03 13:49:50 +03:00
Dmitry Stogov 77312d8ea1 Fixed assertion 2023-11-03 02:16:08 +03:00
Dmitry Stogov 7aa9ef7d12 Fixed incorrect type assumption
Fixes oss-fuzz #63809
2023-11-02 22:33:01 +03:00
Dmitry Stogov 1226fe027a Fixed codegeneration for ISSET_ISEMPTY_DIM
Fixes oss-fuzz #63805
2023-11-02 19:48:04 +03:00
Dmitry Stogov 1c95e227e9 Fixed HASH/PACKED array inference through MAY_BE_ARRAY_EMPTY flag (#12591)
* Fixed HASH/PACKED array inference through MAY_BE_ARRAY_EMPTY flag

This fixes GH-12527

* typo
2023-11-02 16:17:31 +03:00
Dmitry Stogov 4fce8c83bc Merge branch 'PHP-8.3'
* PHP-8.3:
  Don't JIT after fatal errors
2023-11-02 14:15:13 +03:00
Dmitry Stogov 83bbea7c5b Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Don't JIT after fatal errors
2023-11-02 14:15:05 +03:00
Dmitry Stogov bbf2fc99a3 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Don't JIT after fatal errors
2023-11-02 14:14:48 +03:00
Dmitry Stogov 77a497d56a Don't JIT after fatal errors 2023-11-02 14:14:12 +03:00
Dmitry Stogov 110cdd336a Merge branch 'PHP-8.3'
* PHP-8.3:
  Fixed GH-10008: Narrowing occurred during type inference of ZEND_ADD_ARRAY_ELEMENT
  ext/intl: change when the locale is invalid for the 8.1/8.2 serie.
2023-11-02 08:21:36 +03:00
Dmitry Stogov 22735b3ff5 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Fixed GH-10008: Narrowing occurred during type inference of ZEND_ADD_ARRAY_ELEMENT
  ext/intl: change when the locale is invalid for the 8.1/8.2 serie.
2023-11-02 08:15:50 +03:00
Dmitry Stogov 177a6f5d8a Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fixed GH-10008: Narrowing occurred during type inference of ZEND_ADD_ARRAY_ELEMENT
2023-11-02 08:11:00 +03:00
Dmitry Stogov 798b9d097b Fixed GH-10008: Narrowing occurred during type inference of ZEND_ADD_ARRAY_ELEMENT 2023-11-02 08:09:29 +03:00
Dmitry Stogov 1b846f89b9 Fixed GH-12584: Assertion `ctx->control' failed with new JIT and CALL
VM`
2023-11-01 17:19:17 +03:00
Dmitry Stogov d7fc3ab07f Fixed GH-12585: Assertion t->stack_map[t->exit_info[exit_point].stack_offset + var].type == 4 2023-11-01 16:11:54 +03:00
Dmitry Stogov aa7465a435 Fixed missed type store
Fixes oss-fuzz #63601
2023-11-01 14:26:01 +03:00
Dmitry Stogov 7fcbedd7df Merge branch 'PHP-8.3'
* PHP-8.3:
  Fixed inorrect QM_ASSIGN elimination
2023-11-01 09:55:51 +03:00
Dmitry Stogov 916fa73d80 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Fixed inorrect QM_ASSIGN elimination
2023-11-01 09:55:37 +03:00
Dmitry Stogov 125dbb2c03 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fixed inorrect QM_ASSIGN elimination
2023-11-01 09:55:28 +03:00
Dmitry Stogov 19dfe05f16 Fixed inorrect QM_ASSIGN elimination
Fixes oss-fuzz #63771
2023-11-01 09:54:58 +03:00
Dmitry Stogov 2782577c4f Prevent starting JIT on AArch64 with buffuer aize above 128M
B and BL instructions are limited by 128M offset
2023-10-31 21:42:25 +03:00
Dmitry Stogov 93d5c0e946 Fixed missed type store 2023-10-31 17:55:37 +03:00
Dmitry Stogov cefe9e4ef4 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Backport fix for incorrect assumption about in-memory zval type
2023-10-31 11:59:17 +03:00
Dmitry Stogov 4b82ed4387 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Backport fix for incorrect assumption about in-memory zval type
2023-10-31 11:59:08 +03:00
Dmitry Stogov 455a967934 Backport fix for incorrect assumption about in-memory zval type 2023-10-31 11:56:01 +03:00
Dmitry Stogov ed37ab9d14 Fixed codegeneration for NOT
Fixes oss-fuzz #63749
2023-10-31 08:34:14 +03:00
Dmitry Stogov 037d6d0924 Merge branch 'PHP-8.3'
* PHP-8.3:
  Fixed GH-12511: Use must be in next opline assertion with patched infection
2023-10-31 07:52:56 +03:00
Dmitry Stogov 586b2f8645 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Fixed GH-12511: Use must be in next opline assertion with patched infection
2023-10-31 07:52:46 +03:00
Dmitry Stogov 14b36c8583 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fixed GH-12511: Use must be in next opline assertion with patched infection
2023-10-31 07:52:38 +03:00
Dmitry Stogov b3b46a44c5 Fixed GH-12511: Use must be in next opline assertion with patched infection 2023-10-31 07:51:36 +03:00
Dmitry Stogov 93c57af778 Fixed GH-12560: Assertion `0 && "too long jmp distance"' failed with new JIT on AArch64 2023-10-30 21:39:29 +03:00
Dmitry Stogov 411b6fb4e6 Fixed codegeneration for PRE_DEC
Fixes oss-fuzz #63713
2023-10-30 20:41:04 +03:00
Dmitry Stogov 52480b3a79 Fixed incorrect assumption about in-memory zval type 2023-10-30 17:54:30 +03:00
Dmitry Stogov bd183a4069 Fixed codegeneration for MATCH
Fixes oss-fuzz #63681
2023-10-30 12:57:31 +03:00
Dmitry Stogov e482785886 Fixed codegeneration for FETCH_DIM_IS
Fixes oss-fuzz #63666
2023-10-30 11:53:43 +03:00
Dmitry Stogov c8cb68ad0a Fixed codegenertion for FETCH_DIM_W
Fixes oss-fuzz #63664
2023-10-30 11:19:49 +03:00
Dmitry Stogov c19347a0d3 Fixed incorrect trace type inference
Fixes oss-fuzz #63623
2023-10-27 16:12:18 +03:00
Dmitry Stogov 7a594af365 Merge branch 'PHP-8.3'
* PHP-8.3:
  Fixed GH-12509: JIT assertion when running php-parser tests
2023-10-26 23:59:20 +03:00
Dmitry Stogov e52d617934 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Fixed GH-12509: JIT assertion when running php-parser tests
2023-10-26 23:59:12 +03:00
Dmitry Stogov 770c1b0361 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fixed GH-12509: JIT assertion when running php-parser tests
2023-10-26 23:59:03 +03:00
Dmitry Stogov 5f46d86955 Fixed GH-12509: JIT assertion when running php-parser tests 2023-10-26 23:58:29 +03:00
Dmitry Stogov e95faaeebd Fixed codegeneration for IDENTICAL
Fixes oss-fuzz #63618
2023-10-26 23:14:30 +03:00
Dmitry Stogov ce269178a9 Fixed code generation for DETCH_DIM_R
Fixes oss-fuzz #63613 and #63619
2023-10-26 22:50:25 +03:00