- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ErrNoSymbols (0.19 sec)
-
src/debug/plan9obj/file.go
} return syms, nil } // ErrNoSymbols is returned by [File.Symbols] if there is no such section // in the File. var ErrNoSymbols = errors.New("no symbol section") // Symbols returns the symbol table for f. func (f *File) Symbols() ([]Sym, error) { symtabSection := f.Section("syms") if symtabSection == nil { return nil, ErrNoSymbols } symtab, err := symtabSection.Data()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 7.2K bytes - Viewed (0) -
src/debug/elf/symbols_test.go
} if err != nil { t.Errorf("TestSymbols: cannot open file %s: %v", file, err) return } defer f.Close() fs, err := getfunc(f) if err != nil && err != ErrNoSymbols { t.Error(err) return } else if err == ErrNoSymbols { fs = []Symbol{} } if !reflect.DeepEqual(ts, fs) { t.Errorf("%s: Symbols = %v, want %v", file, ts, fs) } } for file, ts := range symbolsGolden {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 05 18:18:26 UTC 2019 - 13.4K bytes - Viewed (0) -
src/debug/elf/file.go
} // ErrNoSymbols is returned by [File.Symbols] and [File.DynamicSymbols] // if there is no such section in the File. var ErrNoSymbols = errors.New("no symbol section") func (f *File) getSymbols32(typ SectionType) ([]Symbol, []byte, error) { symtabSection := f.SectionByType(typ) if symtabSection == nil { return nil, nil, ErrNoSymbols } data, err := symtabSection.Data()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 23 16:49:58 UTC 2024 - 43.1K bytes - Viewed (0) -
api/go1.4.txt
pkg debug/elf, type R_AARCH64 int # CL 107530043 debug/elf: add (*File).DynamicSymbols, ErrNoSymbols, and tests for (*File).Symbols and (*File).DynamicSymbols, and formalize symbol order., Pietro Gagliardi <******@****.***> pkg debug/elf, method (*File) DynamicSymbols() ([]Symbol, error) pkg debug/elf, var ErrNoSymbols error # CL 106460044 debug/plan9obj, cmd/addr2line: on Plan 9 use a.out header, Aram Hăvărneanu <******@****.***>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 12 03:01:01 UTC 2014 - 34K bytes - Viewed (0) -
api/go1.18.txt
pkg debug/dwarf, type StructField struct, DataBitOffset int64 pkg debug/elf, const R_PPC64_RELATIVE = 22 pkg debug/elf, const R_PPC64_RELATIVE R_PPC64 pkg debug/plan9obj, var ErrNoSymbols error pkg go/ast, method (*IndexListExpr) End() token.Pos pkg go/ast, method (*IndexListExpr) Pos() token.Pos pkg go/ast, type FuncType struct, TypeParams *FieldList pkg go/ast, type IndexListExpr struct
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 13K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go
// someone passes a kernel path that doesn't contain "vmlinux" AND // (2) _stext is page-aligned AND (3) _stext is not at Vaddr symbols, err := ef.Symbols() if err != nil && err != elf.ErrNoSymbols { return nil, err } // The kernel relocation symbol (the mapping start address) can be either // _text or _stext. When profiles are generated by `perf`, which one was used is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 22.3K bytes - Viewed (0) -
src/debug/elf/file_test.go
if !reflect.DeepEqual(tl, fl) { t.Errorf("open %s: DT_NEEDED = %v, want %v", tt.file, tl, fl) } symbols, err := f.Symbols() if tt.symbols == nil { if !errors.Is(err, ErrNoSymbols) { t.Errorf("open %s: Symbols() expected ErrNoSymbols, have nil", tt.file) } if symbols != nil { t.Errorf("open %s: Symbols() expected no symbols, have %v", tt.file, symbols) } } else { if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 60.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"ET_HIPROC", Const, 0}, {"ET_LOOS", Const, 0}, {"ET_LOPROC", Const, 0}, {"ET_NONE", Const, 0}, {"ET_REL", Const, 0}, {"EV_CURRENT", Const, 0}, {"EV_NONE", Const, 0}, {"ErrNoSymbols", Var, 4}, {"File", Type, 0}, {"File.FileHeader", Field, 0}, {"File.Progs", Field, 0}, {"File.Sections", Field, 0}, {"FileHeader", Type, 0}, {"FileHeader.ABIVersion", Field, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)