Documentation
¶
Index ¶
- func ForEachFileInIPSW(ipswPath, directory, pemDB string, handler func(string, string) error) error
- func ForEachIm4pInIPSW(ipswPath string, handler func(string, *macho.File) error) error
- func ForEachMacho(folder string, handler func(string, *macho.File) error) error
- func ForEachMachoInIPSW(ipswPath, pemDbPath string, handler func(string, *macho.File) error) error
- func ForEachPlistInIPSW(ipswPath, directory, pemDB string, handler func(string, string) error) error
- func ScanAllDMGs(ipswPath, pemDB string, betweenHandlers func(int), ...) error
- func ScanDmgWithMultipleHandlers(ipswPath, dmgPath, dmgType, pemDB string, ...) error
- func ScanDmgWithMultipleHandlersAndCallback(ipswPath, dmgPath, dmgType, pemDB string, betweenHandlers func(int), ...) error
- type DmgInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForEachFileInIPSW ¶
func ForEachIm4pInIPSW ¶
ForEachIm4pInIPSW walks the IPSW and calls the handler for each im4p firmware macho file found
func ForEachMacho ¶
ForEachMacho walks the folder and calls the handler for each macho file found
func ForEachMachoInIPSW ¶
ForEachMachoInIPSW walks the IPSW and calls the handler for each macho file found
func ForEachPlistInIPSW ¶
func ScanAllDMGs ¶
func ScanAllDMGs(ipswPath, pemDB string, betweenHandlers func(int), handlers ...func(string, string) error) error
ScanAllDMGs runs handlers across files in every DMG. If betweenHandlers != nil, fire it after each handler (per DMG) for TUIs.
func ScanDmgWithMultipleHandlers ¶
func ScanDmgWithMultipleHandlers(ipswPath, dmgPath, dmgType, pemDB string, handlers ...func(string, string) error) error
ScanDmgWithMultipleHandlers mounts once and runs multiple handlers per file. Why: multi-pass scans without repeated mounts.
func ScanDmgWithMultipleHandlersAndCallback ¶
func ScanDmgWithMultipleHandlersAndCallback(ipswPath, dmgPath, dmgType, pemDB string, betweenHandlers func(int), handlers ...func(string, string) error) error
ScanDmgWithMultipleHandlersAndCallback also runs a callback after each pass. Why: TUIs can publish totals/state between passes.
Types ¶
Click to show internal directories.
Click to hide internal directories.