History log of /php-src/ext/opcache/jit/zend_jit_helpers.c (Results 1 – 25 of 229)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 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


# 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
# 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
# 3e128eec 14-Jun-2022 Dmitry Stogov

Merge branch 'PHP-8.1'

* PHP-8.1:
JIT: Fix incorrect reference-counting


12345678910