MCPcopy Create free account

hub / github.com/Lakr233/vphone-cli / functions

Functions1,296 in github.com/Lakr233/vphone-cli

MethodpatchContainerManagerUpcall
()
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchContainerUpcall.swift:43
MethodpatchConvertPortToMap
Skip kernel-map panic in _convert_port_to_map_with_flavor.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchPortToMap.swift:13
MethodpatchCredLabelUpdateExecve
C21-v3 split exits + helper bits for _cred_label_update_execve.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchCredLabel.swift:31
MethodpatchDGSTBypass
()
sources/FirmwarePatcher/AVPBooter/AVPBooterPatcher.swift:70
MethodpatchDebugger
Patches 6-7: stub _PE_i_can_has_debugger with mov x0,#1; ret. Three strategies in priority order: 1. Symbol table lookup via LC_SYMTAB nlist64 entrie
sources/FirmwarePatcher/Kernel/Patches/KernelPatchDebugger.swift:17
MethodpatchDebuggerEntitlementForceTrue
Force debugger entitlement check to return true (BL → mov w0, #1). Pattern (at BL site): [scan-8] mov x0, #0 [scan-4] mov x2, #0 [scan+0] bl <entitl
sources/FirmwarePatcher/TXM/TXMDevPatcher.swift:442
MethodpatchDeveloperModeBypass
Developer-mode bypass: NOP conditional guard before deny log path. Finds `tbz/tbnz/cbz/cbnz w9, #0, <...>` just before the "developer mode enabled du
sources/FirmwarePatcher/TXM/TXMDevPatcher.swift:489
MethodpatchDiskImages2ClientAbi
Apply all DiskImages2 ABI pokes. Wired into KernelJBPatcher.findAll().
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchDiskImages2.swift:40
MethodpatchDiskImages2ConnectAbi
`DIDeviceIOUserClient::Connect` rejects a client whose daemon ABI (`cmp wN,#9 ; b.ne <reject>`) != 9. NOP the b.ne. Same shape, different function.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchDiskImages2.swift:66
MethodpatchDiskImages2CreateDeviceAbi
`DIDeviceCreatorUserClient::CreateDevice` rejects a client whose controller ABI (`cmp wN,#9 ; b.ne <reject>`) != 9. NOP the b.ne so the ABI-11 iOS-27
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchDiskImages2.swift:54
MethodpatchDiskImages2NotificationPortArray
Widen the notification-ports array allocation AND both bound-check fields to 0x800 entries, fixing the RegisterNotificationPort off-by-one (userland r
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchDiskImages2.swift:127
MethodpatchDounmount
NOP the upstream cleanup call in _dounmount.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchDounmount.swift:14
MethodpatchDyldPolicy
Patches 10–11: Replace two BL calls in _check_dyld_policy_internal with mov w0,#1.
sources/FirmwarePatcher/Kernel/Patches/KernelPatchDyldPolicy.swift:14
MethodpatchExcGuardBehavior
Disable Mach port guard violation enforcement (EXC_GUARD). Patches `thread_guard_violation` to return immediately, preventing all guard violations fr
sources/FirmwarePatcher/Kernel/Patches/KernelPatchExcGuard.swift:32
MethodpatchExecSecurityPolicyKill
()
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchExecPolicyKill.swift:34
MethodpatchFpfsScopedVnodeOpen
()
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchFpfsScopedOpen.swift:15
MethodpatchGetTaskAllowForceTrue
Force get-task-allow entitlement check to return true (BL → mov x0, #1).
sources/FirmwarePatcher/TXM/TXMDevPatcher.swift:314
MethodpatchHandleFsiocGraft
Patch 15: Replace the BL to `validate_payload_and_manifest` with `mov w0, #0` inside `_handle_fsioc_graft`.
sources/FirmwarePatcher/Kernel/Patches/KernelPatchApfsMount.swift:214
MethodpatchHandleGetDevByRoleEntitlement
Patch 16: NOP CBZ/CBNZ on X0/W0 that branch to entitlement-error blocks in `handle_get_dev_by_role`. Error blocks are identified by `mov w8, #0x332D`
sources/FirmwarePatcher/Kernel/Patches/KernelPatchApfsMount.swift:292
MethodpatchHvVmmRename
Apply Part A (OID rename) + Part B (kernel-internal caller byte-5 mangle). Returns true if any byte was modified.
sources/FirmwarePatcher/Kernel/EXPPatches/KernelEXPPatchHvVmmRename.swift:82
MethodpatchImage4Callback
Find the b.ne + mov x0, x22 pattern with a preceding cmp. Patch: b.ne → NOP, mov x0, x22 → mov x0, #0. Python: `patch_image4_callback()`
sources/FirmwarePatcher/IBoot/IBootPatcher.swift:259
MethodpatchIoSecureBsdRoot
Force SecureRootName policy return to success in AppleARMPE::callPlatformFunction.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSecureRoot.swift:22
MethodpatchIomfbSwapEndHandlerSize
The swap_submit handler has a SECOND, internal exact-size gate beyond the dispatch table's checkStructureInputSize: cmp w2, #0x588 ; b.ne <error> (w
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchIomfbSwap.swift:46
MethodpatchIomfbSwapEndVariableSize
()
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchIomfbSwap.swift:94
MethodpatchIoucFailedSandbox
()
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchIoucSandbox.swift:37
MethodpatchKcall10
ABI-correct kcall10 patch: install a sysent[439] cave.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchKcall10.swift:32
MethodpatchLaunchConstraints
Patches 4–5: Stub _proc_check_launch_constraints with `mov w0, #0; ret`. Returns true when both instructions are emitted, false on any failure.
sources/FirmwarePatcher/Kernel/Patches/KernelPatchLaunchConstraints.swift:26
MethodpatchLaunchdCacheLoader
(targetMount: String, cfwInput: URL)
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:180
MethodpatchLoadDylinker
Bypass the load_dylinker policy gate in the dyld path.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchLoadDylinker.swift:13
MethodpatchMacMount
Apply the upstream twin bypasses in the mount-role wrapper. Patches two sites in the wrapper that decides whether execution can continue into `mount_
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchMacMount.swift:20
MethodpatchMobileActivation
(targetMount: String, cfwInput: URL)
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:329
MethodpatchNullCheck0x78
Find `ldr xR, [xN, #0x78]; cbz xR` preceding the unique `mov w8, #0x110` and NOP the cbz. Python: `_patch_null_check_0x78()`
sources/FirmwarePatcher/IBoot/IBootPatcher.swift:533
MethodpatchNvramVerifyPermission
NOP the verifyPermission gate in the `krn.` key-prefix path. Runtime reveal is string-anchored only: enumerate code refs to `"krn."`, recover the con
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchNvram.swift:13
MethodpatchPanicBypass
Find `mov w8, #0x328; movk w8, #0x40, lsl #16; ...; bl X; cbnz w0` and NOP the cbnz. Python: `patch_panic_bypass()`
sources/FirmwarePatcher/IBoot/IBootPatcher.swift:575
MethodpatchPostValidationAdditional
Patch: rewrite the SHA256-only reject compare in AMFI's post-validation path.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchPostValidation.swift:14
MethodpatchPostValidationCMP
Replace `cmp w0, #imm` with `cmp w0, w0` in AMFI's postValidation path. The 'AMFI: code signature validation failed' string is in a caller function,
sources/FirmwarePatcher/Kernel/Patches/KernelPatchPostValidation.swift:68
MethodpatchPostValidationNOP
NOP the TBNZ that follows the TXM CodeSignature error log call. The 'TXM [Error]: CodeSignature: selector: ...' string is followed by a BL (printf/lo
sources/FirmwarePatcher/Kernel/Patches/KernelPatchPostValidation.swift:25
MethodpatchProcPidinfo
Bypass the two early pid-0 guards in the inlined proc_pidinfo path.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchProcPidinfo.swift:24
MethodpatchProcSecurityPolicy
Stub _proc_security_policy: mov x0,#0; ret.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchProcSecurity.swift:17
MethodpatchRootfssBypass
Apply all five rootfs bypass patches. Python: `patch_rootfs_bypass()`
sources/FirmwarePatcher/IBoot/IBootPatcher.swift:456
MethodpatchSandbox
Patches 17-26: stub Sandbox MACF hooks with mov x0,#0; ret.
sources/FirmwarePatcher/Kernel/Patches/KernelPatchSandbox.swift:29
MethodpatchSandboxHooksExtended
Extended sandbox hooks bypass: retarget ops entries to the allow stub.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSandboxExtended.swift:19
MethodpatchSelector24ForcePass
Patch selector24 handler to return 0xA1 (PASS) immediately. Inserts `mov w0, #0xa1 ; b <epilogue>` right after the prologue, skipping validation whil
sources/FirmwarePatcher/TXM/TXMDevPatcher.swift:210
MethodpatchSelector42_29Shellcode
Selector 42|29 patch via dynamic cave shellcode + branch redirect. Shellcode (6 instructions in a zero-filled cave): nop (safety p
sources/FirmwarePatcher/TXM/TXMDevPatcher.swift:359
MethodpatchSharedRegionMap
Force `cmp x0, x0` in the root-vs-preboot gate of `_shared_region_map_and_slide_setup`. Anchor: `/private/preboot/Cryptexes` string → find the functi
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSharedRegion.swift:15
MethodpatchSpawnValidatePersona
NOP the upstream dual-CBZ bypass in the persona helper. 1. Recover the outer spawn policy function from `com.apple.private.spawn-panic-crash-behavior
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSpawnPersona.swift:17
MethodpatchSyscallmaskApplyToProc
Retargeted C22 patch: syscallmask apply to proc.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSyscallmask.swift:28
MethodpatchTaskForPid
NOP the upstream early `pid == 0` reject gate in `task_for_pid`. Anchor: `proc_ro_ref_task` string → enclosing function. Shape: ldr wPid, [xArgs, #8]
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchTaskForPid.swift:23
MethodpatchThidShouldCrash
Zero out `_thid_should_crash` via the nearby sysctl metadata. The raw PCC 26.1 kernels do not provide a usable runtime symbol table, so this patch al
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchThidCrash.swift:13
MethodpatchThreadSetStateEntitlementFlag
Clear TSSF_CHECK_ENTITLEMENT in the flags passed by the thread_set_state user setters so Frida Stalker can update an existing thread's registers.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchThreadSetState.swift:19
MethodpatchTrustcacheBypass
()
sources/FirmwarePatcher/TXM/TXMPatcher.swift:107
MethodpatchVmFaultEnterPrepare
Force the upstream cs_bypass fast-path in `_vm_fault_enter_prepare`. Expected semantic shape: ... early in prologue: LDR Wflags, [fault_info_reg, #0x
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchVmFault.swift:18
MethodpatchVmMapDeleteImmutableCode
()
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchVmMapDelete.swift:21
MethodpatchVmMapProtect
Bypass the vm_map_protect W^X downgrade so write+execute protections are honored.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchVmProtect.swift:30
Functionpatch_camera_in_dsc
Entry point used by `cfw.py patch-camera-dsc`.
scripts/patchers/cfw_patch_camera_dsc.py:202
Functionpatch_hv_vmm
Mangle the kern.hv_vmm_present cstring in a standalone Mach-O. Returns the count of mangled cstring sites. Idempotent.
scripts/patchers/cfw_patch_hv_vmm.py:99
MethodperformDragOperation
(_ sender: any NSDraggingInfo)
sources/vphone-cli/VPhoneVirtualMachineView.swift:105
MethodperformKeyEquivalent
(with event: NSEvent)
sources/vphone-cli/VPhoneVirtualMachineView.swift:78
MethodpickCloudOS
(maxRetries: Int, read: () -> String?, write: (String) -> Void)
sources/VPhoneCore/VPhoneFirmwarePicker.swift:97
MethodpickIPhone
(maxRetries: Int, read: () -> String?, write: (String) -> Void)
sources/VPhoneCore/VPhoneFirmwarePicker.swift:84
MethodpickPairing
(maxRetries: Int, read: () -> String?, write: (String) -> Void)
sources/VPhoneCore/VPhoneFirmwarePicker.swift:69
MethodpixelToLocal
Convert screenshot pixel coordinates to NSView local coordinates.
sources/vphone-cli/VPhoneVirtualMachineView.swift:170
Methodpmd3
(_ subcommand: String, extra: [String])
sources/vphone-cli/VPhoneRestoreCLI.swift:32
Methodpmd3VerbosityArgs
`-v` repeated `min(v.rawValue, 2)` times, for the pmd3 bridge's own `--verbose`/`-v` count option (`.info`→1 INFO / pmd3's colorful default, `.debug`/
sources/vphone-cli/VPhoneCreateOrchestrator.swift:270
MethodpreloadSudoCredential
Validate a sudo credential non-interactively via the askpass env (`sudo -A -v`). Returns whether it succeeded.
sources/vphone-cli/VPhoneCreateOrchestrator.swift:299
MethodprepareForDragOperation
(_ sender: any NSDraggingInfo)
sources/vphone-cli/VPhoneVirtualMachineView.swift:101
MethodpreviewPanel
(_ panel: QLPreviewPanel!, previewItemAt index: Int)
sources/vphone-cli/VPhoneQuickLookController.swift:53
MethodprimaryAction
(for ids: Set<VPhoneRemoteFile.ID>)
sources/vphone-cli/VPhoneFileBrowserView.swift:283
MethodpromptRegexDoesNotMatchOrdinaryLogLine
()
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:26
MethodpromptRegexMatchesIosbinpackBashPrompt
()
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:18
MethodpromptRegexMatchesRamdiskRootPrompt
()
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:22
Methodpython
()
sources/VPhoneCore/VPhoneLaunchLayout.swift:17
MethodpythonUsabilityProbeRejectsMissingAcceptsDevVenv
()
tests/VPhoneCoreTests/ResourcesTests.swift:78
MethodqueryGuestVersion
()
sources/vphone-cli/VPhoneMenuConnect.swift:121
Functionrd32
(data, off)
scripts/patchers/cfw_asm.py:76
MethodreadCString
Find a null-terminated C string at the given offset.
sources/FirmwarePatcher/Binary/BinaryBuffer.swift:94
MethodreadLine
(from fd: Int32)
sources/vphone-cli/VPhoneHostControl.swift:416
MethodreadProductVersion
`ProductVersion` from a manifest in `restoreDir`, or nil if absent/unreadable.
sources/FirmwarePatcher/Pipeline/FirmwarePipeline.swift:462
MethodreadSetting
()
sources/vphone-cli/VPhoneMenuConnect.swift:211
MethodreadUnalignedValues
()
tests/FirmwarePatcherTests/FirmwarePatcherTests.swift:328
MethodreadVersion
(_ plist: URL)
sources/VPhoneCore/VPhoneRestoreInfo.swift:105
MethodreadWriteU32
()
tests/FirmwarePatcherTests/FirmwarePatcherTests.swift:300
Methodreader
A scripted stdin: pops one line per `read()` call.
tests/VPhoneCoreTests/FirmwarePickerTests.swift:6
Methodreader
A scripted stdin: pops one line per `read()` call.
tests/VPhoneCoreTests/VMPickerTests.swift:6
MethodrecordRestoreVersions
Snapshot the just-restored iOS + cloudOS versions to `restore-info.json`, read host-side from the bundle's restore-dir plists. Best-effort: the restor
sources/vphone-cli/VPhoneRestoreCLI.swift:74
MethodrecordRestoreVersions
Snapshot the just-restored iOS + cloudOS versions to `restore-info.json`, read host-side from the bundle's restore-dir plists. Best-effort: the restor
sources/vphone-cli/VPhoneCreateOrchestrator.swift:416
MethodrecordVariantMergesIntoVersions
()
tests/VPhoneCoreTests/RestoreInfoTests.swift:95
MethodrecordVariantNilWithoutVersions
()
tests/VPhoneCoreTests/RestoreInfoTests.swift:112
MethodrecordingOutputURL
()
sources/vphone-cli/VPhoneScreenRecorder.swift:311
Functionrecovery_probe_command
( ecid: Optional[str] = typer.Option(None, help="Hex ECID (with/without 0x)"), timeout: int = typer.Op
scripts/pymobiledevice3_bridge.py:200
Methodrefresh
()
sources/vphone-cli/VPhoneFileBrowserModel.swift:145
Methodrefresh
()
sources/vphone-cli/VPhoneKeychainBrowserModel.swift:82
MethodrefreshCameraSourceCheckmarks
()
sources/vphone-cli/VPhoneMenuCamera.swift:54
MethodrefreshLocationReplayState
(available: Bool)
sources/vphone-cli/VPhoneMenuLocation.swift:156
MethodregName
Get the register name string for an aarch64_reg value.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchDounmount.swift:115
MethodrejectsDuplicateName
()
tests/VPhoneCoreTests/BundleOpsTests.swift:38
MethodrejectsInvalidNames
()
tests/VPhoneCoreTests/BundleOpsTests.swift:52
MethodrelativePath
(from child: URL, base: URL)
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:636
MethodremovePending
(id: String)
sources/vphone-cli/VPhoneControl.swift:83
MethodremoveSpecificSystemFiles
(filesystem: URL)
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:515
← previousnext →1,001–1,100 of 1,296, ranked by callers