sdk/golang/Standard Library/GoDebugPlan9obj
Standard Library

GoDebugPlan9obj

Go stdlib package — debug/plan9obj. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.File.Close()Neutral
#
Signature
File.Close() error

Close closes the File.

.File.Section()Neutral
#
Signature
File.Section(name string) *Section

Section returns a section with the given name, or nil if no such

.File.Symbols()Neutral
#
Signature
File.Symbols() ([]Sym, error)

Symbols returns the symbol table for f.

.NewFile()Neutral
#
Signature
NewFile(r io.ReaderAt) (*File, error)

NewFile creates a new File for accessing a Plan 9 binary in an underlying reader.

.Open()Neutral
#
Signature
Open(name string) (*File, error)

Open opens the named file using os.Open and prepares it for use as a Plan 9 a.out binary.

.Section.Data()Neutral
#
Signature
Section.Data() ([]byte, error)

Data reads and returns the contents of the Plan 9 a.out section.

.Section.Open()Neutral
#
Signature
Section.Open() io.ReadSeeker

Open returns a new ReadSeeker reading the Plan 9 a.out section.

.File()Neutral
#
Signature
type File ...

A File represents an open Plan 9 a.out file.

.FileHeader()Neutral
#
Signature
type FileHeader ...

A FileHeader represents a Plan 9 a.out file header.

.Section()Neutral
#
Signature
type Section ...

A Section represents a single section in a Plan 9 a.out file.

Fully-Qualified Names

FQNField
debug/plan9objfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

go.mod
// standard library — no go.mod entry required
rule.py
from codepathfinder.go_rule import ...  # debug/plan9obj