Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| e5f0eb15 | 2019-10-08 06:58:52 | Clean up line endings (#509) The CLRF visual studio files can be kept that way, but recognized as text. The assembly file can be converted to LF. | ||
| c2a68590 | 2019-08-07 11:57:45 | fix mingw build and crashing bugs for Python Windows ARM64 (#496) * fix mingw build and crashing bugs for Python Windows ARM64 * Fix issues found in PR review | ||
| d856743e | 2019-06-26 07:31:22 | libffi: added ARM64 support for Windows (#486) * libffi: added ARM64 support for Windows 1. ported sysv.S to win64_armasm.S for armasm64 assembler 2. added msvc_build folder for visual studio solution 3. updated README.md for the same 4. MSVC solution created with the changes, and below test suites are tested with test script written in python. libffi.bhaible libffi.call 5. Basic functionality of above test suites are getting passed Signed-off-by: ossdev07 <ossdev@puresoftware.com> * Update README.md | ||
| a7d6396f | 2019-03-29 14:19:20 | fix check for Linux/aarch64 fixes #473 | ||
| 05a17964 | 2019-02-19 04:11:28 | Cleanup symbol exports on darwin and add architecture preprocessor checks to assist in building fat binaries (eg: i386+x86_64 on macOS or arm+aarch64 on iOS) (#450) * x86: Ensure _efi64 suffixed symbols are not exported * x86: Ensure we do not export ffi_prep_cif_machdep Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> * x86: Ensure we don't export ffi_call_win64, ffi_closure_win64, or ffi_go_closure_win64 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> * closures: Silence a semantic warning libffi/src/closures.c:175:23: This function declaration is not a prototype Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> * aarch64: Ensure we don't export ffi_prep_cif_machdep Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> * arm: Ensure we don't export ffi_prep_cif_machdep Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> * aarch64, arm, x86: Add architecture preprocessor checks to support easier fat builds (eg: iOS) Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> * x86: Silence some static analysis warnings libffi/src/x86/ffi64.c:286:21: The left operand of '!=' is a garbage value due to array index out of bounds libffi/src/x86/ffi64.c:297:22: The left operand of '!=' is a garbage value due to array index out of bounds Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> * aarch: Use FFI_HIDDEN rather than .hidden Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> * ffi.h: Don't advertise ffi_java_rvalue_to_raw, ffi_prep_java_raw_closure, and ffi_prep_java_raw_closure_loc when FFI_NATIVE_RAW_API is 0 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> | ||
| 44a6c285 | 2019-02-19 12:55:11 | aarch64: Flush code mapping in addition to data mapping (#471) This needs a new function, ffi_data_to_code_pointer, to translate from data pointers to code pointers. Fixes issue #470. | ||
| 4a84df4a | 2018-10-31 15:53:54 | Fix Q registers parameter passing on ARM64 The second two quads are located at offset 32 not 16 | ||
| b5ee3957 | 2018-05-05 07:41:53 | Revert "Remove some symbol exports and cleanup newline warnings (#433)" This reverts commit a5a0f3cf36dfb4d64316414a872288c3170e6c1d. | ||
| a5a0f3cf | 2018-05-05 03:44:33 | Remove some symbol exports and cleanup newline warnings (#433) * build: Ensure darwin generated sources end with a new line Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org> * build: Use .private_extern where missing to prevent exporting symbols that are not API Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org> | ||
| e66fd678 | 2018-02-20 10:47:09 | Revert "Fix passing struct by value on aarch64" This reverts commit 482b37f00467325e3389bab322525099860dd9aa. That was actually a bug in python, see <https://bugs.python.org/issue30353>. | ||
| 482b37f0 | 2017-09-18 12:44:08 | Fix passing struct by value on aarch64 This fixes the ctypes test in the python testsuite. | ||
| 1fb788ac | 2017-10-10 11:37:00 | aarch64: fix index base register for AArch64 The base is passed in `x3`, not in `x2`. This fixes the indexing base so that the right value is used. | ||
| 181fc4cc | 2017-10-23 15:02:29 | Merge branch 'master' based on ksjogo/libffi Added a tvOS target in Xcode project. Misc Xcode project cleanup. Fix macOS build target in Xcode project. # Conflicts: # src/aarch64/ffi.c # src/x86/ffi64.c | ||
| 02a5145a | 2017-09-27 21:43:03 | Merge pull request #263 from ksjogo/master fix ios builds | ||
| a78da739 | 2017-09-04 15:55:34 | Fix macOS build target in Xcode project. - Add missing files for desktop platforms in generate-darwin-source-and-headers.py, and in the Xcode project. - Add a static library target for macOS. - Fix "implicit conversion loses integer precision" warnings for iOS mad macOS targets. | ||
| bd72848c | 2017-04-27 13:20:36 | Prefix ALIGN macros with FFI_ | ||
| 00406945 | 2016-07-12 16:08:42 | Update Xcodeproj Include all currently relevent files. Call autogen is build script. Fix compiler settings. Fix mach include. | ||
| 06d7c519 | 2016-08-10 15:06:16 | Merge pull request #269 from frida/fix/aarch64-variadic-closures-on-ios aarch64: Fix handling of variadic closures on iOS | ||
| aa7ed78c | 2016-08-10 15:03:37 | Merge pull request #268 from frida/fix/aarch64-large-aggregates aarch64: Fix handling of aggregates larger than 16 bytes | ||
| 4da814b1 | 2016-08-10 22:48:09 | aarch64: Fix handling of aggregates larger than 16 bytes Instead of allocating stack space for a pointer we would allocate stack space for the actual aggregate size. | ||
| 5e9ac7e2 | 2016-08-10 15:22:19 | aarch64: Fix warning about unused function on iOS | ||
| 4d1f11f6 | 2016-08-10 15:21:42 | aarch64: Fix operand size warning reported by Clang | ||
| 301166b1 | 2016-08-10 15:59:56 | aarch64: Fix handling of variadic closures on iOS | ||
| d76975db | 2016-03-16 12:23:07 | Define FFI_SIZEOF_JAVA_RAW for aarch64 ILP32 Like x32, aarch64 ILP32 needs to define FFI_SIZEOF_JAVA_RAW. This fixes the java interpreter. | ||
| 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. | ||
| 95df3791 | 2015-02-11 08:31:48 | aarch64: Handle ILP32 ABI | ||
| 53636634 | 2015-01-16 15:19:38 | aarch64: implement the trampoline table workaround for ffi closures on Apple systems This is a direct copy/paste port of the ARM code, with changes because of Aarch64 pc-relative addressing restrictions. | ||
| 05e65b4e | 2015-01-16 15:18:04 | aarch64: rewrite range syntax into list to appease Clang Clang's assembler in Xcode 6 appears to choke when the operand of st4 is a range, but is happy with a list. | ||
| 9ae3bc87 | 2014-12-06 23:58:41 | Fix for https://github.com/atgreen/libffi/issues/141 | ||
| 20562ac0 | 2014-11-12 07:00:59 | Fix for AArch64. Release as 3.2.1. | ||
| c6352b66 | 2014-10-23 00:26:14 | aarch64: Add support for Go closures | ||
| 0e41c73b | 2014-10-22 23:48:12 | aarch64: Move x8 out of call_context Reduces stack size. It was only used by the closure, and there are available argument registers. | ||
| a992f878 | 2014-10-22 22:58:09 | aarch64: Add support for complex types | ||
| 658b2b56 | 2014-10-22 22:36:07 | aarch64: Remove aarch64_flags This field was useless from the start, since the normal flags field is available for backend use. | ||
| 4a3cbcaa | 2014-10-22 22:32:13 | aarch64: Unify scalar fp and hfa handling Since an HFA of a single element is exactly the same as scalar, this tidies things up a bit. | ||
| 12cf89ee | 2014-10-22 21:53:30 | aarch64: Move return value handling into ffi_closure_SYSV As with the change to ffi_call_SYSV, this avoids copying data into a temporary buffer. | ||
| 4fe1aea1 | 2014-10-22 17:06:19 | aarch64: Move return value handling into ffi_call_SYSV This lets us pass return data directly to the caller of ffi_call in most cases, rather than storing it into temporary storage first. | ||
| 325471ea | 2014-10-22 13:58:59 | aarch64: Merge prep_args with ffi_call Use the trick to allocate the stack frame for ffi_call_SYSV within ffi_call itself. | ||
| 8c8161cb | 2014-10-22 12:52:07 | aarch64: Tidy up abi manipulation Avoid false abstraction, like get_x_addr. Avoid recomputing data about the type being manipulated. Use NEON insns for HFA manipulation. Note that some of the inline assembly will go away in a subsequent patch. | ||
| b55e0366 | 2014-10-22 12:33:59 | aarch64: Treat void return as not passed in registers This lets us do less post-processing when there's no return value. | ||
| 2e32f9bf | 2014-10-21 22:49:05 | aarch64: Use correct return registers There are fewer return registers than argument registers. | ||
| 95a04af1 | 2014-10-21 22:41:07 | aarch64: Reduce the size of register_context We don't need to store 32 general and vector registers. Only 8 of each are used for parameter passing. | ||
| 77c4cddc | 2014-10-21 13:30:40 | aarch64: Simplify AARCH64_STACK_ALIGN The iOS abi doesn't require padding between arguments, but that's not what AARCH64_STACK_ALIGN meant. The hardware will in fact trap if the SP register is not 16 byte aligned. | ||
| b5f147d8 | 2014-10-21 13:27:57 | aarch64: Always distinguish LONGDOUBLE Avoid if-deffery by forcing FFI_TYPE_LONGDOUBLE different from FFI_TYPE_DOUBLE. This will simply be unused on hosts that define them identically. | ||
| 38b54b9c | 2014-10-21 13:17:39 | aarch64: Improve is_hfa The set of functions get_homogeneous_type, element_count, and is_hfa are all intertwined and recompute data. Return a compound quantity from is_hfa that contains all the data and avoids the recomputation. | ||
| 18b74ce5 | 2014-10-21 13:00:34 | aarch64: Fix non-apple compilation | ||
| 862f53de | 2014-09-18 19:06:08 | Merge pull request #130 from frida/fix/darwin-aarch64-float-alignment Fix alignment of FFI_TYPE_FLOAT for Apple's ARM64 ABI | ||
| aebf2c30 | 2014-07-25 21:40:50 | Fix alignment of FFI_TYPE_FLOAT for Apple's ARM64 ABI | ||
| 0f4e09d2 | 2014-07-26 00:11:06 | Fix non-variadic CIF initialization for Apple/ARM64 Turns out `aarch64_nfixedargs` wasn't initialized in the non-variadic case, resulting in undefined behavior when allocating arguments. | ||
| 8fa28123 | 2014-04-12 19:32:08 | Merge pull request #116 from frida/fix/darwin-aarch64-variadic Fix handling of variadic calls on Darwin/AArch64 | ||
| 419503f4 | 2014-04-06 20:54:13 | Fix handling of variadic calls on Darwin/AArch64 | ||
| a539f7ff | 2014-04-06 20:53:02 | Fix alignment of AArch64 assembler functions | ||
| 49f7729c | 2014-02-28 00:17:16 | aarch64 fix | ||
| b4df9cf9 | 2014-02-05 14:22:52 | AArch64: Fix void fall-through case when assertions are enabled | ||
| f466aad0 | 2014-01-21 16:38:31 | AArch64: Fix missing semicolons when assertions are enabled | ||
| 0a0f12ce | 2014-01-09 13:50:17 | AArch64: Remove duplicitous element_count call. This inhibits an analyzer warning by Clang. | ||
| 4330fdcd | 2014-01-09 13:53:30 | Darwin/aarch64: Respect iOS ABI re: stack argument alignment | ||
| 0a333d6c | 2014-01-09 14:03:29 | Darwin/aarch64: Fix size_t assumptions | ||
| 1b8a8e20 | 2014-01-09 13:55:21 | Darwin/aarch64: Use Clang cache invalidation builtin | ||
| 2c18e3c7 | 2013-12-30 16:14:02 | Darwin/aarch64: Fix "shadows declaration" warnings | ||
| 6030cdca | 2013-12-30 15:45:51 | Darwin/aarch64: Account for long double being equal to double | ||
| 5658b089 | 2013-12-30 16:33:47 | Darwin/aarch64: Use CNAME, restrict .size like ARM | ||
| 07175780 | 2013-12-30 17:48:22 | Darwin/aarch64: Fix invalid reference in assembly | ||
| 5bfe62a0 | 2014-01-09 13:41:27 | Darwin/AArch64: Inhibit Clang previous prototype warnings | ||
| 3dc3f32c | 2013-12-05 16:23:25 | Undo iOS ARM64 changes. | ||
| 0278284e | 2013-11-30 03:03:37 | Darwin/aarch64: size_t assumptions | ||
| 9775446b | 2013-11-30 02:39:34 | Darwin/aarch64: Fix “shadows declaration” warnings | ||
| 4260badc | 2013-11-30 02:08:14 | Darwin/aarch64: Use Clang cache invalidation builtin | ||
| 9fa7998d | 2013-11-30 02:07:48 | Darwin/aarch64: Inhibit Xcode warning | ||
| 0e832048 | 2013-11-30 02:07:34 | Darwin/aarch64: double == long double | ||
| b513dfe7 | 2013-11-30 02:05:22 | Darwin/aarch64: Restrict .size to ELF like arm32. | ||
| bc978099 | 2013-11-30 02:04:57 | Darwin/aarch64: Potentially(?) fix compile error | ||
| d6bb9314 | 2013-11-30 02:04:22 | Darwin/aarch64: Use CNAME refs | ||
| 128cd1d2 | 2013-10-08 06:45:51 | Fix spelling errors | ||
| 58e8b66f | 2012-10-30 07:07:19 | AArch64 port | ||
| fa5d7479 | 2012-10-30 07:07:19 | AArch64 port |