Skip to content

Commit

Permalink
Update prebuilt.go
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Oct 5, 2024
1 parent 4b18082 commit 182629f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkg/dyld/prebuilt.go
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,11 @@ func (f *File) parsePrebuiltLoader(sr *io.SectionReader) (*PrebuiltLoader, error
if err := binary.Read(sr, binary.LittleEndian, &pbl.UUID); err != nil {
return nil, fmt.Errorf("failed to read prebuilt loader uuid: %v", err)
}
if err := binary.Read(sr, binary.LittleEndian, &pbl.Unknown); err != nil {
return nil, fmt.Errorf("failed to read prebuilt loader unknown: %v", err)
if err := binary.Read(sr, binary.LittleEndian, &pbl.CpuSubtype); err != nil {
return nil, fmt.Errorf("failed to read prebuilt loader cpu subtype: %v", err)
}
if err := binary.Read(sr, binary.LittleEndian, &pbl.Unused); err != nil {
return nil, fmt.Errorf("failed to read prebuilt loader unused: %v", err)
}
}

Expand Down

0 comments on commit 182629f

Please sign in to comment.