Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Sym64Size (0.09 sec)

  1. src/debug/elf/file.go

    	}
    	if len(data)%Sym64Size != 0 {
    		return nil, nil, errors.New("length of symbol section is not a multiple of Sym64Size")
    	}
    
    	strdata, err := f.stringTable(symtabSection.Link)
    	if err != nil {
    		return nil, nil, fmt.Errorf("cannot load string table section: %w", err)
    	}
    
    	// The first entry is all zeros.
    	data = data[Sym64Size:]
    
    	symbols := make([]Symbol, len(data)/Sym64Size)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  2. src/debug/elf/elf.go

    	Other uint8  /* Reserved (not used). */
    	Shndx uint16 /* Section index of symbol. */
    	Value uint64 /* Symbol value. */
    	Size  uint64 /* Size of associated object. */
    }
    
    const Sym64Size = 24
    
    type intName struct {
    	i uint32
    	s string
    }
    
    func stringName(i uint32, names []intName, goSyntax bool) string {
    	for _, n := range names {
    		if n.i == i {
    			if goSyntax {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 00:01:16 UTC 2024
    - 134.6K bytes
    - Viewed (0)
Back to top