History log of /PHP-8.0/ext/opcache/Optimizer/zend_inference.c (Results 1 – 25 of 317)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 81cb005e 05-Sep-2022 Dmitry Stogov

Fix type inference

Fixes oss-fuzz #50792


# bd30eff5 18-Jul-2022 Dmitry Stogov

Fix type inference for FETCH_DI_UNSET

Fixes oss-fuzz #48507


# 05375602 16-May-2022 Dmitry Stogov

Fix type inference

This fixes oss-fuzz #47422


# 3f1e1b9d 11-May-2022 Dmitry Stogov

Fix type inference

This fixes oss-fuzz #47049


# 3e789647 25-Apr-2022 Dmitry Stogov

Fix type inference

Use MAY_BE_NULL result (insted of empty) for ASSIGN_DIM with invalid arguments
This fixes oss-fuzz #46840


# 8286de2f 25-Apr-2022 Dmitry Stogov

Fix type narrowing warning during type inference of ZEND_FETCH_DIM_W

Fixes oss-fuzz #45820


# d16d251e 15-Apr-2022 Nikita Popov

Move MAY_BE_REF check into COPY_SSA_OBJ_TYPE

ZEND_ASSIGN is not the only place where this is relevant, so
handle it generically inside COPY_SSA_OBJ_TYPE instead.


# 5d072578 15-Apr-2022 Nikita Popov

Don't use CE for by-ref arguments


# 41f33b9d 15-Apr-2022 Nikita Popov

Don't use CE info from pi node for MAY_BE_REF var

Once again, the actual class type may be reassigned indirectly.


# b08aac04 15-Apr-2022 Nikita Popov

Fix inference for assignment of known object to reference

We cannot retain the ce information in that case, we have to
assume the ce may change indirectly through the reference.

Fix inference for assignment of known object to reference

We cannot retain the ce information in that case, we have to
assume the ce may change indirectly through the reference.

Fixes oss-fuzz #46720.

show more ...


# c0bb2384 04-Apr-2022 Dmitry Stogov

Fixed reference counting inference

Fixes oss-fuzz #46084


# 2b7431cf 14-Mar-2022 Dmitry Stogov

Fix memory leak

Fixed oss-fuzz #45535


# 7434909d 11-Feb-2022 Dmitry Stogov

Fix type inference

Fixes oss-fuzz #44407


# 1f583654 10-Jan-2022 Dmitry Stogov

Fix type inference

Fixes oss-fuzz #43367


# b80d30d8 10-Jan-2022 Dmitry Stogov

Fix type inference for assign to string offset with invalid index.

Fixes oss-fuzz #43277


# de358f85 28-Dec-2021 Dmitry Stogov

Fix reference contig inference

Fixes oss-fuzz #43032


# f18bb247 20-Dec-2021 Dmitry Stogov

Fix type inference for INIT_ARRAY with invalid index

Fixes oss-fuzz #42568


# 6f42c073 10-Dec-2021 Dmitry Stogov

Remove range inference for booleans.

Range inference for bolleans and longs comparison was incorrect.

Fizes oss-fuzz #fuzz-42161.php


# aa728026 06-Dec-2021 Dmitry Stogov

Fix refcount inferemce ($a += $a returns old array with RCN)

Fixes oss-fuzz #41670


# c1036194 30-Nov-2021 Dmitry Stogov

JIT: Fix incorrect reference counting inference

Fixes oss-fuzz #40747


# 86430e8e 29-Nov-2021 Dmitry Stogov

Fixed type inference (it's safe to ignore reference counting narrowing)


# aff11554 29-Nov-2021 Dmitry Stogov

JIT: Fix exception handling when next array element is already occupied

Fixes oss-fuzz #41408


# 297117bb 29-Nov-2021 Dmitry Stogov

Disable type narrowing optimization when we contruct SSA for JIT

This also revets incorrect fix introduced in f9518c3850982aca41fac22b87a1e11096eb1643


# f9518c38 25-Nov-2021 Dmitry Stogov

Fixed incorrect narrowing to double

Fixes oss-fuzz #41223


# 3c53a9fd 25-Nov-2021 Dmitry Stogov

Fixed incorrect refcountion inference for BW_NOT

BW_NOT for emtpy string returns empty string

Fixes oss-fuzz #41280


12345678910>>...13