- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for shstrndx (0.42 sec)
-
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) -
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) -
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) -
src/debug/elf/elf.go
Phnum uint16 /* Number of program header entries. */ Shentsize uint16 /* Size of section header entry. */ Shnum uint16 /* Number of section header entries. */ Shstrndx uint16 /* Section name strings section. */ } // ELF32 Section header. type Section32 struct { Name uint32 /* Section name (index into the section header string table). */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 00:01:16 UTC 2024 - 134.6K bytes - Viewed (0) -
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) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Header32.Phnum", Field, 0}, {"Header32.Phoff", Field, 0}, {"Header32.Shentsize", Field, 0}, {"Header32.Shnum", Field, 0}, {"Header32.Shoff", Field, 0}, {"Header32.Shstrndx", Field, 0}, {"Header32.Type", Field, 0}, {"Header32.Version", Field, 0}, {"Header64", Type, 0}, {"Header64.Ehsize", Field, 0}, {"Header64.Entry", Field, 0}, {"Header64.Flags", Field, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)