MCPcopy Create free account

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

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

MethodmakeRoot
()
tests/VPhoneCoreTests/BundleOpsTests.swift:6
MethodmakeSudoAskpassScript
Askpass helper: emits `$SUDO_PASSWORD` (set per-invocation in the env). The password is never written into the script itself.
sources/vphone-cli/VPhoneCreateOrchestrator.swift:288
MethodmanagedVenvDefaultsUnderDotVphone
()
tests/VPhoneCoreTests/ResourcesTests.swift:47
MethodmanagedVenvOverrideBeatsVPHONERoot
()
tests/VPhoneCoreTests/ResourcesTests.swift:67
MethodmangleKernelInternalCallers
For every kernel-internal occurrence of `kern.hv_vmm_present` inside the kernelcache buffer (kernel proper + kexts + fileset entries + compiled sandbo
sources/FirmwarePatcher/Kernel/EXPPatches/KernelEXPPatchHvVmmRename.swift:174
Methodmappings
Return [(vmaddr_start, vmaddr_end, file_offset, init_prot, chunk_path)].
scripts/patchers/cfw_dsc_chunks.py:216
MethodmapsEveryPairing
()
tests/VPhoneCoreTests/FirmwareCatalogReportTests.swift:6
MethodmapsManifestFields
()
tests/VPhoneCoreTests/BundleReportTests.swift:6
MethodmatchGate
The window rooted at `ldr wF,[entry,#0x38] ; tbz wF,#19` (vme_permanent), carrying the inlined developer_mode_state() read and the immutable-code curr
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchVmMapDelete.swift:98
MethodmatchPersonaHelper
Match the upstream sibling nil-field reject shape: ldr w?, [r, #0x18] ; preceding sibling-field guard cbz w?, continue ldr wA, [base, #8] cbz wA,
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchSpawnPersona.swift:87
MethodmatchRootauthBranchSite
Check if instruction at `off` is the rootauth CBNZ gate site. Returns "live", "patched", or nil.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchBsdInitAuth.swift:137
MethodmatchUpstreamMountWrapper
(start: Int, end: Int, mountCommon: Int)
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchMacMount.swift:81
MethodmatchUpstreamTaskForPidGate
(at off: Int, funcStart: Int)
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchTaskForPid.swift:65
Methodmatches
(_ re: NSRegularExpression?, _ text: String)
sources/VPhoneCore/VPhoneManagedProcess.swift:125
Methodmatches
(_ pattern: String, _ line: String)
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:13
MethodmergeFilesystems
()
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:117
MethodmergeRejectsBridgeInterfaceWithoutBridgedMode
()
tests/VPhoneCoreTests/NetworkingTests.swift:27
MethodmergeRejectsHostOnly
()
tests/VPhoneCoreTests/NetworkingTests.swift:21
MethodmergeSetsMode
()
tests/VPhoneCoreTests/NetworkingTests.swift:9
MethodmergeWithoutModePreservesCurrent
()
tests/VPhoneCoreTests/NetworkingTests.swift:15
Methodmnemonic
(of word: UInt32)
tests/FirmwarePatcherTests/FirmwarePatcherTests.swift:203
MethodmouseDown
(with event: NSEvent)
sources/vphone-cli/VPhoneVirtualMachineView.swift:50
MethodmovImmZero
Return true if instruction is `mov <dst>, #0`.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchDounmount.swift:96
MethodmovRegRegDst
Return the source register name if instruction is `mov <dst>, <src_reg>`.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchDounmount.swift:86
MethodmovW0_0
()
tests/FirmwarePatcherTests/FirmwarePatcherTests.swift:52
MethodmovW0_0xA1
()
tests/FirmwarePatcherTests/FirmwarePatcherTests.swift:82
MethodmovW0_1
()
tests/FirmwarePatcherTests/FirmwarePatcherTests.swift:58
MethodmovX0X20
()
tests/FirmwarePatcherTests/FirmwarePatcherTests.swift:72
MethodmovX0_0
()
tests/FirmwarePatcherTests/FirmwarePatcherTests.swift:40
MethodmovX0_1
()
tests/FirmwarePatcherTests/FirmwarePatcherTests.swift:46
MethodmovkX10
(_ hw: [UInt16])
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchFpfsScopedOpen.swift:48
MethodmovzW
()
tests/FirmwarePatcherTests/FirmwarePatcherTests.swift:255
Methodnavigate
(to path: String)
sources/vphone-cli/VPhoneFileBrowserModel.swift:72
MethodneitherProvidedPicksFullPairing
()
tests/VPhoneCoreTests/FirmwarePickerTests.swift:59
MethodneitherProvidedResolvesBothFromChosenPairing
()
tests/VPhoneCoreTests/FirmwarePickerTests.swift:68
MethodnetworkConfigRoundTripsThroughPlist
()
tests/VPhoneCoreTests/ManifestTests.swift:38
MethodnextFrame
()
sources/vphone-cli/VPhoneFrameProducer.swift:50
MethodnextFrame
()
sources/vphone-cli/VPhoneFrameProducer.swift:182
MethodnextFunctionBoundary
Find the start offset of the next function after `start` (exclusive), up to `maxSize` bytes ahead. Returns `start + maxSize` if none found.
sources/FirmwarePatcher/Kernel/Patches/KernelPatchPostValidation.swift:169
MethodnodeName
Get the "name" property value from a node.
sources/FirmwarePatcher/DeviceTree/DeviceTreePatcher.swift:832
MethodnonInteractivePassesThroughEvenWhenIncomplete
()
tests/VPhoneCoreTests/FirmwarePickerTests.swift:42
MethodnonInteractiveWithoutNameThrows
()
tests/VPhoneCoreTests/VMPickerTests.swift:18
Methodnop
()
tests/FirmwarePatcherTests/FirmwarePatcherTests.swift:17
MethodnopAbiVersionGate
Pin the function via its unique signature cstring, then NOP the unique `cmp wN,#9 ; b.ne` inside it.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchDiskImages2.swift:78
MethodnormalizeCoordinate
(_ localPoint: NSPoint)
sources/vphone-cli/VPhoneVirtualMachineView.swift:293
MethodnormalizeECIDPassesThroughSixteenHexDigits
()
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:60
MethodnormalizeECIDRejectsEmptyInput
()
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:76
MethodnormalizeECIDRejectsNonHex
()
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:68
MethodnormalizeECIDRejectsOverlongInput
()
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:72
MethodnormalizeECIDStripsPrefixAndPads
()
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:56
MethodnormalizeECIDUppercasesLowerHex
()
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:64
MethodnotExcludedFromExport
The snapshot lives at the bundle root, so `vm export` must not strip it: it is matched by neither the `*_Restore*` exclude nor any regenerable- artifa
tests/VPhoneCoreTests/RestoreInfoTests.swift:129
MethodnumberOfPreviewItems
(in panel: QLPreviewPanel!)
sources/vphone-cli/VPhoneQuickLookController.swift:49
MethodopenAppBrowser
()
sources/vphone-cli/VPhoneMenuApps.swift:47
MethodopenFiles
()
sources/vphone-cli/VPhoneMenuConnect.swift:87
MethodopenKeychain
()
sources/vphone-cli/VPhoneMenuConnect.swift:91
MethodopenURL
()
sources/vphone-cli/VPhoneMenuApps.swift:86
MethodopenURL
(_ url: String)
sources/vphone-cli/VPhoneControl.swift:663
Methodoperation
Fired by BKPresenceDetectOperation when finger presence changes. Second param is BOOL-encoded: non-zero = finger on sensor, 0 = finger off.
sources/vphone-cli/VPhoneTouchIDMonitor.swift:29
MethodoperationInterrupted
Sent by BKOperation when the XPC link to biometrickitd is torn down.
sources/vphone-cli/VPhoneTouchIDMonitor.swift:69
Methodpacibsp
()
tests/FirmwarePatcherTests/FirmwarePatcherTests.swift:33
MethodpairingMenuIsColumnAligned
()
tests/VPhoneCoreTests/FirmwarePickerTests.swift:103
MethodpanicOrPromptRegexKeepsPromptCaseSensitive
()
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:49
MethodpanicOrPromptRegexMatchesPanicCaseInsensitively
()
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:45
MethodpanicRegexDoesNotMatchOrdinaryLogLine
()
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:38
MethodpanicRegexMatchesKernelPanicLine
()
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:30
MethodpanicRegexMatchesStackshotSucceeded
()
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:34
MethodparseFilesetSymtab
Parse LC_SYMTAB from a fileset entry Mach-O whose header starts at `mhOff`. Reads from `buffer.original`. Mirrors Python `_parse_fileset_symtab(mh_off
sources/FirmwarePatcher/Kernel/KernelJBPatcherBase.swift:74
MethodparseHVVmmPresentFalseWhenEmpty
()
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:91
MethodparseHVVmmPresentFalseWhenNotNested
()
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:87
MethodparseHVVmmPresentTrueWhenNested
()
tests/VPhoneCoreTests/CreateOrchestratorTests.swift:83
MethodparseHexDumpLine
(_ line: String)
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:881
MethodparseKextTextExecRange
Parse an embedded kext Mach-O at `kextFoff` and return its __TEXT_EXEC.__text range.
sources/FirmwarePatcher/Kernel/KernelPatcherBase.swift:450
MethodparseKextTextRange
Parse an embedded kext Mach-O at the given file offset and return its __TEXT_EXEC.__text (or __TEXT_EXEC segment) range in file offsets.
sources/FirmwarePatcher/Kernel/Patches/KernelPatchSandbox.swift:236
MethodparseMode
(_ s: String)
sources/vphone-cli/VPhoneVMCLI.swift:153
MethodparseNlist
Parse nlist64 entries: add defined function symbols (n_type & 0x0E == 0x0E) to `symbols`. Reads from `buffer.original` (Python: `self.raw`). Mirrors P
sources/FirmwarePatcher/Kernel/KernelJBPatcherBase.swift:98
MethodparseNode
Parse a device tree node from the flat binary at the given offset. Returns the parsed node and the offset past the end of the node.
sources/FirmwarePatcher/DeviceTree/DeviceTreePatcher.swift:740
MethodparsePayload
(_ blob: Data)
sources/FirmwarePatcher/Manifest/ManifestHashPatcher.swift:65
MethodparsePayload
Parse the entire device tree payload.
sources/FirmwarePatcher/DeviceTree/DeviceTreePatcher.swift:786
MethodparsePlist
(data: Data)
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:702
MethodparsePrivateVarTime
(mtree: URL)
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:464
MethodparseRestoreDirectoryName
(_ name: String)
sources/FirmwarePatcher/Pipeline/FirmwarePipeline.swift:512
MethodparseSectionBody
(_ bodyLines: [String])
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:864
MethodparseSectionHeader
(_ line: String)
sources/FirmwarePatcher/Filesystem/CryptexFilesystemPatcher.swift:853
MethodparseSymtab
Parse LC_SYMTAB information. Returns (symoff, nsyms, stroff, strsize) or nil.
sources/FirmwarePatcher/Binary/MachOHelpers.swift:129
MethodparsesLsofPIDs
()
tests/VPhoneCoreTests/LaunchLayoutTests.swift:25
MethodpassesCwd
()
tests/VPhoneCoreTests/ProcessRunnerTests.swift:22
MethodpatchAmfiCdhashInTrustcache
AMFI trustcache gate bypass: rewrite AMFIIsCDHashInTrustCache to always return 1.
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchAmfiTrustcache.swift:22
MethodpatchAmfiExecveKillPath
Bypass AMFI execve kill by patching the shared MOV W0,#1 → MOV W0,#0. All kill paths in the AMFI execve hook function converge on a shared epilogue:
sources/FirmwarePatcher/Kernel/JBPatches/KernelJBPatchAmfiExecve.swift:27
MethodpatchApfsGraft
Patch 12: Replace the BL to validate_on_disk_root_hash inside _apfs_graft with `mov w0, #0`, bypassing root hash validation. Strategy: 1. Locate the
sources/FirmwarePatcher/Kernel/Patches/KernelPatchApfsGraft.swift:22
MethodpatchApfsMount
Apply all APFS mount patches (13, 14, 15, 16).
sources/FirmwarePatcher/Kernel/Patches/KernelPatchApfsMount.swift:394
MethodpatchApfsMountUpgradeChecks
Patch 14: Replace `tbnz w0, #0xe, ...` with `mov w0, #0`. Within the function a BL calls a small leaf flag-reading function, then TBNZ w0, #0xe branc
sources/FirmwarePatcher/Kernel/Patches/KernelPatchApfsMount.swift:144
MethodpatchApfsRootSnapshot
()
sources/FirmwarePatcher/Kernel/Patches/KernelPatchApfsSnapshot.swift:17
MethodpatchApfsSealBroken
()
sources/FirmwarePatcher/Kernel/Patches/KernelPatchApfsSeal.swift:18
MethodpatchApfsVfsopMountCmp
Patch 13: Replace `cmp x0, Xm` with `cmp x0, x0` in _apfs_vfsop_mount. The target CMP follows the pattern: BL (returns current_thread in x0), ADRP +
sources/FirmwarePatcher/Kernel/Patches/KernelPatchApfsMount.swift:43
MethodpatchBhsAfterCmp0x400
NOP the `b.hs` of the unique `cmp x8,#0x400 ; b.hs` rootfs size gate. Anchoring on the cmp+b.hs pair disambiguates 26.4's three `cmp x8,#0x400` (the o
sources/FirmwarePatcher/IBoot/IBootPatcher.swift:511
MethodpatchBootArgs
Redirect ADRP+ADD x2 to a custom boot-args string. Python: `patch_boot_args()`
sources/FirmwarePatcher/IBoot/IBootPatcher.swift:325
MethodpatchBootxPrecondition
NOP the conditional branch gating the modern iBoot bootx-handoff panic. Gate signature (Capstone-decoded): BL <bit_getter> ; tiny 4-insn
sources/FirmwarePatcher/IBoot/IBootPatcher.swift:634
MethodpatchBsdInitRootvp
NOP the conditional branch guarding the "rootvp not authenticated after mounting" panic. Flow: 1. Find the string "rootvp not authenticated after mou
sources/FirmwarePatcher/Kernel/Patches/KernelPatchBsdInit.swift:53
MethodpatchCbzBeforeError
Find unique `mov w8, #<errorCode>` and convert the cbz/cbnz 4 bytes before it into an unconditional branch to the same target. Python: `_patch_cbz_bef
sources/FirmwarePatcher/IBoot/IBootPatcher.swift:472
← previousnext →901–1,000 of 1,296, ranked by callers