History log of /PHP-8.3/ext/opcache/jit/zend_jit_helpers.c (Results 1 – 25 of 165)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 126a255d 27-Nov-2023 Gina Peter Banyard

jit: fixed JIT "Attempt to assign property of non-object" warning emitted at the same time as Error is being thrown


# ed8b9018 27-Nov-2023 Gina Peter Banyard

jit: fixed "Uninitialized string offset" warning being emitted at the same time as invalid offset Error


# 2d65d714 22-Nov-2023 Dmitry Stogov

Fixed GH-12748: Function JIT emits "could not convert to int" warning at the same time as invalid offset Error


# f48ab6a6 22-Nov-2023 Dmitry Stogov

Fixed GH-12747: Function JIT returns invalid error message for coalesce operator on invalid offset


# dabced0f 16-Oct-2023 Dmitry Stogov

Fixed GH-12428: Assertion with function/tracing JIT


# 99fa740a 06-Jun-2023 George Peter Banyard

Use common function for TypeError on illegal offset access (#10544)

This merges all usages of emitting an offset TypeError into a new ZEND_API function
zend_illegal_container_offset(cons

Use common function for TypeError on illegal offset access (#10544)

This merges all usages of emitting an offset TypeError into a new ZEND_API function
zend_illegal_container_offset(const zend_string* container, const zval *offset, int type);

Where the container should represent the type on which the access is attempted (e.g. string, array)
The offset zval that is used, where the error message will display its type
The type of access, which should be a BP_VAR_* constant, to get special message for isset/empty/unset

show more ...


# e1c6fb76 03-Apr-2023 Dmitry Stogov

JIT support for delayed destructor for zend_assign_to_typed_ref/prop


# 24acb4f1 02-Mar-2023 Dmitry Stogov

Delay destructor for zend_std_write_property


# d7c351ea 26-Mar-2023 George Peter Banyard

Propagate UTF-8 flag during Rope operations (#10915)


# 3f7dadfe 01-Mar-2023 Ilija Tovilo

Fix readonly+clone JIT issues

Closes GH-10748


# 7202fe16 27-Feb-2023 Ilija Tovilo

Fix GH-10709: UAF in recursive AST evaluation

Fixes https://oss-fuzz.com/testcase-detail/6445949468934144
Closes GH-10718


# df93146a 02-Mar-2023 Ilija Tovilo

Fix missing readonly modification error with inc/dec in JIT

Closes GH-10746


# d5c649b3 23-Feb-2023 Max Kellermann

zend_compiler, ...: use `uint8_t` instead of `zend_uchar` (#10621)

`zend_uchar` suggests that the value is an ASCII character, but here,
it's about very small integers. This is misleadi

zend_compiler, ...: use `uint8_t` instead of `zend_uchar` (#10621)

`zend_uchar` suggests that the value is an ASCII character, but here,
it's about very small integers. This is misleading, so let's use a
C99 integer instead.

On all architectures currently supported by PHP, `zend_uchar` and
`uint8_t` are identical. This change is only about code readability.

show more ...


# 641fe23e 08-Feb-2023 Marcos Marcolin <48370677+marcosmarcolin@users.noreply.github.com>

Improve illegal offset error messages (#10504)

Co-authored-by: Marcos Marcolin <marcos@ixcsoft.com.br>


# 99b86141 02-Feb-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Introduce convenience macros for copying flags that hold when concatenating two strings

This abstracts away, and cleans up, the flag handling for properties of
strings that hold when con

Introduce convenience macros for copying flags that hold when concatenating two strings

This abstracts away, and cleans up, the flag handling for properties of
strings that hold when concatenating two strings if they both hold that
property. (These macros also work with simply copies of strings because
a copy of a string can be considered a concatenation with the empty
string.) This gets rid of some branches and some repetitive code, and
leaves room for adding more flags like these in the future.

show more ...


# 64127b66 29-Jan-2023 George Peter Banyard

Concatenating two valid UTF-8 strings produces a valid UTF-8 string

The UTF-8 valid flag needs to be copied upon interning,
otherwise strings that are concatenated at compile time lose t

Concatenating two valid UTF-8 strings produces a valid UTF-8 string

The UTF-8 valid flag needs to be copied upon interning,
otherwise strings that are concatenated at compile time lose this information.

However, if previously this string was interned without the flag it is not added
E.g. in the case the string is an existing class name.

Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>

show more ...


# 7936c808 23-Jan-2023 Máté Kocsis

Fix GH-8329 Print true/false instead of bool in error and debug messages (#8385)


# a11c8a30 16-Dec-2022 Arnaud Le Blanc

Limit stack size (#9104)


# 6e5b9898 11-Nov-2022 Ilija Tovilo

Remove unused PHP 8.1 BC layer in JIT (#9937)


Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23, php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3, php-8.2.0beta2, php-8.1.9, php-8.0.22, php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1, php-8.0.21, php-8.1.8, php-8.2.0alpha3
# 7e23c838 27-Jun-2022 Dmitry Stogov

Fixed Bug GH-8863: RW operation on readonly property doesn't throw with JIT


# ad40fffd 27-Jun-2022 Dmitry Stogov

Fixed Bug GH-8863: RW operation on readonly property doesn't throw with JIT


Revision tags: php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1
# 971b07ea 14-Jun-2022 Dmitry Stogov

JIT: Fix incorrect reference-counting

This fixes oss-fuzz #47937


Revision tags: php-8.0.20, php-8.1.7, php-8.2.0alpha1
# b40ae808 07-Jun-2022 George Peter Banyard

Convert iterable into an internal alias for Traversable|array (#7309)

This does a compile time transformation of ``iterable`` into ``Traversable|array`` which simplifies some of the LSP vari

Convert iterable into an internal alias for Traversable|array (#7309)

This does a compile time transformation of ``iterable`` into ``Traversable|array`` which simplifies some of the LSP variance handling.

The arginfo generation script from stubs is updated to produce a union type when it encounters the type ``iterable``
Extension functions which do not regenerate the arginfo, or write them manually are still supported by mimicking the compile time transformation while registering the function.

Type Reflection is preserved for single ``iterable`` (and ``?iterable``) to produce a ReflectionNamedType with name ``iterable``, however usage of ``iterable`` in union types will be converted to ``array|Traversable``

show more ...


Revision tags: php-7.4.30, php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1
# aa352c2c 25-Mar-2022 Dmitry Stogov

JIT: Fixed memory leak

Fixes oss-fuzz #45981


# 7051dc33 21-Mar-2022 Dmitry Stogov

JIT: Fix memory leak

Fixes oss-fuzz #45658


1234567