Go stdlib package — debug/pe. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.COFFSymbol.FullName()NeutralCOFFSymbol.FullName(st StringTable) (string, error)
FullName finds real name of symbol sym. Normally name is stored
.File.COFFSymbolReadSectionDefAux()NeutralFile.COFFSymbolReadSectionDefAux(idx int) (*COFFSymbolAuxFormat5, error)
COFFSymbolReadSectionDefAux returns a blob of auxiliary information
.File.ImportedLibraries()NeutralFile.ImportedLibraries() ([]string, error)
ImportedLibraries returns the names of all libraries
.File.ImportedSymbols()NeutralFile.ImportedSymbols() ([]string, error)
ImportedSymbols returns the names of all symbols
.File.Section()NeutralFile.Section(name string) *Section
Section returns the first section with the given name, or nil if no such
.NewFile()NeutralNewFile(r io.ReaderAt) (*File, error)
NewFile creates a new File for accessing a PE binary in an underlying reader.
.Open()NeutralOpen(name string) (*File, error)
Open opens the named file using os.Open and prepares it for use as a PE binary.
| FQN | Field | |
|---|---|---|
| debug/pe | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
// standard library — no go.mod entry required
from codepathfinder.go_rule import ... # debug/pe