Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/cmd/link/internal/ld/elf.go

    	out.Write64(ehdr.Shoff)
    	out.Write32(ehdr.Flags)
    	out.Write16(ehdr.Ehsize)
    	out.Write16(ehdr.Phentsize)
    	out.Write16(ehdr.Phnum)
    	out.Write16(ehdr.Shentsize)
    	out.Write16(ehdr.Shnum)
    	out.Write16(ehdr.Shstrndx)
    	return ELF64HDRSIZE
    }
    
    func elf32writehdr(out *OutBuf) uint32 {
    	out.Write(ehdr.Ident[:])
    	out.Write16(uint16(ehdr.Type))
    	out.Write16(uint16(ehdr.Machine))
    	out.Write32(uint32(ehdr.Version))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  2. src/debug/elf/file_test.go

    			Ident:     [16]byte{0x7F, 'E', 'L', 'F', 0x01, 0x01, 0x01},
    			Type:      1,
    			Machine:   3,
    			Version:   1,
    			Shoff:     0x2DD44C,
    			Ehsize:    0x34,
    			Shentsize: 0x28,
    			Shnum:     0,
    			Shstrndx:  0xFFFF,
    		}
    		binary.Write(&buf, binary.LittleEndian, h)
    
    		// Zero out sections [1]~[65294].
    		buf.Write(bytes.Repeat([]byte{0}, 0x13ED1C-binary.Size(h)))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
Back to top