Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Lakr233/vphone-cli
/ functions
Functions
1,296 in github.com/Lakr233/vphone-cli
⨍
Functions
1,296
◇
Types & classes
222
↳
Endpoints
1
Method
patchContainerManagerUpcall
()
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchContainerUpcall.swift:43
Method
patchConvertPortToMap
Skip kernel-map panic in _convert_port_to_map_with_flavor.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchPortToMap.swift:13
Method
patchCredLabelUpdateExecve
C21-v3 split exits + helper bits for _cred_label_update_execve.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchCredLabel.swift:31
Method
patchDGSTBypass
()
sources/FirmwarePatcher/AVPBooter/AVPBooterPatcher.swift:70
Method
patchDebugger
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
Method
patchDebuggerEntitlementForceTrue
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
Method
patchDeveloperModeBypass
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
Method
patchDiskImages2ClientAbi
Apply all DiskImages2 ABI pokes. Wired into KernelJBPatcher.findAll().
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchDiskImages2.swift:40
Method
patchDiskImages2ConnectAbi
`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
Method
patchDiskImages2CreateDeviceAbi
`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
Method
patchDiskImages2NotificationPortArray
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
Method
patchDounmount
NOP the upstream cleanup call in _dounmount.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchDounmount.swift:14
Method
patchDyldPolicy
Patches 10–11: Replace two BL calls in _check_dyld_policy_internal with mov w0,#1.
sources/FirmwarePatcher/Kernel/Patches/KernelPatchDyldPolicy.swift:14
Method
patchExcGuardBehavior
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
Method
patchExecSecurityPolicyKill
()
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchExecPolicyKill.swift:34
Method
patchFpfsScopedVnodeOpen
()
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchFpfsScopedOpen.swift:15
Method
patchGetTaskAllowForceTrue
Force get-task-allow entitlement check to return true (BL → mov x0, #1).
sources/FirmwarePatcher/TXM/TXMDevPatcher.swift:314
Method
patchHandleFsiocGraft
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
Method
patchHandleGetDevByRoleEntitlement
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
Method
patchHvVmmRename
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
Method
patchImage4Callback
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
Method
patchIoSecureBsdRoot
Force SecureRootName policy return to success in AppleARMPE::callPlatformFunction.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSecureRoot.swift:22
Method
patchIomfbSwapEndHandlerSize
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
Method
patchIomfbSwapEndVariableSize
()
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchIomfbSwap.swift:94
Method
patchIoucFailedSandbox
()
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchIoucSandbox.swift:37
Method
patchKcall10
ABI-correct kcall10 patch: install a sysent[439] cave.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchKcall10.swift:32
Method
patchLaunchConstraints
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
Method
patchLaunchdCacheLoader
(targetMount: String, cfwInput: URL)
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:180
Method
patchLoadDylinker
Bypass the load_dylinker policy gate in the dyld path.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchLoadDylinker.swift:13
Method
patchMacMount
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
Method
patchMobileActivation
(targetMount: String, cfwInput: URL)
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:329
Method
patchNullCheck0x78
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
Method
patchNvramVerifyPermission
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
Method
patchPanicBypass
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
Method
patchPostValidationAdditional
Patch: rewrite the SHA256-only reject compare in AMFI's post-validation path.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchPostValidation.swift:14
Method
patchPostValidationCMP
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
Method
patchPostValidationNOP
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
Method
patchProcPidinfo
Bypass the two early pid-0 guards in the inlined proc_pidinfo path.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchProcPidinfo.swift:24
Method
patchProcSecurityPolicy
Stub _proc_security_policy: mov x0,#0; ret.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchProcSecurity.swift:17
Method
patchRootfssBypass
Apply all five rootfs bypass patches. Python: `patch_rootfs_bypass()`
sources/FirmwarePatcher/IBoot/IBootPatcher.swift:456
Method
patchSandbox
Patches 17-26: stub Sandbox MACF hooks with mov x0,#0; ret.
sources/FirmwarePatcher/Kernel/Patches/KernelPatchSandbox.swift:29
Method
patchSandboxHooksExtended
Extended sandbox hooks bypass: retarget ops entries to the allow stub.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSandboxExtended.swift:19
Method
patchSelector24ForcePass
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
Method
patchSelector42_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
Method
patchSharedRegionMap
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
Method
patchSpawnValidatePersona
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
Method
patchSyscallmaskApplyToProc
Retargeted C22 patch: syscallmask apply to proc.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSyscallmask.swift:28
Method
patchTaskForPid
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
Method
patchThidShouldCrash
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
Method
patchThreadSetStateEntitlementFlag
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
Method
patchTrustcacheBypass
()
sources/FirmwarePatcher/TXM/TXMPatcher.swift:107
Method
patchVmFaultEnterPrepare
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
Method
patchVmMapDeleteImmutableCode
()
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchVmMapDelete.swift:21
Method
patchVmMapProtect
Bypass the vm_map_protect W^X downgrade so write+execute protections are honored.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchVmProtect.swift:30
Function
patch_camera_in_dsc
Entry point used by `cfw.py patch-camera-dsc`.
scripts/patchers/cfw_patch_camera_dsc.py:202
Function
patch_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
Method
performDragOperation
(_ sender: any NSDraggingInfo)
sources/vphone-cli/VPhoneVirtualMachineView.swift:105
Method
performKeyEquivalent
(with event: NSEvent)
sources/vphone-cli/VPhoneVirtualMachineView.swift:78
Method
pickCloudOS
(maxRetries: Int, read: () -> String?, write: (String) -> Void)
sources/VPhoneCore/VPhoneFirmwarePicker.swift:97
Method
pickIPhone
(maxRetries: Int, read: () -> String?, write: (String) -> Void)
sources/VPhoneCore/VPhoneFirmwarePicker.swift:84
Method
pickPairing
(maxRetries: Int, read: () -> String?, write: (String) -> Void)
sources/VPhoneCore/VPhoneFirmwarePicker.swift:69
Method
pixelToLocal
Convert screenshot pixel coordinates to NSView local coordinates.
sources/vphone-cli/VPhoneVirtualMachineView.swift:170
Method
pmd3
(_ subcommand: String, extra: [String])
sources/vphone-cli/VPhoneRestoreCLI.swift:32
Method
pmd3VerbosityArgs
`-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
Method
preloadSudoCredential
Validate a sudo credential non-interactively via the askpass env (`sudo -A -v`). Returns whether it succeeded.
sources/vphone-cli/VPhoneCreateOrchestrator.swift:299
Method
prepareForDragOperation
(_ sender: any NSDraggingInfo)
sources/vphone-cli/VPhoneVirtualMachineView.swift:101
Method
previewPanel
(_ panel: QLPreviewPanel!, previewItemAt index: Int)
sources/vphone-cli/VPhoneQuickLookController.swift:53
Method
primaryAction
(for ids: Set<VPhoneRemoteFile.ID>)
sources/vphone-cli/VPhoneFileBrowserView.swift:283
Method
promptRegexDoesNotMatchOrdinaryLogLine
()
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:26
Method
promptRegexMatchesIosbinpackBashPrompt
()
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:18
Method
promptRegexMatchesRamdiskRootPrompt
()
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:22
Method
python
()
sources/VPhoneCore/VPhoneLaunchLayout.swift:17
Method
pythonUsabilityProbeRejectsMissingAcceptsDevVenv
()
tests/VPhoneCoreTests/ResourcesTests.swift:78
Method
queryGuestVersion
()
sources/vphone-cli/VPhoneMenuConnect.swift:121
Function
rd32
(data, off)
scripts/patchers/cfw_asm.py:76
Method
readCString
Find a null-terminated C string at the given offset.
sources/FirmwarePatcher/Binary/BinaryBuffer.swift:94
Method
readLine
(from fd: Int32)
sources/vphone-cli/VPhoneHostControl.swift:416
Method
readProductVersion
`ProductVersion` from a manifest in `restoreDir`, or nil if absent/unreadable.
sources/FirmwarePatcher/Pipeline/FirmwarePipeline.swift:462
Method
readSetting
()
sources/vphone-cli/VPhoneMenuConnect.swift:211
Method
readUnalignedValues
()
tests/FirmwarePatcherTests/FirmwarePatcherTests.swift:328
Method
readVersion
(_ plist: URL)
sources/VPhoneCore/VPhoneRestoreInfo.swift:105
Method
readWriteU32
()
tests/FirmwarePatcherTests/FirmwarePatcherTests.swift:300
Method
reader
A scripted stdin: pops one line per `read()` call.
tests/VPhoneCoreTests/FirmwarePickerTests.swift:6
Method
reader
A scripted stdin: pops one line per `read()` call.
tests/VPhoneCoreTests/VMPickerTests.swift:6
Method
recordRestoreVersions
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
Method
recordRestoreVersions
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
Method
recordVariantMergesIntoVersions
()
tests/VPhoneCoreTests/RestoreInfoTests.swift:95
Method
recordVariantNilWithoutVersions
()
tests/VPhoneCoreTests/RestoreInfoTests.swift:112
Method
recordingOutputURL
()
sources/vphone-cli/VPhoneScreenRecorder.swift:311
Function
recovery_probe_command
( ecid: Optional[str] = typer.Option(None, help="Hex ECID (with/without 0x)"), timeout: int = typer.Op
scripts/pymobiledevice3_bridge.py:200
Method
refresh
()
sources/vphone-cli/VPhoneFileBrowserModel.swift:145
Method
refresh
()
sources/vphone-cli/VPhoneKeychainBrowserModel.swift:82
Method
refreshCameraSourceCheckmarks
()
sources/vphone-cli/VPhoneMenuCamera.swift:54
Method
refreshLocationReplayState
(available: Bool)
sources/vphone-cli/VPhoneMenuLocation.swift:156
Method
regName
Get the register name string for an aarch64_reg value.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchDounmount.swift:115
Method
rejectsDuplicateName
()
tests/VPhoneCoreTests/BundleOpsTests.swift:38
Method
rejectsInvalidNames
()
tests/VPhoneCoreTests/BundleOpsTests.swift:52
Method
relativePath
(from child: URL, base: URL)
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:636
Method
removePending
(id: String)
sources/vphone-cli/VPhoneControl.swift:83
Method
removeSpecificSystemFiles
(filesystem: URL)
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:515
← previous
next →
1,001–1,100 of 1,296, ranked by callers