Go stdlib package — debug/macho. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.File.DWARF()NeutralFile.DWARF() (*dwarf.Data, error)
DWARF returns the DWARF debug information for the Mach-O file.
.File.ImportedLibraries()NeutralFile.ImportedLibraries() ([]string, error)
ImportedLibraries returns the paths 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
.File.Segment()NeutralFile.Segment(name string) *Segment
Segment returns the first Segment with the given name, or nil if no such segment exists.
| FQN | Field | |
|---|---|---|
| debug/macho | 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/macho