MCPcopy Create free account

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

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

MethodfindHookCredLabelWrapper
Find the sandbox ops[18] wrapper, returning (opsTable, entryOff, entryRaw, wrapperOff).
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchHookCredLabel.swift:156
MethodfindIPhoneErase
Return the index of the first iPhone erase identity.
sources/FirmwarePatcher/Manifest/FirmwareManifest.swift:173
MethodfindLegacyTrustcacheBypassCall
()
sources/FirmwarePatcher/TXM/TXMPatcher.swift:167
MethodfindMunge32ForNarg
Find a reusable 8-arg munge32 helper with matching metadata. Returns (targetFoff, exemplarEntry, matchCount) or (-1, -1, 0).
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchKcall10.swift:173
MethodfindNulPrefixedString
Find a NUL-prefixed string (i.e. the exact C symbol "Sandbox" at a NUL boundary). Returns the file offset of the first character (after the NUL).
sources/FirmwarePatcher/Kernel/Patches/KernelPatchSandbox.swift:335
MethodfindPanicCallNear
Find the BL to _panic within 0x40 bytes after `addOff`.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchBsdInitAuth.swift:122
MethodfindPanicOffsetIfNeeded
Find the file offset of _panic by locating the most-called BL target. _panic is by far the most-called function in the kernel; the BL index built by
sources/FirmwarePatcher/Kernel/Patches/KernelPatchBsdInit.swift:29
MethodfindPattern
Find all file offsets where the given 4-byte pattern appears. Equivalent to Python `_find_asm_pattern(data, asm_str)`.
sources/FirmwarePatcher/IBoot/IBootPatcher.swift:178
MethodfindProcSecurityPolicy
Find `_proc_security_policy` by its unique reference to `PRIV_GLOBAL_PROC_INFO`. Source: `bsd/kern/proc_info.c` — `proc_security_policy()` is the sha
sources/FirmwarePatcher/Kernel/KernelJBPatcherBase.swift:273
MethodfindProperty
Find a property by name within a node.
sources/FirmwarePatcher/DeviceTree/DeviceTreePatcher.swift:864
MethodfindRefsNear
Find all ADRP+ADD pairs that point within `tolerance` bytes before `targetOff`. This handles the common case where code references a structure header
sources/FirmwarePatcher/IBoot/IBootJBPatcher.swift:145
MethodfindRefsToOffset
Find all ADRP+ADD pairs in the flat binary that resolve to `targetOff`. TXM is a raw flat binary (no Mach-O), so we cannot use a pre-built ADRP index
sources/FirmwarePatcher/TXM/TXMDevPatcher.swift:35
MethodfindRefsToOffset
Find all ADRP+ADD pairs in the binary that point to `targetOff`. Scans the entire buffer in 4-byte steps, checking consecutive instruction pairs for
sources/FirmwarePatcher/IBoot/IBootJBPatcher.swift:195
MethodfindRestoreDirectory
(inBundle bundle: VPhoneBundle)
sources/VPhoneCore/VPhoneRestoreInfo.swift:97
MethodfindSandboxAllowStub
Find the Sandbox common allow stub: `mov x0, #0 ; ret`. Scans sandbox kext text for consecutive MOV_X0_0 + RET pairs and returns the highest-address
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSandboxExtended.swift:191
MethodfindSandboxOpsTable
Find the sandbox mac_policy_ops table via the mac_policy_conf struct. Mirrors Python `_find_sandbox_ops_table_via_conf()`: locates the conf struct by
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchHookCredLabel.swift:107
MethodfindSandboxOpsTable
Find the Sandbox mac_policy_ops table via the mac_policy_conf struct. Strategy (aligned with Python _find_sandbox_ops_table_via_conf): - Locate the "
sources/FirmwarePatcher/Kernel/Patches/KernelPatchSandbox.swift:99
MethodfindSandboxOpsTableFpfs
()
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchFpfsScopedOpen.swift:91
MethodfindSandboxOpsTableViaConf
Locate the Sandbox mac_policy_ops table via mac_policy_conf. Searches __DATA_CONST and __DATA segments for the conf struct: [0..7] tagged ptr → "San
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSandboxExtended.swift:130
MethodfindSecureRootFunctions
Find all functions that reference both "SecureRootName" and "SecureRoot".
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSecureRoot.swift:64
MethodfindSecureRootReturnSite
Scan [funcStart, funcEnd) for the unique CSEL that selects between success (wzr) and kIOReturnNotPrivileged — the SecureRootName deny/allow selector.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSecureRoot.swift:106
MethodfindSelector24HashFlagsCall
()
sources/FirmwarePatcher/TXM/TXMPatcher.swift:136
MethodfindStateGate
Find the unique role-state byte gate: `ldrb wN, [xBase, #imm] ; tbz/tbnz wN, #6, <target>`. On 26.1 this read as `add x8,x16,#0x70 ; ldrb w8,[x8,#1]
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchMacMount.swift:138
MethodfindString
()
tests/FirmwarePatcherTests/FirmwarePatcherTests.swift:307
MethodfindStringRefs
Find all ADRP+ADD instruction pairs referencing any occurrence of `needle` in the binary. Returns `(stringOff, adrpOff, addOff)` tuples — mirrors Pyt
sources/FirmwarePatcher/TXM/TXMDevPatcher.swift:76
MethodfindStringRefs
Find all ADRP+ADD references to a string at the given file offset.
sources/FirmwarePatcher/Kernel/KernelPatcherBase.swift:172
MethodfindStringSlot
Find a run of NUL bytes ≥ 64 bytes long to write the new string into. Python: `_find_string_slot()`
sources/FirmwarePatcher/IBoot/IBootPatcher.swift:428
MethodfindSyscallmaskApplyFunc
Find the high-level apply manager via its three error strings, then find the low-level wrapper it calls three times.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSyscallmask.swift:101
MethodfindSyscallmaskInjectBL
Find the pre-setter helper BL site in the apply wrapper. Python: scan forward from func start, after the first `cbz x2`, return the next BL.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSyscallmask.swift:181
MethodfindSyscallmaskManagerFunc
Locate the high-level apply manager by its three error log strings.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSyscallmask.swift:115
MethodfindSyscallmaskTailBranch
Find the final tail B into the setter core (last unconditional branch in the func).
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSyscallmask.swift:200
MethodfindSyscallmaskWrapperInManager
Find the wrapper callee that appears 3+ times and is called with w1=0,1,2.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSyscallmask.swift:138
MethodfindSysentTable
Find the sysent table base structurally — the longest run of valid 24-byte `struct sysent` rows in a DATA segment. No symbol or `_nosys` dependency: e
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchKcall10.swift:120
MethodfindUdfCave
Find a zero-filled cave of at least `minInsns * 4` bytes — mirrors Python `_find_udf_cave`. The Python logic: - Scan forward for a run of zero words.
sources/FirmwarePatcher/TXM/TXMDevPatcher.swift:120
MethodfindUniqueFieldLoad
Locate a unique `<mnemonic> wD,[xB,#disp]` field load in [funcStart,funcEnd).
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchDiskImages2.swift:188
MethodfindUpstreamCleanupCall
Scan for the 8-instruction upstream cleanup call pattern and return the file offset of the first BL, or nil if not uniquely found.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchDounmount.swift:48
MethodfindUpstreamPersonaCbzSites
(anchorStart: Int, anchorEnd: Int)
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSpawnPersona.swift:53
MethodfindUpstreamRootMountCmp
Scan at most 9 instructions ending at `strRefOff` for the pattern: cmp Xm, Xn b.eq #forward str xzr, [...]
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSharedRegion.swift:67
MethodfindValidateRootHashFunc
Find validate_on_disk_root_hash by locating the `authenticate_root_hash` string and resolving the function that references it.
sources/FirmwarePatcher/Kernel/Patches/KernelPatchApfsGraft.swift:88
MethodfindVfsContextCurrentByShape
Locate vfs_context_current generically: prefer the symbol, else match the stable 4-word prologue prefix followed by *any* `ldr x1, [x0, #imm]` (the ut
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchHookCredLabel.swift:198
MethodfindVmMapDeleteImmutableCodeGates
()
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchVmMapDelete.swift:72
MethodfindVnodeGetattrViaString
Resolve vnode_getattr from a BL near its log string "vnode_getattr".
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchHookCredLabel.swift:248
MethodfindWriteClearBetween
Scan [start, end) for `and wProt, wProt, #imm` that strips one of the low protection bits.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchVmProtect.swift:132
MethodfindWriteDowngradeGate
Find the `b.ne` that skips the write-downgrade block, and its target.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchVmProtect.swift:75
MethodfindWxMaskMov
Locate the `mov wMask, #5` that defines the W^X protection mask, identified by the unique `lsr wT, _, #7 ; and wD, wT, wMask` pair that narrows the pr
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchVmProtect.swift:159
MethodfirstBootCommandsMatchSetupMachineVerbatim
()
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:97
MethodflushCurrentSection
()
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:829
MethodformatBytes
(_ bytes: Int64)
sources/vphone-cli/VPhoneFileBrowserView.swift:361
MethodforwardStandardInput
(to writeHandle: FileHandle)
research/VPhoneVirtualMachineRefactored.swift:257
MethodfunctionsReferencingString
Find all function starts that reference `needle` via ADRP+ADD.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSecureRoot.swift:72
MethodgatesAreMonotonic
()
tests/VPhoneCoreTests/VerbosityTests.swift:14
Methodgenerate
Generate hybrid BuildManifest.plist and Restore.plist. - Parameters: - iPhoneDir: Path to the extracted iPhone IPSW directory. - cloudOSDir: Path to
sources/FirmwarePatcher/Manifest/FirmwareManifest.swift:70
MethodgetAeaKey
(_ path: URL, metadata: [String: String])
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:772
MethodgetAeaMetadata
(_ path: URL)
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:816
MethodgetAppOsFilesystemPath
()
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:666
MethodgetBuildIdentityManifest
(path: URL)
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:687
MethodgetChildPlistDict
(parent: PlistDict, key: String)
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:713
MethodgetClipboard
()
sources/vphone-cli/VPhoneMenuConnect.swift:139
MethodgetComponentPath
(component: String, buildManifest: PlistDict)
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:678
MethodgetOSFilesystemPath
()
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:660
MethodgetProductVersion
()
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:646
MethodgetSystemOsFilesystemPath
()
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:672
MethodgetTrustcachePath
()
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:654
MethodguestDidStop
(_: VZVirtualMachine)
research/VPhoneVirtualMachineRefactored.swift:407
MethodguestDidStop
(_: VZVirtualMachine)
sources/vphone-cli/VPhoneVirtualMachine.swift:381
MethodhandleClient
(_ fd: Int32, controller: VPhoneHostControl?)
sources/vphone-cli/VPhoneHostControl.swift:228
MethodhasIOKitErrorBuild
Walk backward from `off` looking for `movk <regName>, #0xE000, lsl #16` — the high half of an IOKit return code (kIOReturn* == 0xE000xxxx).
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSecureRoot.swift:140
MethodhasImagebootCallNear
Return true if there is a BL to _imageboot_needed (or any BL if unknown) within 3 instructions after `off`.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchBsdInitAuth.swift:174
MethodhasMacfAggregatorShape
Heuristic: does the function at `calleeOff` look like a MACF aggregator? The aggregator loads from the mac_policy_list slot at offset 0x9E8 and makes
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchIoucMacf.swift:115
MethodhasWLdrFromX8
Heuristic: scan the first `maxInsns` instructions after `funcOff` for `ldr wN, [x8, ...]` — the canonical _PE_i_can_has_debugger prologue.
sources/FirmwarePatcher/Kernel/Patches/KernelPatchDebugger.swift:86
MethodhitTestEdge
(at point: CGPoint)
sources/vphone-cli/VPhoneVirtualMachineView.swift:313
MethodhomePressed
()
sources/vphone-cli/VPhoneWindowController.swift:132
MethodhomebrewKeystoneLibs
Older bottles ship only the static archive.
sources/VPhoneCore/VPhoneResources.swift:135
MethodhostBatteryState
()
sources/vphone-cli/VPhoneMenuBattery.swift:123
MethodiPhoneProvidedPromptsForCloudOSOnly
()
tests/VPhoneCoreTests/FirmwarePickerTests.swift:81
MethodibssIM4PPayloadMatchesRawAndJBPatcherFindsNoncePatch
()
tests/FirmwarePatcherTests/FirmwarePatcherTests.swift:430
MethodidentifyApfsSealvolume
()
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:406
MethodimportRejectsExistingName
()
tests/VPhoneCoreTests/BundleOpsTests.swift:248
MethodimportRejectsMultiTopLevelArchive
()
tests/VPhoneCoreTests/BundleOpsTests.swift:344
MethodimportWithRenameDoesNotClobberArchivedNameCollision
()
tests/VPhoneCoreTests/BundleOpsTests.swift:265
MethodinExec
(_ fo: Int)
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchKcall10.swift:128
Methodinit
(options: Configuration)
research/VPhoneVirtualMachineRefactored.swift:56
Methodinit
(control: VPhoneControl)
sources/vphone-cli/VPhoneAppBrowserModel.swift:30
Methodinit
(variant: VPhoneVirtualMachine.Variant)
sources/vphone-cli/VPhoneControl.swift:61
Methodinit
(options: Options)
sources/vphone-cli/VPhoneVirtualMachine.swift:49
Methodinit
Parse from the dict returned by vphoned file_list entries.
sources/vphone-cli/VPhoneRemoteFile.swift:85
Methodinit
(name: String, variant: String, iphoneSource: String?, cloudosSource: String?, sudoPassword: String?, spoofBui
sources/vphone-cli/VPhoneCreateOrchestrator.swift:111
Methodinit
(width: Int, height: Int)
sources/vphone-cli/VPhoneFrameProducer.swift:39
Methodinit
(url: URL, width: Int, height: Int)
sources/vphone-cli/VPhoneFrameProducer.swift:146
Methodinit
(cli: VPhoneBootCLI)
sources/vphone-cli/VPhoneAppDelegate.swift:20
Methodinit
(vm: VPhoneVirtualMachine, control: VPhoneControl)
sources/vphone-cli/VPhoneKeyHelper.swift:20
Methodinit
(control: VPhoneControl, quickLookController: VPhoneQuickLookController)
sources/vphone-cli/VPhoneFileBrowserModel.swift:32
Methodinit
(index: Int, entry: [String: Any])
sources/vphone-cli/VPhoneKeychainItem.swift:96
Methodinit
(label: String)
sources/vphone-cli/VPhoneProgressBar.swift:16
Methodinit
(_ action: @escaping () -> Void)
sources/vphone-cli/VPhoneMenuRecord.swift:121
Methodinit
(control: VPhoneControl)
sources/vphone-cli/VPhoneKeychainBrowserModel.swift:19
Methodinit
(latitude: Double, longitude: Double, altitude: Double, horizontalAccuracy: Double, verticalAccuracy: Double,
sources/vphone-cli/VPhoneLocationProvider.swift:21
Methodinit
(control: VPhoneControl)
sources/vphone-cli/VPhoneLocationProvider.swift:53
Methodinit
(socketPath: String)
sources/vphone-cli/VPhoneHostControl.swift:50
Methodinit
(keyHelper: VPhoneKeyHelper, control: VPhoneControl)
sources/vphone-cli/VPhoneMenuController.swift:53
← previousnext →701–800 of 1,296, ranked by callers