Commit Graph

474 Commits

Author SHA1 Message Date
Lorenzo Rizzotti
c0ec9b4bcd Add vectored IO to avoid userspace vec copy (#38) 2025-11-27 11:06:08 -07:00
Abdullah Al-Banna
c1bc887fd4 Raise the AFC max transfer to 1MB (#39)
Signed-off-by: Abdullah Al-Banna <abdu.albanna@proton.me>
2025-11-27 10:49:26 -07:00
Jackson Coxson
761cb06418 Bump version 2025-11-17 12:55:30 -07:00
Jackson Coxson
db4547e0da Warn if legacy compiled with rustls 2025-11-17 12:44:32 -07:00
Jackson Coxson
59c3c3a12c Add legacy argument to cpp start_session 2025-11-17 12:42:29 -07:00
Jackson Coxson
f11a1bafff Enable SSL on iOS < 5 2025-11-17 12:27:45 -07:00
Jackson Coxson
c9ca113239 Merge branch 'master' into openssl 2025-11-17 11:01:54 -07:00
Jackson Coxson
08d6b41536 Add debug derives for all possible structures 2025-11-15 12:01:10 -07:00
Jackson Coxson
db894120da Add OpenSSL dependency 2025-11-15 11:45:34 -07:00
Jackson Coxson
13c5b48b1c Add ns keyed archive dep to core_device services 2025-11-10 13:33:54 -07:00
Jackson Coxson
e31f39eac0 Clean Rust 1.90 clippy warnings 2025-11-10 13:32:49 -07:00
Jackson Coxson
fbdc290d88 Remove device_id argument for usbmuxd save pair record 2025-11-10 11:16:40 -07:00
Jackson Coxson
247acb192d Bump version 2025-11-07 16:12:47 -07:00
Jackson Coxson
d15c255524 Add futures dependency for usbmuxd 2025-11-07 16:12:28 -07:00
Jackson Coxson
c8e5f52ccd Bump version 2025-11-07 12:13:30 -07:00
Jackson Coxson
6d4bd7e853 Add rlib to ffi build kind 2025-11-06 14:44:41 -07:00
Jackson Coxson
4fa46e4c54 chore: Changed the macOS deployment target to 10.12 (#34)
Co-authored-by: macmade <macmade@xs-labs.com>
2025-11-05 07:28:18 -07:00
Abdullah Al-Banna
b26dd17b13 impl tokio's AsyncRead/Write/Seek for AFC FileDescriptor (#33)
* AsyncWrite/Read/Seek

* clean up

* use only one field to store the future

This struct should not be shared across threads because simultaneous
operations
like reading, writing, or seeking could lead to data races or
inconsistent state, because the cursor moves.

Only one operation will ever run at a time, which allows us to safely
store
different types of pending operations (read, write, or seek) in the same
field.

* consume self without mut when closing

* clippy

* Add inner_file safety tests

* more tests

---------

Co-authored-by: Jackson Coxson <jkcoxson@gmail.com>
2025-10-28 07:57:35 -06:00
Jackson Coxson
105a9b2837 Fix VS solution for idevice++ 2025-10-23 13:10:51 -06:00
Jackson Coxson
7da735f141 Rewrite async runtime handling and port to tracing 2025-10-23 12:29:59 -06:00
Jackson Coxson
7527cdff7b Log in the screenshot cpp example 2025-10-23 12:29:36 -06:00
Jackson Coxson
ec4663e93d Qualify unix from_raw_fd call in FFI 2025-10-23 10:10:07 -06:00
Jackson Coxson
20f00e38dd Idevice::from_fd only on unix 2025-10-23 09:52:51 -06:00
Jackson Coxson
a297eed156 Replace log crate with tracing 2025-10-23 09:49:38 -06:00
Jackson Coxson
18b8b7295c Set FFI error message to formatted error string 2025-10-22 10:27:13 -06:00
Jackson Coxson
0ccec70ed8 Implement creating an Idevice with a file descriptor 2025-10-22 10:26:57 -06:00
Jackson Coxson
7805f943af Update the C++ idevice.h header on build 2025-10-22 10:26:25 -06:00
Jackson Coxson
5ed2144d9e Add adapter_close to stop TCP stack 2025-10-22 10:26:13 -06:00
Jackson Coxson
dd2db92967 Update Xcode solution 2025-10-21 11:12:13 -06:00
Jackson Coxson
94624f07af Rename screenshot_clear to screenshot_take_screenshot in FFI 2025-10-21 09:16:47 -06:00
Jackson Coxson
a7daac3a46 Add DVT screenshot bindings 2025-10-21 08:47:07 -06:00
Jackson Coxson
779db7ecec Print which screenshot protocol is being used in tool 2025-10-20 10:51:52 -06:00
Jackson Coxson
c10f4da9f1 Add missing usbmuxd FFI methods 2025-10-18 22:10:14 -06:00
Jackson Coxson
ea61459df2 Support usbmuxd's 1C network type 2025-10-18 21:26:55 -06:00
Jackson Coxson
cf7c92f8ad Fix usbmuxd windows build 2025-10-18 18:42:36 -06:00
Jackson Coxson
2ffeb0f25c Add listen command to usbmuxd connection 2025-10-18 18:10:53 -06:00
Jackson Coxson
aff3ef589f Bump version
a
2025-10-18 11:49:25 -06:00
Jackson Coxson
11c8f98b4f Add read_with_callback to AFC 2025-10-18 11:16:41 -06:00
Jackson Coxson
ef14b7669d Bump version 2025-10-18 00:15:51 -06:00
Jackson Coxson
0490c246be Add AFC write_with_callback 2025-10-18 00:15:32 -06:00
Jackson Coxson
9a656a2a0e Bump dependencies 2025-10-17 16:06:11 -06:00
Jackson Coxson
87ad894875 Remove unneeded lockdown structure 2025-10-17 15:50:51 -06:00
Jackson Coxson
7853f2d6d0 Initial implementation of installcoordination_proxy 2025-10-16 12:10:14 -06:00
Jackson Coxson
526773d8ca Implemement missing null type and reply flag for XPC 2025-10-16 11:57:16 -06:00
Jackson Coxson
eb37facd04 Implement XPC macro 2025-10-16 11:00:12 -06:00
Jackson Coxson
b897c3a126 Remove MacOS only headers from idevice++ src 2025-10-15 12:22:32 -06:00
Jackson Coxson
fb3043b3e0 Update FFI examples to current idevice 2025-10-15 12:15:31 -06:00
Jackson Coxson
b0f871af99 Log if h4 type is unknown 2025-10-14 10:53:05 -06:00
Jackson Coxson
7507b9609c Remove bt_packet_logger advisory check 2025-10-14 10:50:32 -06:00
Jackson Coxson
4710ffce34 Make plist macro public 2025-10-04 16:02:51 -06:00