Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 70ea259c | 2021-03-23 19:03:45 | Search $LIBFFI_TMPDIR also (#605) Most temp file directories need to be hardened against execution, but libffi needs execute privileges. Add a libffi-specific temp directory that can be set up by sysadmins as needed with suitable permissions. This both ensures that libffi will have a valid temp directory to use as well as preventing attempts to access other directories. | ||
| 205cf01b | 2021-03-23 11:31:08 | Bug #680. Don't accept floats or small ints as var args. (#628) * Bug #680. Don't accept floats or small ints as var args. * Bug #680. Don't accept floats or small ints as var args. * Bug #680. Don't accept floats or small ints as var args. | ||
| 8e3935fa | 2019-11-22 12:42:26 | Manual clean-ups, and include the PDF in the source distribution. | ||
| 6caabd19 | 2017-02-26 15:06:53 | Correct typos in libffi.texi One "it's" should be "its", and one "is" should be "in". | ||
| e247b562 | 2016-08-15 17:34:37 | doc: fix typo Name of last argument to ffi_get_struct_offsets is `offsets`, not `sizes` Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> | ||
| 38a4d72c | 2015-11-17 21:18:20 | add ffi_get_struct_offsets | ||
| e7c713a0 | 2016-02-20 06:40:03 | Merge pull request #214 from tromey/document-enum-support document (lack of) enum handling in libffi | ||
| bc4fc07a | 2015-12-21 00:37:06 | Fixed #181 -- Corrected problems with ARMv7 build under iOS. Based on a patch from @fealebenpae, with input from @SolaWing and @rth7680, and testing from @superdump. | ||
| 6affad79 | 2015-12-17 16:58:10 | correctly document closure return promotion | ||
| 8a7cdeb0 | 2015-12-17 16:51:32 | fix formatting of ffi_prep_closure_loc arguments | ||
| f45e9e35 | 2015-11-19 15:21:14 | document (lack of) enum handling in libffi | ||
| 88deacdd | 2015-11-15 08:39:17 | speling fix | ||
| 473bcbca | 2015-11-07 12:01:06 | documentation fixes Fixes #78. Documentation for #33 and #35, but no fix. | ||
| e9de7e35 | 2015-10-11 10:54:50 | Merge pull request #202 from tromey/note-prep-cif-var-usage document that there must be ntotalargs types | ||
| 0ebde2d2 | 2015-10-06 11:42:43 | document that there must be ntotalargs types | ||
| 36f3fb91 | 2015-10-05 10:20:05 | Add missing "@" to @var{} | ||
| db1b34b7 | 2015-01-28 18:08:06 | Remove incomplete sentence | ||
| 6e8a4460 | 2014-09-20 06:21:19 | 2014-07-22 Dominik Vogt <vogt@linux.vnet.ibm.com> * src/types.c (FFI_TYPEDEF, FFI_NONCONST_TYPEDEF): Merge the macros by adding another argument that controls whether the result is const or not (FFI_LDBL_CONST): Temporary macro to reduce ifdef confusion * src/prep_cif.c (ffi_prep_cif_core): Replace list of systems with new macro FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION * src/pa/ffitarget.h (FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION): Define. * src/s390/ffitarget.h (FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION): Define. * src/x86/ffitarget.h (FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION): Define. 2014-07-22 Dominik Vogt <vogt@linux.vnet.ibm.com> * doc/libffi.texi (Primitive Types): Document ffi_type_complex_float, ffi_type_complex_double and ffi_type_complex_longdouble (Complex Types): New subsection. (Complex Type Example): Ditto. * testsuite/libffi.call/cls_align_complex_double.c: New FFI_TYPE_COMPLEX test. * testsuite/libffi.call/cls_align_complex_float.c: Ditto. * testsuite/libffi.call/cls_align_complex_longdouble.c: Ditto. * testsuite/libffi.call/cls_complex_double.c: Ditto. * testsuite/libffi.call/cls_complex_float.c: Ditto. * testsuite/libffi.call/cls_complex_longdouble.c: Ditto. * testsuite/libffi.call/cls_complex_struct_double.c: Ditto. * testsuite/libffi.call/cls_complex_struct_float.c: Ditto. * testsuite/libffi.call/cls_complex_struct_longdouble.c: Ditto. * testsuite/libffi.call/cls_complex_va_double.c: Ditto. * testsuite/libffi.call/cls_complex_va_float.c: Ditto. * testsuite/libffi.call/cls_complex_va_longdouble.c: Ditto. * testsuite/libffi.call/complex_double.c: Ditto. * testsuite/libffi.call/complex_defs_double.c: Ditto. * testsuite/libffi.call/complex_float.c: Ditto. * testsuite/libffi.call/complex_defs_float.c: Ditto. * testsuite/libffi.call/complex_longdouble.c: Ditto. * testsuite/libffi.call/complex_defs_longdouble.c: Ditto. * testsuite/libffi.call/complex_int.c: Ditto. * testsuite/libffi.call/many_complex_double.c: Ditto. * testsuite/libffi.call/many_complex_float.c: Ditto. * testsuite/libffi.call/many_complex_longdouble.c: Ditto. * testsuite/libffi.call/return_complex1_double.c: Ditto. * testsuite/libffi.call/return_complex1_float.c: Ditto. * testsuite/libffi.call/return_complex1_longdouble.c: Ditto. * testsuite/libffi.call/return_complex2_double.c: Ditto. * testsuite/libffi.call/return_complex2_float.c: Ditto. * testsuite/libffi.call/return_complex2_longdouble.c: Ditto. * testsuite/libffi.call/return_complex_double.c: Ditto. * testsuite/libffi.call/return_complex_float.c: Ditto. * testsuite/libffi.call/return_complex_longdouble.c: Ditto. * src/raw_api.c (ffi_raw_to_ptrarray): Handle FFI_TYPE_COMPLEX (ffi_ptrarray_to_raw): Ditto. * src/prep_cif.c (ffi_prep_cif_core): Abort if FFI_TYPE_COMPLEX is not implemented in libffi for the target. * src/java_raw_api.c (ffi_java_raw_size): FFI_TYPE_COMPLEX not supported yet (abort). (ffi_java_raw_to_ptrarray): Ditto. (ffi_java_rvalue_to_raw): Ditto. (ffi_java_raw_to_rvalue): Ditto. * src/debug.c (ffi_type_test): Add debug tests for complex types. * include/ffi.h.in (FFI_TYPE_COMPLEX): Add new FFI_TYPE_COMPLEX. (FFI_TYPE_LAST): Bump. (ffi_type_complex_float): Add new ffi_type_.... (ffi_type_complex_double): Ditto. (ffi_type_complex_longdouble): Ditto. 2014-07-22 Dominik Vogt <vogt@linux.vnet.ibm.com> * src/s390/ffitarget.h (FFI_TARGET_HAS_COMPLEX_TYPE): Define to provide FFI_TYPE_COMPLEX support. * src/s390/ffi.c (ffi_check_struct_type): Implement FFI_TYPE_COMPLEX (ffi_prep_args): Ditto. (ffi_prep_cif_machdep): Ditto. (ffi_closure_helper_SYSV): Ditto. | ||
| 2349fec9 | 2014-03-05 17:53:02 | Fix typo in doc | ||
| 31257b31 | 2013-11-16 06:35:51 | Fix sample closure code | ||
| 58c2577a | 2013-11-13 16:55:36 | This enshrines the current testsuite practice of using ffi_arg for returned values. It would be reasonable and logical to use the actual return argument type as passed to ffi_prep_cif, but this would mean changing a large number of tests that use ffi_arg and all backends that write results to an ffi_arg. | ||
| cf6bf981 | 2013-11-02 17:23:59 | Fix up docs | ||
| 675c9839 | 2013-03-16 08:12:38 | Documentation fix | ||
| 4f17e1f1 | 2011-11-12 17:22:24 | Fix last patch | ||
| ff9454da | 2011-11-12 17:18:51 | Add David Gilbert's variadic function call support | ||
| 10ea8489 | 2010-08-05 08:24:27 | don't copy win64 struct args | ||
| 9dc9a293 | 2010-04-13 10:33:52 | Rebase to latest GCC sources | ||
| edfdfd2e | 2010-01-13 02:56:19 | Add closure example doc | ||
| 115ab36f | 2009-12-24 00:22:00 | Update missing changes for 3.0.9r4. | ||
| c6dddbd0 | 2009-10-04 08:11:33 | Initial commit |