- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for elf64phdr (0.09 sec)
-
src/cmd/link/internal/ld/elf.go
if elf64 { for i := 0; i < int(ehdr.Phnum); i++ { elf64phdr(out, phdr[i]) } return uint32(ehdr.Phnum) * ELF64PHDRSIZE } for i := 0; i < int(ehdr.Phnum); i++ { elf32phdr(out, phdr[i]) } return uint32(ehdr.Phnum) * ELF32PHDRSIZE } func newElfPhdr() *ElfPhdr { e := new(ElfPhdr) if ehdr.Phnum >= NSECT { Errorf(nil, "too many phdrs") } else {
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/runtime/vdso_elf32.go
e_shentsize uint16 /* Section header table entry size */ e_shnum uint16 /* Section header table entry count */ e_shstrndx uint16 /* Section header string table index */ } type elfPhdr struct { p_type uint32 /* Segment type */ p_offset uint32 /* Segment file offset */ p_vaddr uint32 /* Segment virtual address */ p_paddr uint32 /* Segment physical address */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 2.8K bytes - Viewed (0) -
src/runtime/vdso_elf64.go
e_shentsize uint16 /* Section header table entry size */ e_shnum uint16 /* Section header table entry count */ e_shstrndx uint16 /* Section header string table index */ } type elfPhdr struct { p_type uint32 /* Segment type */ p_flags uint32 /* Segment flags */ p_offset uint64 /* Segment file offset */ p_vaddr uint64 /* Segment virtual address */ p_paddr uint64 /* Segment physical address */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 19 19:32:35 UTC 2022 - 2.8K bytes - Viewed (0) -
src/runtime/vdso_linux.go
// We need two things from the segment table: the load offset // and the dynamic table. var foundVaddr bool var dyn *[vdsoDynSize]elfDyn for i := uint16(0); i < hdr.e_phnum; i++ { pt := (*elfPhdr)(add(pt, uintptr(i)*unsafe.Sizeof(elfPhdr{}))) switch pt.p_type { case _PT_LOAD: if !foundVaddr { foundVaddr = true info.loadOffset = info.loadAddr + uintptr(pt.p_offset-pt.p_vaddr) } case _PT_DYNAMIC:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 19 19:32:35 UTC 2022 - 7.8K bytes - Viewed (0)