Dmitry Stogov
cefb228e15
Discard disasm symbols on opcache restart
2022-10-17 11:22:59 +03:00
Dmitry Stogov
072dc3c857
Fix typo
2022-10-05 21:39:16 +03:00
Dmitry Stogov
ed652a514f
Fix register allocation (missing store)
...
This fixes oss-fuzz #52022
2022-10-03 17:08:11 +03:00
Dmitry Stogov
5ca4113386
Fix abstract trace consisency for FE_FETCH instruction
2022-10-03 14:48:03 +03:00
Dmitry Stogov
ce42dcf483
Fix ext/opcache/tests/jit/inc_obj_004.phpt failure introduced by fd74ee7e90
...
This should fix GH-9445
2022-08-29 12:30:14 +03:00
Dmitry Stogov
fd74ee7e90
JIT: Make code generation to be consistent with register allocation
...
Fixes ext/opcache/tests/jit/add_014.phpt with opcache.jit=1205
2022-08-22 19:53:33 +03:00
Dmitry Stogov
c9c51eb1f1
Tracing JIT: Fix incorrect guard elimination
...
Fixes oss-fuzz #49917
2022-08-22 15:38:41 +03:00
David Carlier
52e312afb8
opcache jit fix message format for OpenBSD.
...
like macOs it requires `ll`.
Closes #9380 .
2022-08-19 16:40:29 +01:00
Dmitry Stogov
2758ff2a77
Tracing: Prevent recording types of variables used to pass zend_class_entry
2022-08-01 17:02:53 +03:00
Dmitry Stogov
44b86aee31
Fix memory leak
...
Fixes oss-fuzz #49272
2022-07-25 12:04:46 +03:00
Dmitry Stogov
d66d477d6f
Fix incorrect condition introdused in 7cf6f17383
2022-06-29 13:08:18 +03:00
Dmitry Stogov
7cf6f17383
Fixed bug GH-8847 (PHP hanging infinitly at 100% cpu when check php syntaxe of a valid file)
2022-06-29 12:10:46 +03:00
Dmitry Stogov
1cd8074743
JIT: Fix missing register store
...
This fixes oss-fuzz #48023
2022-06-14 13:57:44 +03:00
Dmitry Stogov
3a8912fb7c
Fix memory leak
...
This fixes oss-fuzz #47648
2022-05-30 11:32:17 +03:00
Dmitry Stogov
3aaf2f6f89
JIT: Fix memory lek
...
Fixes oss-fuzz #46462
2022-04-11 12:17:05 +03:00
Dmitry Stogov
5b048dd05c
Tracing JIT: Fixed incorrect assumption about stack slot type
...
Fixes oss-fuzz #46404
2022-04-11 11:42:01 +03:00
Dmitry Stogov
0d44bbd212
JIT: Fixed incorrect code generation
...
Fixes oss-fuzz #46328
2022-04-04 14:20:45 +03:00
Dmitry Stogov
aa352c2c54
JIT: Fixed memory leak
...
Fixes oss-fuzz #45981
2022-03-25 16:54:50 +03:00
Dmitry Stogov
cf83bdd925
JIT: Fix register clobbering
...
Fixes oss-fuzz #45590
2022-03-21 16:08:52 +03:00
Dmitry Stogov
e9fc81a2f8
JIT: Fix missing type store
...
Fixes oss-fuzz #45604
2022-03-21 13:34:46 +03:00
Dmitry Stogov
7051dc3372
JIT: Fix memory leak
...
Fixes oss-fuzz #45658
2022-03-21 12:50:30 +03:00
Dmitry Stogov
3d6a7e2bd5
JIT: Fix missing exception handling
...
Fixes oss-fuzz #45649
2022-03-18 18:54:47 +03:00
Dmitry Stogov
e20f955e44
JIT: Fix register allocation
...
Fixes oss-fuzz #45487
2022-03-14 11:46:45 +03:00
Dmitry Stogov
9792f0db76
JIT: Fix type store
...
Fixes oss-fuzz #45190
2022-03-14 09:48:58 +03:00
Michael Voříšek
2b2aeb989e
Fix GH-8160: ZTS support on Alpine is broken
...
We need to export `__MUSL__` so that phpize builds can see the proper
macro, and also need to fix "_tsrm_ls_cache" usage for musl.
Closes GH-8180.
2022-03-11 14:39:39 +01:00
Dmitry Stogov
6c3816cee5
Tracing JIT: Eliminate useless guards for CONCAT
...
Fixes oss-fuzz #45285
2022-03-11 12:39:10 +03:00
Dmitry Stogov
70f7e7d83f
JIT: Fix memory leak
...
Fixes oss-fuzz #44920
2022-02-28 15:43:03 +03:00
Dmitry Stogov
ac8a53cab1
JIT: Fix register allocator
...
Fixes oss-fuzz #44916
2022-02-28 13:48:53 +03:00
Dmitry Stogov
3198b8787b
JIT: Fix register allocation
...
Fixes oss-fuzz #44689
2022-02-18 17:15:07 +03:00
Dmitry Stogov
912608d89b
JIT: Fixed register clobbering during overflow handling
...
Fixes oss-fuzz #44535
2022-02-11 13:44:49 +03:00
Dmitry Stogov
0d6b173532
JIT: Fix missed type store
...
Fizes oss-fuzz #44376
2022-02-11 12:05:57 +03:00
Dmitry Stogov
d0f965d078
Tracing JIT: Fixed incorrect deoptimization info
2022-02-11 11:10:22 +03:00
Dmitry Stogov
478448d271
JIT: Fix register alloction (missed store)
...
Fixes oss-fuzz #44242
2022-02-01 22:00:39 +03:00
Dmitry Stogov
54c952f11f
JIT: Fix incorrect type store elimination
...
Fixes oss-fuzz #43737
2022-01-28 16:27:55 +03:00
Dmitry Stogov
f711c9603d
Fix incorrect register allocation
...
Fixes oss-fuzz #44006
2022-01-28 13:08:11 +03:00
Dmitry Stogov
ee8f9d75c0
JIT: Fix trace type inference
...
Fixes oss-fuzz #43597
2022-01-14 16:43:50 +03:00
Dmitry Stogov
079c5af9ec
JIT: Fix register allocation
...
Fixes oss-fuzz #43598
2022-01-14 13:41:16 +03:00
Dmitry Stogov
522406c0ec
JIT: Fix incorrect flag check
...
Fixes oss-fuzz #43538
2022-01-11 22:23:44 +03:00
Dmitry Stogov
d8b0337cff
Fix register allocation on x86
...
Fixes oss-fuzz #43119
2022-01-11 13:02:55 +03:00
Dmitry Stogov
4170d41a66
JIT: Fix incorrect FETCH_THIS elimination
...
Fizex oss-fuzz #43159
2022-01-10 15:37:36 +03:00
Dmitry Stogov
fd879e6fe4
JIT: Fix array clobbering by user error handler
...
Gixes oss-fuzz #43055
2021-12-28 16:51:03 +03:00
Dmitry Stogov
cb10ac1d53
Fixed compilation warning
2021-12-21 00:02:45 +03:00
Dmitry Stogov
6d5922bed5
JIT: Fix incorrect JIT prologur size for CLANG/x86 build
...
Fixes oss-fuzz #42724
2021-12-20 23:52:46 +03:00
Dmitry Stogov
7c674e1aa7
JIT: Fix register clobbering
...
Fixes oss-fuzz #42657
2021-12-20 12:48:48 +03:00
Dmitry Stogov
66306030ad
JIT: Fix incorrect type store elimination
...
Fixes oss-fuzz #42388
2021-12-17 12:31:48 +03:00
Christoph M. Becker
49380b59d2
Fix #81679 : Tracing JIT crashes on reattaching
...
When a new process reattaches to OPcache, tracing JIT causes segfaults,
because each new process allocates its own `zend_jit_traces` and
`zend_jit_exit_groups` in SHM, although these need to be shared between
all processes.
We solve that by only allocating these structs for the first process,
and store the pointers in `accel_shared_globals`, so we can reassign
them when a new process reattaches.
Closes GH-7776.
2021-12-15 15:37:23 +01:00
Dmitry Stogov
fe320e83ae
Tracing JIT: Fix reference counting
...
Fixes oss-fuzz #42225
2021-12-13 16:28:45 +03:00
Dmitry Stogov
cbc0b1afeb
Fix array clobering by user error handler
...
Fixes oss-fuzz #42234
2021-12-13 14:59:30 +03:00
Dmitry Stogov
e79dbe1124
JIT: Fix crash during compilation of function with incompletely constructed SSA
...
Fixes oss-fuzz #42200
2021-12-13 11:49:51 +03:00
Dmitry Stogov
c29f6baaee
JIT: Fix incorrect elimination of type store
...
Fixes oss-fuzz #41995
2021-12-06 14:22:07 +03:00