1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 01:18:19 +02:00
Commit Graph

601 Commits

Author SHA1 Message Date
Dmitry Stogov e9e6eb714e Merge branch 'PHP-8.3'
* PHP-8.3:
  Fixed GH-12748: Function JIT emits "could not convert to int" warning at the same time as invalid offset Error
2023-11-22 13:26:25 +03:00
Dmitry Stogov 6f355c6c79 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Fixed GH-12748: Function JIT emits "could not convert to int" warning at the same time as invalid offset Error
2023-11-22 13:26:07 +03:00
Dmitry Stogov 2d65d714a3 Fixed GH-12748: Function JIT emits "could not convert to int" warning at the same time as invalid offset Error 2023-11-22 13:19:10 +03:00
Dmitry Stogov b50aa63a08 Merge branch 'PHP-8.3'
* PHP-8.3:
  Fixed GH-12747: Function JIT returns invalid error message for coalesce operator on invalid offset
2023-11-22 13:02:18 +03:00
Dmitry Stogov f48ab6a66f Fixed GH-12747: Function JIT returns invalid error message for coalesce operator on invalid offset 2023-11-22 13:01:35 +03:00
Daniil Gentili 2ca142ecd8 Improve jit tests
Closes GH-12425
2023-11-14 20:09:27 +01:00
Dmitry Stogov 8349835e68 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Backport fix for GH-12512: JIT Assertion `info & (1 << type)' failed (#12660)
2023-11-13 13:28:48 +03:00
Dmitry Stogov db26aee801 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Backport fix for GH-12512: JIT Assertion `info & (1 << type)' failed (#12660)
2023-11-13 13:27:11 +03:00
Dmitry Stogov c60c2a0d67 Backport fix for GH-12512: JIT Assertion `info & (1 << type)' failed (#12660) 2023-11-13 13:26:17 +03:00
Dmitry Stogov 886dd7c06f Improve fix for GH-12512: JIT Assertion `info & (1 << type)' failed 2023-11-09 23:21:38 +03:00
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 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 4ee72a8dda Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Backport fix for HASH/PACKED array inference through MAY_BE_ARRAY_EMPTY flag (#12591)
2023-11-03 10:55:33 +03:00
Dmitry Stogov 6bf4041398 Backport fix for 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-03 10:54:57 +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 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 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 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
Dmitry Stogov a96ea5d235 Fixed codegeneration for INC_OBJ 2023-10-25 14:57:58 +03:00
Dmitry Stogov 9f5a4c3799 Fixed code generation for MOD
Fixes oss-fuzz #63570
2023-10-25 13:14:34 +03:00
Dmitry Stogov c2b704b63e Fixed code generation for CMP
Fixes oss-fuzz #63569
2023-10-25 12:38:46 +03:00
Dmitry Stogov c163ff68da Fixed code generation for ASSIGN_DIM
Fixes oss-fuzz #63563
2023-10-25 12:01:28 +03:00
Dmitry Stogov accc1e6c67 Invalidate "memory" type of zval if a register was stored in memory to call a helper function 2023-10-25 11:35:29 +03:00
Dmitry Stogov 8fc3615a7a Fixed compilation of "switch" with undefined input
Fixes oss-fuzz #63559
2023-10-25 10:34:54 +03:00
Dmitry Stogov 3a8767b0d1 Fixed compilation of dead code after assignment property to non object
Fixes oss-fuzz #63558
2023-10-25 09:42:07 +03:00
Dmitry Stogov 4ae483af36 Fixed selection candidates for register allocation
Fixea oss-fuzz #63545
2023-10-25 00:26:37 +03:00
Dmitry Stogov 23e4e3b18b Fixed compilation of match with undefined input
Fixes oss-fuzz #63542
2023-10-24 22:12:53 +03:00
Dmitry Stogov 2fffb83c8f Merge branch 'PHP-8.3'
* PHP-8.3:
  Fixed incorrect type inference
2023-10-24 18:49:54 +03:00
Dmitry Stogov 574b0573ac Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Fixed incorrect type inference
2023-10-24 18:49:18 +03:00
Dmitry Stogov 7320f33f7f Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fixed incorrect type inference
2023-10-24 18:48:58 +03:00