Home | History | Annotate | Download | only in macho

Lines Matching defs:Open

19 // A File represents an open Mach-O file.
66 // Open() to avoid fighting over the seek offset
82 // Open returns a new ReadSeeker reading the segment.
83 func (s *Segment) Open() io.ReadSeeker { return io.NewSectionReader(s.sr, 0, 1<<63-1) }
104 // Open() to avoid fighting over the seek offset
120 // Open returns a new ReadSeeker reading the Mach-O section.
121 func (s *Section) Open() io.ReadSeeker { return io.NewSectionReader(s.sr, 0, 1<<63-1) }
167 // Open opens the named file using os.Open and prepares it for use as a Mach-O binary.
168 func Open(name string) (*File, error) {
169 f, err := os.Open(name)
183 // If the File was created using NewFile directly instead of Open,