Commit Graph

499 Commits

Author SHA1 Message Date
Jackson Coxson
96b380ebc9 Correctly parse DDI image lookup result 2026-01-05 06:42:56 -07:00
Jackson Coxson
189dd5caf2 Refactor idevice tools into single binary 2026-01-03 16:58:36 -07:00
Jackson Coxson
2eebbff172 Bump reqwest 2026-01-03 16:58:36 -07:00
Jackson Coxson
166c497878 Implement seek and tell for AFC (#42) 2026-01-03 16:37:55 -07:00
Jackson Coxson
6d9f0987c1 Migrate to plist_macro crate for utils 2025-12-31 21:21:37 -07:00
Jackson Coxson
081cb2f8d8 Bump version 2025-12-28 19:33:59 -07:00
Jackson Coxson
35c3d61355 Make escrow bag an optional pairing file field 2025-12-23 08:18:41 -07:00
Jackson Coxson
328224d46c cargo fmt 2025-12-22 12:26:43 -07:00
alexytomi
d8bff83753 Fix failure to compile to 32-bit (#49) 2025-12-21 09:20:24 -07:00
se2crid
ae5071a309 Include ErrorDescription in unknown device errors (#46)
* Include ErrorDescription in unknown device errors

* Remove unused error import from tracing
2025-12-20 13:31:30 -07:00
Abdullah Al-Banna
83e43aa3d6 add the futures dep for the afc feature (#48) 2025-12-20 13:30:26 -07:00
uncor3
2a6631f3da fix offline build (#47) 2025-12-19 21:10:42 -07:00
Jackson Coxson
e3c12ddf98 Remove provider free from mounter FFI example 2025-12-13 13:08:42 -07:00
Jackson Coxson
44e8b83698 Free data with underlying vec with vec recreation 2025-12-13 13:08:33 -07:00
Jackson Coxson
9776516544 Free the outer slice in C++ usbmuxd::get_devices 2025-12-13 12:34:41 -07:00
Jackson Coxson
080fea02eb Take ownership of socket in rsd_handshake_new FFI 2025-12-13 11:41:43 -07:00
Jackson Coxson
39d454d77d Add function to free arbitrary stream handle 2025-12-13 11:41:33 -07:00
Jackson Coxson
a3dcac93b2 Add plist_array_free helper function to FFI
a

b
2025-12-13 11:09:41 -07:00
Jackson Coxson
d2375e8f5c Convert plist array into boxed slice for installation_proxy get_apps FFI 2025-12-13 10:32:51 -07:00
Abdullah Al-Banna
9e8abb7d37 open an owned file in AFC (#44)
* ability to open an owned file

Signed-off-by: Abdullah Al-Banna <abdu.albanna@proton.me>

* get the inner afc of an owned file without closing the file

Signed-off-by: Abdullah Al-Banna <abdu.albanna@proton.me>

---------

Signed-off-by: Abdullah Al-Banna <abdu.albanna@proton.me>
2025-12-09 12:58:09 -07:00
Jackson Coxson
c60f0d102b Replace std fs dl callbacks with async tokio 2025-12-01 12:51:03 -07:00
Abdullah Al-Banna
5f1e03911f get and create a FileDescriptor from the fd (#43) 2025-11-30 09:43:28 -07:00
Jackson Coxson
c1b7009a7b Create diagnostics_relay bindings 2025-11-28 22:46:11 -07:00
Jackson Coxson
a708db6307 Bump version 2025-11-27 11:12:39 -07:00
Ylarod
c432627659 tools: add iproxy (#37)
* tools: add iproxy

* cargofmt and clippy cleanup

---------

Co-authored-by: Jackson Coxson <jkcoxson@gmail.com>
2025-11-27 11:11:06 -07:00
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