- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for shnum (0.06 sec)
-
src/debug/elf/file.go
} 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 { return nil, &FormatError{0, "invalid ELF shstrndx", shstrndx} } var wantPhentsize, wantShentsize int switch f.Class { case ELFCLASS32:
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
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) elfobj.shnum = uint32(hdr.Shnum) elfobj.shstrndx = uint32(hdr.Shstrndx) } else { elfobj.type_ = uint32(hdr.Type) elfobj.machine = uint32(hdr.Machine) elfobj.version = hdr.Version
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/symtab.go
ldr.Errorf(x, "missing section in putelfsym") return } if xosect.Elfsect == nil { ldr.Errorf(x, "missing ELF section in putelfsym") return } elfshnum = xosect.Elfsect.(*ElfShdr).shnum } sname := ldr.SymExtname(x) sname = mangleABIName(ctxt, ldr, x, sname) // One pass for each binding: elf.STB_LOCAL, elf.STB_GLOBAL, // maybe one day elf.STB_WEAK. bind := elf.STB_GLOBAL
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 16:29:40 UTC 2023 - 29.2K bytes - Viewed (0)