#
d03d369f |
| 04-Sep-2019 |
Dmitry Stogov |
Fixed bug #78488 (OOB in ZEND_FUNCTION(ffi_trampoline)).
|
Revision tags: php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9 |
|
#
e047e9d8 |
| 26-Aug-2019 |
Christoph M. Becker |
Add ext/ffi stubs
|
Revision tags: php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8 |
|
#
1ed9ebde |
| 26-Jul-2019 |
Christoph M. Becker |
Support calling convention specific function name mangling On Windows certain calling conventions cause C function names to be mangled, so to import them we have to use the properly mang
Support calling convention specific function name mangling On Windows certain calling conventions cause C function names to be mangled, so to import them we have to use the properly mangled names.
show more ...
|
Revision tags: php-7.4.0beta1 |
|
#
81fd1c52 |
| 19-Jul-2019 |
Peter Kokot |
Fix typos in FFI Closes GH-4438
|
Revision tags: php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3, php-7.3.7, php-7.2.20 |
|
#
0f3ca15b |
| 25-Jun-2019 |
Nikita Popov |
FFI: Perform bitfield operations byte-wise Otherwise we may perform reads/writes outside the allocation, as already happens in 032.phpt.
|
Revision tags: php-7.4.0alpha2 |
|
#
f127d77e |
| 20-Jun-2019 |
Nikita Popov |
FFI: Use signed arithmetic for pointer offset offset can be negative here, using signed arithmetic avoids ubsan warnings.
|
Revision tags: php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2 |
|
#
eda916cc |
| 17-Jun-2019 |
Dmitry Stogov |
Avoid uninitilized field access
|
#
1e0b0467 |
| 17-Jun-2019 |
Dmitry Stogov |
Fixed memory leaks in ext/ffi/tests/100.phpt on Mac OSX
|
Revision tags: php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1 |
|
#
45a0656e |
| 29-May-2019 |
Nikita Popov |
Remove get() object handler Now that set() is gone, there is little point in keeping get(), as it is essentially just a different way of writing cast_object() now. Closes GH
Remove get() object handler Now that set() is gone, there is little point in keeping get(), as it is essentially just a different way of writing cast_object() now. Closes GH-4202.
show more ...
|
Revision tags: php-7.2.19 |
|
#
83804519 |
| 28-May-2019 |
Dmitry Stogov |
Replace ZVAL_COPY() and ZVAL_COPY_VALUE() for IS_OBJECT by cheaper macros
|
#
6738241a |
| 28-May-2019 |
Dmitry Stogov |
Avoid usage of internal get/set object handlers. They are going to be removed in PHP-8. Scalar FFI values now should be accessed through special "cdata" property. $x = FFI::new("int"
Avoid usage of internal get/set object handlers. They are going to be removed in PHP-8. Scalar FFI values now should be accessed through special "cdata" property. $x = FFI::new("int"); $x = 42; should be changed into $x = FFI::new("int"); $x->cdata = 42;
show more ...
|
Revision tags: php-7.3.6, php-7.1.30, php-7.2.19RC1, php-7.3.6RC1 |
|
#
49de3ce3 |
| 13-May-2019 |
Dmitry Stogov |
Check for supported libffi ABI
|
#
645ebcdf |
| 07-May-2019 |
Nikita Popov |
Avoid some maybe uninitialized warnings in ffi All false positives.
|
#
426bcdf0 |
| 05-May-2019 |
Peter Kokot |
Fix double incremenation in ffi This removes the warning of: `incremented both in the loop header and in the loop body` in the compilation step.
|
#
30409d67 |
| 05-May-2019 |
Christoph M. Becker |
Properly initialize variable Not all code paths assign to `handle`, even though it may be used, so we make sure that it is initialized to a sane value in the first place.
|
#
a760c79f |
| 05-May-2019 |
Christoph M. Becker |
Fix typo
|
Revision tags: php-7.1.29, php-7.2.18, php-7.3.5, php-7.2.18RC1, php-7.3.5RC1 |
|
#
a5e86d82 |
| 09-Apr-2019 |
Dmitry Stogov |
Fixed ext/ffi/tests/044.phpt failure on 32-bit Linux
|
Revision tags: php-7.2.17, php-7.3.4, php-7.1.28 |
|
#
039500ad |
| 30-Mar-2019 |
Anatol Belski |
Fix handling and extend ext/ffi/tests/044.phpt
|
#
61ad294f |
| 29-Mar-2019 |
Dmitry Stogov |
Partial support for GCC mode attribute.
|
#
a2b39aa0 |
| 29-Mar-2019 |
Dmitry Stogov |
Fixed memory leaks
|
#
24fa2008 |
| 29-Mar-2019 |
Dmitry Stogov |
Allow usage of incomplete types for external variables, function parameters and return values
|
#
745dd94e |
| 28-Mar-2019 |
Dmitry Stogov |
Added support for more GCC extensions: attributes, __extension__, __asm__ (ignored)
|
#
adf930c0 |
| 28-Mar-2019 |
Dmitry Stogov |
Ignore "__format__" attribute
|
#
94e3db64 |
| 28-Mar-2019 |
Dmitry Stogov |
Allow incomplete array variables - extern const char * const sys_errlist[]
|
#
a3e52afe |
| 28-Mar-2019 |
Dmitry Stogov |
Fixed bug #77768 (FFI: Builtin Types Should Not Raise Error On Redeclaration)
|