package plan9obj Import Path debug/plan9obj (on golang.org and go.dev) Dependency Relation imports 5 packages, and imported by 0 packagesInvolved Source Files Package plan9obj implements access to Plan 9 a.out object files. plan9obj.goPackage-Level Type Names (total 5)A File represents an open Plan 9 a.out file. FileHeader FileHeader FileHeader.Bss uint32 FileHeader.Entry uint64 FileHeader.HdrSize uint64 FileHeader.LoadAddress uint64 FileHeader.Magic uint32 FileHeader.PtrSize int Sections *Section Close closes the File. If the File was created using NewFile directly instead of Open, Close has no effect. Section returns a section with the given name, or nil if no such section exists. Symbols returns the symbol table for f. *T : io.Closer func NewFile(r io.ReaderAt) (*File, error) func Open(name string) (*File, error)A FileHeader represents a Plan 9 a.out file header. Bss uint32 Entry uint64 HdrSize uint64 LoadAddress uint64 Magic uint32 PtrSize intA Section represents a single section in a Plan 9 a.out file. Embed ReaderAt for ReadAt method. Do not embed SectionReader directly to avoid having Read and Seek. If a client wants Read and Seek it must use Open() to avoid fighting over the seek offset with other clients. SectionHeader SectionHeader SectionHeader.Name string SectionHeader.Offset uint32 SectionHeader.Size uint32 Data reads and returns the contents of the Plan 9 a.out section. Open returns a new ReadSeeker reading the Plan 9 a.out section. ( T) ReadAt(p byte, off int64) (n int, err error) T : io.ReaderAt func (*File).Section(name string) *SectionA SectionHeader represents a single Plan 9 a.out section header. This structure doesn't exist on-disk, but eases navigation through the object file. Name string Offset uint32 Size uint32Package-Level Functions (total 2)NewFile creates a new File for accessing a Plan 9 binary in an underlying reader. The Plan 9 binary is expected to start at position 0 in the ReaderAt.Open opens the named file using os.Open and prepares it for use as a Plan 9 a.out binary.
|The pages are generated with Golds v0.3.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds.|