MCPcopy Create free account

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

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

↓ 2 callersFunction_align4
(n: int)
scripts/patchers/cfw_patch_post_restore_dt.py:71
↓ 2 callersFunction_find_adrp_add_ref
Find ADRP+ADD pair that computes target_va in code. Handles non-adjacent pairs: tracks recent ADRP results per register and matches them with
scripts/patchers/cfw_patch_cache_loader.py:125
↓ 2 callersFunction_find_cstring_start
Find the start of the null-terminated C string containing match_off. Scans backwards from match_off to find the previous null byte (or section
scripts/patchers/cfw_patch_cache_loader.py:111
↓ 2 callersFunction_find_swap_size_insn
Locate the `mov w3,#imm` that sets the SwapEnd input-state size. Anchored on the external-method call setup: `mov w1,#5` (selector), immediat
scripts/patchers/cfw_patch_iomfb_swapend.py:109
↓ 2 callersFunction_get_node_name
(node: DTNode)
scripts/patchers/cfw_patch_post_restore_dt.py:140
↓ 2 callersFunction_next_branch
Return (idx, insn) of the first insn at or after start_idx whose mnemonic is in `mnemonics`, within `max_scan` instructions. None if not found
scripts/patchers/cfw_patch_watchdogd.py:182
↓ 2 callersFunction_operand_reg_name
Return the lowercase register name of the op_index-th operand of insn (e.g. 'w8', 'x9'), or None.
scripts/patchers/cfw_patch_watchdogd.py:194
↓ 2 callersFunction_resolve_local_symbol
Resolve a symbol to its vmaddr via the DSC's own `.symbols` local-symbol table (in-image; no repo-exported dumps).
scripts/patchers/cfw_patch_xpc_lwcr.py:66
↓ 2 callersFunction_resolve_symbols_in_image
Resolve a set of ObjC method symbols in `image_path` against `dsc_path` via `ipsw dyld symaddr`. Returns {symbol: vmaddr}. Raises if any are missi
scripts/patchers/cfw_patch_camera_dsc.py:48
↓ 2 callersMethodaddSubImm12
Unsigned 12-bit immediate of an ADD/SUB (immediate), bits [21:10].
sources/FirmwarePatcher/ARM64/ARM64Inst.swift:28
↓ 2 callersMethodalign4
Align a value up to the next 4-byte boundary.
sources/FirmwarePatcher/DeviceTree/DeviceTreePatcher.swift:725
↓ 2 callersFunctionasm_at
(s, addr)
scripts/patchers/cfw_asm.py:64
↓ 2 callersMethodclipboardSet
(text: String)
sources/vphone-cli/VPhoneControl.swift:563
↓ 2 callersMethodcloseQuickLook
()
sources/vphone-cli/VPhoneFileBrowserModel.swift:137
↓ 2 callersMethodconnect
(device: VZVirtioSocketDevice)
sources/vphone-cli/VPhoneCameraServer.swift:54
↓ 2 callersMethodconnect
(device: VZVirtioSocketDevice)
sources/vphone-cli/VPhoneControl.swift:145
↓ 2 callersMethodcreateModel
()
sources/vphone-cli/VPhoneHardwareModel.swift:19
↓ 2 callersMethoddecodeCString
Decode a null-terminated C string from raw bytes.
sources/FirmwarePatcher/DeviceTree/DeviceTreePatcher.swift:730
↓ 2 callersMethoddefaultROMSource
()
sources/VPhoneCore/VPhoneBundleOps.swift:28
↓ 2 callersMethoddefaultSEPROMSource
()
sources/VPhoneCore/VPhoneBundleOps.swift:31
↓ 2 callersMethoddelete
(bundleNamed name: String, in library: VPhoneLibrary)
sources/VPhoneCore/VPhoneBundleOps.swift:126
↓ 2 callersMethoddeleteSelected
()
sources/vphone-cli/VPhoneFileBrowserModel.swift:255
↓ 2 callersFunctiondescribeNetwork
(_ net: VPhoneVirtualMachineManifest.NetworkConfig)
sources/vphone-cli/VPhoneVMCLI.swift:168
↓ 2 callersMethoddisconnect
(ifCurrentAttempt expectedAttemptToken: UInt64?)
sources/vphone-cli/VPhoneControl.swift:745
↓ 2 callersMethodencodeBL
Encode BL (branch with link) instruction. Format: `[31:26] = 0b100101`, `[25:0] = signed offset / 4` Range: +/-128 MB
sources/FirmwarePatcher/ARM64/ARM64Encoder.swift:28
↓ 2 callersMethodencodeFixedBytes
Encode raw bytes for a property whose layout the caller has prepared (typically a multi-string NUL-delimited blob like `compatible`). Truncates if lon
sources/FirmwarePatcher/DeviceTree/DeviceTreePatcher.swift:889
↓ 2 callersMethodencodeFixedString
Encode a string value with null termination, padded/truncated to a fixed length.
sources/FirmwarePatcher/DeviceTree/DeviceTreePatcher.swift:876
↓ 2 callersMethodencodeInteger
Encode an integer value as little-endian bytes.
sources/FirmwarePatcher/DeviceTree/DeviceTreePatcher.swift:899
↓ 2 callersMethodencodeTestBitBranch
Encode TBZ/TBNZ (test bit and branch). Target must be 4-byte aligned and within the signed 14-bit range (+/-32 KB). Format: `[31] = b5`, `[30:24] = 0
sources/FirmwarePatcher/ARM64/ARM64Encoder.swift:42
↓ 2 callersFunctionfind_restore_dir
(vm_dir: Path)
scripts/pymobiledevice3_bridge.py:73
↓ 2 callersFunctionfind_symbol_va
Search Mach-O symbol table for a symbol containing name_fragment. Returns the symbol's VA, or -1 if not found.
scripts/patchers/cfw_asm.py:176
↓ 2 callersMethodfinish
()
sources/vphone-cli/VPhoneProgressBar.swift:30
↓ 2 callersFunctioninstall_logging
(verbose: int)
scripts/pymobiledevice3_bridge.py:42
↓ 2 callersMethodisADRP
ADRP (any Rd): op=1, [28:24]=10000.
sources/FirmwarePatcher/ARM64/ARM64Inst.swift:33
↓ 2 callersMethodisANDRegW
AND Wd, Wn, Wm — 32-bit shifted-register AND (imm6=0; shift type left free, harmless at shift amount 0): [31:24]=00001010, N=0.
sources/FirmwarePatcher/ARM64/ARM64Inst.swift:49
↓ 2 callersMethodisBEQ
B.EQ — conditional branch, [31:24]=0x54, bit4=0, cond=0000.
sources/FirmwarePatcher/ARM64/ARM64Inst.swift:58
↓ 2 callersMethodisCBZX
CBZ Xn (sf=1): top byte 0xB4.
sources/FirmwarePatcher/ARM64/ARM64Inst.swift:67
↓ 2 callersMethodisCMPReg64
CMP Xn, Xm ≡ SUBS XZR, Xn, Xm (64-bit, shift=0, imm6=0); Rn/Rm left free.
sources/FirmwarePatcher/ARM64/ARM64Inst.swift:39
↓ 2 callersMethodisLSRImm7W
LSR Wd, Wn, #7 ≡ UBFM Wd, Wn, #7, #31 (immr=7, imms=0x1F).
sources/FirmwarePatcher/ARM64/ARM64Inst.swift:52
↓ 2 callersMethodisSUBImm32
SUB Wd, Wn, #imm — 32-bit SUB (immediate), shift=0; [31:22]=0101000100.
sources/FirmwarePatcher/ARM64/ARM64Inst.swift:42
↓ 2 callersMethodisSupportedFile
(_ url: URL)
sources/vphone-cli/VPhoneInstallPackage.swift:10
↓ 2 callersMethodlistFiles
(path: String)
sources/vphone-cli/VPhoneControl.swift:382
↓ 2 callersFunctionload
(path)
scripts/fw_manifest.py:24
↓ 2 callersMethodmouseUp
(with event: NSEvent)
sources/vphone-cli/VPhoneVirtualMachineView.swift:65
↓ 2 callersMethodparsePIDs
(_ output: String)
sources/VPhoneCore/VPhoneLaunchLayout.swift:39
↓ 2 callersFunctionpatch_avf_authorization_always_authorized
Replace `+[AVCaptureDevice authorizationStatusForMediaType:]` with `mov w0, #3; ret`. Authorized = 3 across every media type — broader than ju
scripts/patchers/cfw_patch_camera_dsc.py:131
↓ 2 callersFunctionpatch_dsc_maxslide
(chunks_dir, *, kernel_region_size=KERNEL_SHARED_REGION_SIZE, dry_run=False, force=False)
scripts/patchers/cfw_patch_dsc_maxslide.py:46
↓ 2 callersFunctionpatch_lockdown_mode
(chunks_dir, *, dry_run=False)
scripts/patchers/cfw_patch_lockdown_mode.py:75
↓ 2 callersFunctionpatch_lsd_embedded_reg
(chunks_dir, *, dry_run=False)
scripts/patchers/cfw_patch_lsd_embedded_reg.py:132
↓ 2 callersFunctionpatch_xpc_lwcr
(chunks_dir, *, dry_run=False)
scripts/patchers/cfw_patch_xpc_lwcr.py:152
↓ 2 callersMethodproductVersionAtLeast
Dotted `ProductVersion` >= major.minor, compared numerically. nil is false.
sources/FirmwarePatcher/Pipeline/FirmwarePipeline.swift:483
↓ 2 callersMethodpythonIsUsable
A python is usable only if it carries an `ipsw_parser` new enough for the bridge — the exact gap behind `IPSW has no attribute 'create_from_path'` whe
sources/VPhoneCore/VPhoneResources.swift:113
↓ 2 callersMethodreadMessage
(fd: Int32)
sources/vphone-cli/VPhoneControl.swift:958
↓ 2 callersMethodread_at_vma
Read `length` bytes starting at `vma`, contained in a single mapping. With `allow_short=True`, returns whatever is available within th
scripts/patchers/cfw_dsc_chunks.py:262
↓ 2 callersMethodremoveBuiltFirmware
Remove the `iPhone*_Restore/` tree from the bundle; returns its name, or nil if absent. Record versions (`derive`) first — it reads this directory.
sources/VPhoneCore/VPhoneRestoreInfo.swift:88
↓ 2 callersMethodresolveNewName
Resolve a NEW name (rename/clone destination): return it if given, else prompt for text.
sources/vphone-cli/VPhoneVMSelection.swift:20
↓ 2 callersFunctionresolve_avf_auth_symbol
Resolve +[AVCaptureDevice authorizationStatusForMediaType:] in AVFCapture.
scripts/patchers/cfw_patch_camera_dsc.py:88
↓ 2 callersFunctionresolve_device
(ecid: Optional[int], udid: Optional[str])
scripts/pymobiledevice3_bridge.py:84
↓ 2 callersMethodresponds
(to aSelector: Selector!)
sources/vphone-cli/VPhoneTouchIDMonitor.swift:83
↓ 2 callersMethodrunCountingTarPipe
Stream an archive through a `/usr/bin/tar` consumer that reads on stdin, invoking `onBytes` with the running byte total so a caller can drive a progre
sources/VPhoneCore/VPhoneProcessRunner.swift:93
↓ 2 callersMethodrunWithAdminPrivileges
Run `executable args` as root via macOS's native auth dialog (`osascript` → `do shell script … with administrator privileges`). `do shell script` runs
sources/VPhoneCore/VPhoneProcessRunner.swift:266
↓ 2 callersMethodrunningExecutable
The running executable, resolved reliably. `CommandLine.arguments[0]` is NOT reliable — under a PATH/symlink launch (e.g. a Homebrew symlink) it's a b
sources/VPhoneCore/VPhoneResources.swift:26
↓ 2 callersMethodsaveScreenshot
(view: NSView)
sources/vphone-cli/VPhoneScreenRecorder.swift:151
↓ 2 callersMethodscan
()
sources/VPhoneCore/VPhoneLibrary.swift:52
↓ 2 callersMethodsend
Write `line + "\n"` to the child's stdin.
sources/VPhoneCore/VPhoneManagedProcess.swift:132
↓ 2 callersMethodsendHome
()
sources/vphone-cli/VPhoneKeyHelper.swift:62
↓ 2 callersMethodsendLocation
(latitude: Double, longitude: Double, altitude: Double, horizontalAccuracy: Double, verticalAccuracy: Double,
sources/vphone-cli/VPhoneControl.swift:707
↓ 2 callersMethodshutdownSocket
(fd: Int32)
sources/vphone-cli/VPhoneControl.swift:998
↓ 2 callersMethodstartForwarding
Begin sending location to the guest. Safe to call on every (re)connect.
sources/vphone-cli/VPhoneLocationProvider.swift:71
↓ 2 callersMethodstartStreaming
()
sources/vphone-cli/VPhoneCameraServer.swift:112
↓ 2 callersMethodstopStreaming
()
sources/vphone-cli/VPhoneCameraServer.swift:149
↓ 2 callersMethodsuccessMessage
(for fileName: String, detail: String)
sources/vphone-cli/VPhoneInstallPackage.swift:19
↓ 2 callersMethodsyncBatteryFromHost
()
sources/vphone-cli/VPhoneMenuBattery.swift:112
↓ 2 callersMethodsyncLowPowerModeFromHost
()
sources/vphone-cli/VPhoneMenuBattery.swift:141
↓ 2 callersMethodsynthesizeMouseEvent
Synthesize an NSEvent at a given window point.
sources/vphone-cli/VPhoneVirtualMachineView.swift:180
↓ 2 callersMethodtake
()
sources/VPhoneCore/VPhoneProcessRunner.swift:29
↓ 2 callersMethodtoolbar
(_: NSToolbar, itemForItemIdentifier itemIdentifier: NSToolbarItem.Identifier, willBeInsertedIntoToolbar _: Bo
sources/vphone-cli/VPhoneWindowController.swift:102
↓ 2 callersMethoduploadFiles
(urls: [URL])
sources/vphone-cli/VPhoneFileBrowserModel.swift:218
↓ 2 callersMethoduserDataRoot
The per-user data root: `$VPHONE_ROOT` when set, else `~/.vphone`. Both `VPhoneResources` (ipsws/tools/debs/venv) and `VPhoneLibrary` (VMs) derive fro
sources/VPhoneCore/VPhoneResources.swift:76
↓ 2 callersMethodvalidate
()
sources/vphone-cli/VPhoneCLI.swift:76
↓ 2 callersMethodwrite
Save manifest to a plist file
sources/VPhoneCore/VPhoneVirtualMachineManifest.swift:187
↓ 1 callersFunction_all_symbols
Return {symbol_name: vmaddr} for every symbol `ipsw` reports in `image`.
scripts/patchers/cfw_patch_iomfb_force_kern.py:67
↓ 1 callersFunction_already_patched_at
Return True iff the cbnz slot is already a NOP and the cset slot is already a `mov wN, #1` (any wN). Used for idempotence.
scripts/patchers/cfw_patch_watchdogd.py:261
↓ 1 callersFunction_classify
Walk back from `string_vma` to find the containing Mach-O header and return its install name (LC_ID_DYLIB), or None if not found.
scripts/patchers/cfw_patch_hv_vmm_dsc.py:102
↓ 1 callersFunction_disasm
(chunks, vma, n=60)
scripts/patchers/cfw_patch_lockdown_mode.py:50
↓ 1 callersFunction_disasm_function
Disassemble from `vma` up to the first ret/retab (function end) or `max_insns`, whichever comes first.
scripts/patchers/cfw_patch_iomfb_swapend.py:97
↓ 1 callersFunction_disasm_function
(chunks, vma, max_insns=96)
scripts/patchers/cfw_patch_lsd_embedded_reg.py:98
↓ 1 callersFunction_disasm_function
(chunks, vma, max_insns=160)
scripts/patchers/cfw_patch_xpc_lwcr.py:92
↓ 1 callersFunction_encode_fixed_string
(s: str, length: int)
scripts/patchers/cfw_patch_post_restore_dt.py:154
↓ 1 callersFunction_enumerate_chunks
Return list of chunk file paths in numeric order; the unsuffixed file first, then .01, .02, ... `.symbols` is excluded (it doesn't map code).
scripts/patchers/cfw_dsc_chunks.py:62
↓ 1 callersFunction_extract_branch_target_off
(insn)
scripts/patchers/cfw_patch_jetsam.py:7
↓ 1 callersFunction_find_adrp_add_xrefs
Yield the (adrp_va, add_va) of every ADRP+ADD pair that resolves to target_va. Tracks recent ADRP results per destination register; pairs the
scripts/patchers/cfw_patch_watchdogd.py:145
↓ 1 callersFunction_find_code_directories
Find every CS_CodeDirectory in the binary's LC_CODE_SIGNATURE blob. Returns a list of dicts (one per CD), each with the fields from `_parse_c
scripts/patchers/cfw_macho_codesign.py:169
↓ 1 callersFunction_find_consistency_check
Locate the LWCR self-consistency idiom and return the (cset, eor, tbz) instructions plus the error_code register. Shape: cset wC, ne
scripts/patchers/cfw_patch_xpc_lwcr.py:109
↓ 1 callersFunction_find_cstring_va
Locate "kern.hv_vmm_present\0" in any cstring-like section. Returns (va, file_offset, section_name) or None.
scripts/patchers/cfw_patch_watchdogd.py:123
↓ 1 callersFunction_find_error_gate
The `cmn wR, #1; b.eq` sysctl-error idiom, preceded by a bl.
scripts/patchers/cfw_patch_lockdown_mode.py:60
↓ 1 callersFunction_find_gate
Locate the conditional branch that gates the entitled result: the `cbz`/`cbnz` on w0 whose fall-through instruction is `mov w<reg>,#1` (the YE
scripts/patchers/cfw_patch_lsd_embedded_reg.py:108
↓ 1 callersFunction_find_imp_via_objc_metadata
Resolve the method IMP through ObjC runtime metadata (relative method lists). selector cstring -> __objc_selrefs entry -> relative method-list en
scripts/patchers/cfw_patch_diskimagesiod.py:38
↓ 1 callersFunction_find_lc_code_signature
Return (dataoff, datasize) for the binary's LC_CODE_SIGNATURE, or None.
scripts/patchers/cfw_macho_codesign.py:85
↓ 1 callersFunction_find_nearby_branch
Find a conditional branch after a BL (function call) near ref_foff. The typical pattern is: ADRP+ADD (load string argument) ← ref_foff
scripts/patchers/cfw_patch_cache_loader.py:165
← previousnext →101–200 of 1,296, ranked by callers