Versions in this module Expand all Collapse all v0 v0.1.0 Sep 7, 2023 Changes in this version + var ErrEncryptedDeviceTree = errors.New("encrypted device tree") + func Extract(ipsw, destPath string) error + func Parse(ipswPath string) (map[string]*DeviceTree, error) + func ParseZipFiles(files []*zip.File) (map[string]*DeviceTree, error) + type DeviceTree map[string]Properties + func ParseImg3Data(data []byte) (*DeviceTree, error) + func ParseImg4Data(data []byte) (*DeviceTree, error) + func (dtree *DeviceTree) GetBoardConfig() (string, error) + func (dtree *DeviceTree) GetModel() (string, error) + func (dtree *DeviceTree) GetProductName() (string, error) + func (dtree *DeviceTree) Summary() (*Summary, error) + type Img4 struct + Data []byte + IM4P string + Name string + Version string + type Node struct + NumChildren uint32 + NumProperties uint32 + type NodeProperty struct + Length uint32 + Name [32]byte + type Properties map[string]interface + type Summary struct + BoardConfig string + CPUs []dtCPU + DeviceType string + ProductDescription string + ProductName string + ProductType string + SocGeneration string + SocName string + Timestamp time.Time