Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ErrNoSymbols (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top