Documentation
¶
Index ¶
Constants ¶
View Source
const ( Undefined = SymbolType('U') // Undefined Text = SymbolType('T') // Text (code) section symbol Data = SymbolType('D') // Data (global var) section symbol Rodata = SymbolType('R') // Read-only data (rodata) section symbol BSS = SymbolType('B') // BSS (uninitialized global var) section symbol LocalText = SymbolType('t') // Local text (code) section symbol LocalData = SymbolType('d') // Local data (local var) section symbol LocalBSS = SymbolType('b') // Local BSS (uninitialized local var) section symbol LocalASym = SymbolType('s') // Local symbol in an assembler source file )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct {
// contains filtered or unexported fields
}
Cmd represents a nm command.
type IndexBuilder ¶
type IndexBuilder struct {
// contains filtered or unexported fields
}
func NewIndexBuilder ¶
func NewIndexBuilder(nm *Cmd) *IndexBuilder
func (*IndexBuilder) Index ¶
func (p *IndexBuilder) Index(fromDir []string, toDir string, progress func(path string)) error
func (*IndexBuilder) IndexDir ¶
func (p *IndexBuilder) IndexDir(fromDir, toDir string, progress func(path string)) error
func (*IndexBuilder) IndexFile ¶
func (p *IndexBuilder) IndexFile(arFile, outFile string) (err error)
type MatchedFile ¶
type MatchedFile struct {
ArFile string
Items []*MatchedItem
}
MatchedFile represents a matched file
type MatchedItem ¶
type MatchedItem struct {
ObjFile string
Symbol string
Type SymbolType
}
MatchedItem represents a matched item
type ObjectFile ¶
ObjectFile represents an object file.
Click to show internal directories.
Click to hide internal directories.