History log of /PHP-8.4/ext/opcache/jit/zend_jit_helpers.c (Results 1 – 25 of 177)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# fe513655 21-Oct-2024 Dmitry Stogov

Fix GH-16499: [JIT] Undefined to null coercion issues for return


# c65e042c 16-Sep-2024 Arnaud Le Blanc

Fix zend_get_property_info_for_slot() for lazy objects (#15855)

zend_get_property_info_for_slot(obj, slot) assumes that 'slot' belongs to 'obj', but that may not be the case for lazy proxies

Fix zend_get_property_info_for_slot() for lazy objects (#15855)

zend_get_property_info_for_slot(obj, slot) assumes that 'slot' belongs to 'obj', but that may not be the case for lazy proxies.

Fortunately, the property info is often already available in path when it is needed.

For other cases, I make zend_get_property_info_for_slot() aware of lazy objects, and add zend_get_property_info_for_slot_self() for cases where the 'slot' is known to belong to the object itself.

Fixes oss-fuzz #71446

show more ...


# 8df557ac 27-Aug-2024 Ilija Tovilo

[RFC] Asymmetric visibility v2 (GH-15063)

Co-authored-by: Larry Garfield <larry@garfieldtech.com>


# 780a8280 14-Jul-2024 Ilija Tovilo

[RFC] Property hooks (#13455)

RFC: https://wiki.php.net/rfc/property-hooks

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>


# 7407e760 01-Jul-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Remove duplicated code

The exact same code already exists above this.


# 985e5ffd 01-Jul-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Remove doubled variable name from assignment


# 13d5c812 19-May-2024 Dmitry Stogov

JIT: Add CPU registers support for FETCH_OBJ_R (#14253)


# 87edeed3 13-Jan-2024 Michael Voříšek

Remove UNEXPECTED from typed prop checks

Closes GH-13143


# 631bc816 06-Feb-2024 Ilija Tovilo

Implement stackless internal function calls

Co-authored-by: Dmitry Stogov <dmitry@zend.com>

Closes GH-12461


# fe064d7f 19-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-13142: Undefined variable name is shortened when contains \0

Uses the new %S formatter and introduces the necessary changes and
helpers.


# 927adfb1 20-Dec-2023 Cristian Rodríguez

Use a single version of mempcpy(3) (#12257)

While __php_mempcpy is only used by ext/standard/crypt_sha*, the
mempcpy "pattern" is used everywhere.

This commit removes __php_memp

Use a single version of mempcpy(3) (#12257)

While __php_mempcpy is only used by ext/standard/crypt_sha*, the
mempcpy "pattern" is used everywhere.

This commit removes __php_mempcpy, adds zend_mempcpy and transforms
open-coded parts into function calls.

show more ...


# 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


# 87107f86 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


# 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 ...


12345678