MCPcopy Create free account

hub / github.com/bradfitz/shotizam / functions

Functions87 in github.com/bradfitz/shotizam

↓ 9 callersMethodfield
field returns the nth field of the _func struct. It panics if n == 0; for n == 0, call f.entryPC. Most callers should use a named field accessor (just
gosym/pclntab.go:476
↓ 5 callersMethodpc
pc returns the PC of the i'th func in f.
gosym/pclntab.go:417
↓ 4 callersMethodfuncTab
funcTab returns t's funcTab.
gosym/pclntab.go:400
↓ 4 callersMethodfunctabFieldSize
functabFieldSize returns the size in bytes of a single functab field.
gosym/pclntab.go:392
↓ 4 callersMethodtableSize
(off uint32)
gosym/extra.go:27
↓ 3 callersMethodPackageName
PackageName returns the package part of the symbol name, or the empty string if there is none.
gosym/symtab.go:62
↓ 3 callersMethodcuOffset
()
gosym/pclntab.go:471
↓ 3 callersMethodentryPC
entryPC returns the func's entry PC.
gosym/pclntab.go:456
↓ 3 callersMethodfuncData
funcData returns the ith funcData in t.functab.
gosym/pclntab.go:445
↓ 3 callersMethodisGo12
Go 1.2 symbol table format. See golang.org/s/go12symtab. A general note about the methods here: rather than try to avoid index out of bounds errors,
gosym/pclntab.go:168
↓ 3 callersMethodnameWithoutInst
nameWithoutInst returns s.Name if s.Name has no brackets (does not reference an instantiated type, function, or method). If s.Name contains brackets,
gosym/symtab.go:47
↓ 3 callersMethodparse
(targetPC uint64, targetLine int)
gosym/pclntab.go:81
↓ 3 callersMethodpcfile
()
gosym/pclntab.go:469
↓ 3 callersMethodpcln
()
gosym/pclntab.go:470
↓ 3 callersFunctionsqlString
(s string)
shotizam.go:390
↓ 3 callersMethodstep
step advances to the next pc, value pair in the encoded table.
gosym/pclntab.go:492
↓ 3 callersMethodstringFrom
stringFrom returns a Go string found at off from a position.
gosym/pclntab.go:376
↓ 3 callersMethoduintptr
uintptr returns the pointer-sized value encoded at b. The pointer size is dictated by the table being read.
gosym/pclntab.go:182
↓ 2 callersMethodCount
Count returns the number of func entries in f.
gosym/pclntab.go:412
↓ 2 callersMethodIsZero
IsZero reports whether f is the zero value.
gosym/pclntab.go:451
↓ 2 callersFunctionOpen
(ra io.ReaderAt, size int64)
shotizam.go:43
↓ 2 callersMethodPCToFunc
PCToFunc returns the function containing the program counter pc, or nil if there is no such function.
gosym/symtab.go:550
↓ 2 callersMethodPtrSize
()
gosym/extra.go:8
↓ 2 callersMethodfindFunc
findFunc returns the funcData corresponding to the given program counter.
gosym/pclntab.go:336
↓ 2 callersMethodfuncOff
funcOff returns the funcdata offset of the i'th func in f.
gosym/pclntab.go:426
↓ 2 callersMethodgo12PCToLine
go12PCToLine maps program counter to line number for the Go 1.2+ pcln table.
gosym/pclntab.go:573
↓ 2 callersFunctiongoPackageOfName
_type..eq.crypto/elliptic.CurveParams _vendor/golang.org/x/net/route.errInvalidAddr _context.(*emptyCtx).Err _compress/gzip.(*Reader).Read _go.itab.*t
cmd/oldgosize/gosize.go:120
↓ 2 callersMethodinitFileMap
initFileMap initializes the map from file name to file number.
gosym/pclntab.go:660
↓ 2 callersFunctionisHexChar
(b byte)
cmd/oldgosize/gosize.go:181
↓ 2 callersMethodnfuncdataFieldNum
()
gosym/extra.go:91
↓ 2 callersMethodpcvalue
pcvalue reports the value associated with the target pc. off is the offset to the beginning of the pc-value table, and entry is the start PC for the c
gosym/pclntab.go:512
↓ 2 callersFunctionprintSortedMap
(m map[string]int64)
cmd/oldgosize/gosize.go:187
↓ 2 callersMethodreadvarint
readvarint reads, removes, and returns a varint from *pp.
gosym/pclntab.go:349
↓ 2 callersFunctionrecMap
(recs []Rec)
shotizam.go:438
↓ 2 callersMethodstring
string returns a Go string found at off.
gosym/pclntab.go:387
↓ 2 callersMethoduint
uint returns the uint stored at b.
gosym/pclntab.go:431
↓ 2 callersFunctionwalksymtab
(data []byte, fn func(sym) error)
gosym/symtab.go:206
↓ 1 callersMethodForeachTableEntry
(off uint32, fn func(val int64, valBytes int, pc uint64, pcBytes int))
gosym/extra.go:35
↓ 1 callersFunctionNewLineTable
NewLineTable returns a new PC/line table corresponding to the encoded data. Text must be the start address of the corresponding text segment.
gosym/pclntab.go:152
↓ 1 callersFunctionNewReader
(ra io.ReaderAt)
ar/ar.go:40
↓ 1 callersFunctionNewTable
NewTable decodes the Go symbol table (the ".gosymtab" section in ELF), returning an in-memory representation. Starting with Go 1.3, the Go symbol tabl
gosym/symtab.go:349
↓ 1 callersMethodNext
Next returns the next file or an error. On EOF, the error is (nil, io.EOF).
ar/ar.go:65
↓ 1 callersMethodTableSizePCData
tab is 0-based table number.
gosym/extra.go:15
↓ 1 callersMethodTableSizePCFile
()
gosym/extra.go:10
↓ 1 callersMethodTableSizePCLn
()
gosym/extra.go:12
↓ 1 callersMethodTableSizePCSP
()
gosym/extra.go:11
↓ 1 callersMethodalineFromLine
(path string, line int)
gosym/symtab.go:708
↓ 1 callersFunctionarFile
(ra io.ReaderAt)
shotizam.go:64
↓ 1 callersMethoddeferreturn
()
gosym/pclntab.go:468
↓ 1 callersFunctiondiffMap
(a, b map[RecKey]int64)
shotizam.go:446
↓ 1 callersFunctionelfFile
(ef *elf.File, size int64)
shotizam.go:83
↓ 1 callersMethodfindFileLine
findFileLine scans one function in the binary looking for a program counter in the given file on the given line. It does so by running the pc-value ta
gosym/pclntab.go:531
↓ 1 callersMethodfuncName
funcName returns the name of the function found at off.
gosym/pclntab.go:365
↓ 1 callersMethodgo12Funcs
go12Funcs returns a slice of Funcs derived from the Go 1.2+ pcln table.
gosym/pclntab.go:296
↓ 1 callersMethodgo12LineToPC
go12LineToPC maps a (file, line) pair to a program counter for the Go 1.2+ pcln table.
gosym/pclntab.go:622
↓ 1 callersMethodgo12MapFiles
go12MapFiles adds to m a key for every file in the Go 1.2 LineTable. Every key maps to obj. That's not a very interesting map, but it provides a way f
gosym/pclntab.go:688
↓ 1 callersMethodgo12PCToFile
go12PCToFile maps program counter to file name for the Go 1.2+ pcln table.
gosym/pclntab.go:590
↓ 1 callersFunctionisUnitHeader
(line []byte)
cmd/oldgosize/gosize.go:167
↓ 1 callersMethodlineFromAline
* * Object files */ This is legacy code for Go 1.1 and earlier, which used the Plan 9 format for pc-line tables. This code was never quite correct.
gosym/symtab.go:666
↓ 1 callersFunctionmachoFile
(mo *macho.File, ra io.ReaderAt, size int64)
shotizam.go:121
↓ 1 callersMethodnameOff
()
gosym/pclntab.go:467
↓ 1 callersFunctionnopWriteCloser
()
shotizam.go:404
↓ 1 callersMethodnumFuncData
()
gosym/extra.go:87
↓ 1 callersMethodnumPCData
()
gosym/extra.go:85
↓ 1 callersMethodparsePclnTab
parsePclnTab parses the pclntab, setting the version.
gosym/pclntab.go:190
↓ 1 callersFunctionpcdataSuffix
(n int)
shotizam.go:378
↓ 1 callersMethodpcsp
* From src/cmd/link/internal/ld/pcln.go.writeFuncs() and src/runtime/runtime2.go._func: uint32 entryOff; // offset of func entry PC from textStart in
gosym/extra.go:84
↓ 1 callersFunctionpeFile
(pf *pe.File, ra io.ReaderAt, size int64)
shotizam.go:156
↓ 1 callersFunctionreadBaseRecs
()
shotizam.go:414
↓ 1 callersMethodslice
(pc uint64)
gosym/pclntab.go:116
↓ 1 callersMethodtableOff
(tab uint32)
gosym/extra.go:101
MethodBaseName
BaseName returns the symbol name without the package or receiver name.
gosym/symtab.go:117
MethodError
()
gosym/symtab.go:758
MethodError
()
gosym/symtab.go:768
MethodError
()
gosym/symtab.go:780
MethodLineToPC
LineToPC returns the program counter for the given line number, considering only program counters before maxpc. Deprecated: Use Table's LineToPC meth
gosym/pclntab.go:136
MethodLineToPC
LineToPC looks up the first program counter on the given line in the named file. It returns UnknownPathError or UnknownLineError if there is an error
gosym/symtab.go:585
MethodLookupFunc
LookupFunc returns the text, data, or bss symbol with the given name, or nil if no such symbol is found.
gosym/symtab.go:631
MethodLookupSym
LookupSym returns the text, data, or bss symbol with the given name, or nil if no such symbol is found.
gosym/symtab.go:615
MethodPCToLine
PCToLine returns the line number for the given program counter. Deprecated: Use Table's PCToLine method instead.
gosym/pclntab.go:124
MethodPCToLine
PCToLine looks up line number information for a program counter. If there is no information, it returns fn == nil.
gosym/symtab.go:569
MethodReceiverName
ReceiverName returns the receiver type name of this symbol, or the empty string if there is none. A receiver name is only detected in the case that s
gosym/symtab.go:92
MethodStatic
Static reports whether this symbol is static (not visible outside its file).
gosym/symtab.go:40
MethodSymByAddr
SymByAddr returns the text, data, or bss symbol starting at the given address.
gosym/symtab.go:642
FunctionTestGoPackageOfName
(t *testing.T)
cmd/oldgosize/gosize_test.go:9
Functionmain
()
shotizam.go:208
Functionmain
()
cmd/oldgosize/gosize.go:28