Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Shstrndx (0.11 sec)

  1. src/debug/elf/file.go

    		// string table section is contained in the sh_link field of the
    		// section header at index 0.
    		if shstrndx == int(SHN_XINDEX) {
    			shstrndx = int(link)
    			if shstrndx < int(SHN_LORESERVE) {
    				return nil, &FormatError{shoff, "invalid ELF shstrndx contained in sh_link", shstrndx}
    			}
    		}
    	}
    
    	if shnum > 0 && shentsize < wantShentsize {
    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/cmd/link/internal/loadelf/ldelf.go

    			sect.entsize = uint64(b.Entsize)
    		}
    	}
    
    	// read section string table and translate names
    	if elfobj.shstrndx >= uint32(elfobj.nsect) {
    		return errorf("malformed elf file: shstrndx out of range %d >= %d", elfobj.shstrndx, elfobj.nsect)
    	}
    
    	sect := &elfobj.sect[elfobj.shstrndx]
    	if err := elfmap(elfobj, sect); err != nil {
    		return errorf("malformed elf file: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:12:12 UTC 2024
    - 33.9K bytes
    - Viewed (0)
Back to top