Implement ideviceinfo in cpp

This commit is contained in:
Jackson Coxson
2025-08-14 18:07:56 -06:00
parent f152f18f8e
commit c607909beb
5 changed files with 55 additions and 2 deletions

View File

@@ -179,7 +179,7 @@ pub unsafe extern "C" fn lockdownd_get_value(
domain: *const libc::c_char,
out_plist: *mut plist_t,
) -> *mut IdeviceFfiError {
if key.is_null() || out_plist.is_null() {
if out_plist.is_null() {
return ffi_err!(IdeviceError::FfiInvalidArg);
}