Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Shoff (0.05 sec)

  1. src/debug/elf/file.go

    		shstrndx = int(bo.Uint16(data[unsafe.Offsetof(hdr.Shstrndx):]))
    	}
    
    	if shoff < 0 {
    		return nil, &FormatError{0, "invalid shoff", shoff}
    	}
    	if phoff < 0 {
    		return nil, &FormatError{0, "invalid phoff", phoff}
    	}
    
    	if shoff == 0 && shnum != 0 {
    		return nil, &FormatError{0, "invalid ELF shnum for shoff=0", shnum}
    	}
    
    	if shnum > 0 && shstrndx >= shnum {
    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

    		binary.Read(bytes.NewReader(hdrbuf[:]), e, hdr)
    		elfobj.type_ = uint32(hdr.Type)
    		elfobj.machine = uint32(hdr.Machine)
    		elfobj.version = hdr.Version
    		elfobj.entry = hdr.Entry
    		elfobj.phoff = hdr.Phoff
    		elfobj.shoff = hdr.Shoff
    		elfobj.flags = hdr.Flags
    		elfobj.ehsize = uint32(hdr.Ehsize)
    		elfobj.phentsize = uint32(hdr.Phentsize)
    		elfobj.phnum = uint32(hdr.Phnum)
    		elfobj.shentsize = uint32(hdr.Shentsize)
    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