/external/elfutils/libdwfl/ |
elf-from-memory.c | 124 uint_fast16_t phentsize; local 139 phentsize = ehdr.e32.e_phentsize; 140 if (phentsize != sizeof (Elf32_Phdr) || phnum == 0) 151 phentsize = ehdr.e64.e_phentsize; 152 if (phentsize != sizeof (Elf64_Phdr) || phnum == 0) 166 xlatefrom.d_size = phnum * phentsize; 168 if ((size_t) nread >= phoff + phnum * phentsize) 175 if (initial_bufsize < phnum * phentsize) 177 unsigned char *newbuf = realloc (buffer, phnum * phentsize); 187 phnum * phentsize, phnum * phentsize) [all...] |
dwfl_segment_report_module.c | 343 uint_fast16_t phentsize; local 370 phentsize = ehdr.e32.e_phentsize; 371 if (phentsize != sizeof (Elf32_Phdr)) 383 phentsize = ehdr.e64.e_phentsize; 384 if (phentsize != sizeof (Elf64_Phdr)) 401 xlatefrom.d_size = phnum * phentsize; 561 && likely (filesz_offset >= phoff + phnum * phentsize))
|
dwfl_module_getdwarf.c | 328 size_t phentsize = gelf_fsize (mod->main.elf, ELF_T_PHDR, 1, EV_CURRENT); local 335 || ehdr.e32.e_phentsize != phentsize) 343 || ehdr.e64.e_phentsize != phentsize) 353 + phnum * phentsize 385 src.d_size = phnum * phentsize; [all...] |
relocate.c | 569 size_t phentsize = gelf_fsize (relocated, ELF_T_PHDR, 1, EV_CURRENT); local 570 GElf_Off phdrs_end = phdrs_start + phnums * phentsize;
|
/external/llvm/test/Object/ |
corrupt.test | 36 RUN: %p/Inputs/corrupt-invalid-phentsize.elf.x86-64 2>&1 | \ 37 RUN: FileCheck --check-prefix=PHENTSIZE %s 39 PHENTSIZE: Invalid program header size
|
/external/syslinux/efi/ |
wrapper.c | 169 __uint16_t phnum = 0, phentsize = 0; local 202 phentsize = e32_hdr.e_phentsize; 215 phentsize = e64_hdr.e_phentsize; 246 fseek(f_in, phoff + i * phentsize, SEEK_SET); 261 fseek(f_in, phoff + i * phentsize, SEEK_SET);
|
/external/elfutils/tests/ |
elfshphehdr.c | 145 size_t phentsize = (class == ELFCLASS32 local 147 check ("e_phentsize", ehdr.e_phentsize == phentsize);
|
newfile.c | 35 "phentsize = %d\nphnum = %d\nshentsize = %d\nshnum = %d\n"
|
/external/toybox/toys/posix/ |
file.c | 53 int phentsize, phnum, shsize, shnum; local 98 phentsize = elf_int(toybuf+42+12*bits, 2); 105 // With binutils, phentsize seems to only be non-zero if phnum is non-zero. 107 if (phnum && (phentsize != 32+24*bits)) { 108 printf(", corrupt phentsize %d?\n", phentsize); 117 char *phdr = map+phoff+i*phentsize;
|
/prebuilts/go/darwin-x86/src/cmd/vendor/golang.org/x/arch/x86/x86asm/ |
objdumpext_test.go | 202 Phentsize: uint16(off2 - off1), 272 Phentsize: uint16(off2 - off1),
|
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/arch/x86/x86asm/ |
objdumpext_test.go | 202 Phentsize: uint16(off2 - off1), 272 Phentsize: uint16(off2 - off1),
|
/prebuilts/go/darwin-x86/src/cmd/link/internal/loadelf/ |
ldelf.go | 197 Phentsize [2]uint8 239 Phentsize [2]uint8 307 phentsize uint32 512 elfobj.phentsize = uint32(e.Uint16(hdr.Phentsize[:])) 526 elfobj.phentsize = uint32(e.Uint16(hdr.Phentsize[:]))
|
/prebuilts/go/linux-x86/src/cmd/link/internal/loadelf/ |
ldelf.go | 197 Phentsize [2]uint8 239 Phentsize [2]uint8 307 phentsize uint32 512 elfobj.phentsize = uint32(e.Uint16(hdr.Phentsize[:])) 526 elfobj.phentsize = uint32(e.Uint16(hdr.Phentsize[:]))
|
/prebuilts/go/darwin-x86/src/debug/elf/ |
file.go | 276 var phentsize, phnum int 294 phentsize = int(hdr.Phentsize) 313 phentsize = int(hdr.Phentsize) 328 off := phoff + int64(i)*int64(phentsize)
|
/prebuilts/go/linux-x86/src/debug/elf/ |
file.go | 276 var phentsize, phnum int 294 phentsize = int(hdr.Phentsize) 313 phentsize = int(hdr.Phentsize) 328 off := phoff + int64(i)*int64(phentsize)
|
/prebuilts/go/darwin-x86/src/cmd/vendor/golang.org/x/arch/arm/armasm/ |
objdumpext_test.go | 218 Phentsize: uint16(off2 - off1),
|
/prebuilts/go/darwin-x86/src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/ |
objdumpext_test.go | 214 Phentsize: uint16(off2 - off1),
|
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/arch/arm/armasm/ |
objdumpext_test.go | 218 Phentsize: uint16(off2 - off1),
|
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/ |
objdumpext_test.go | 214 Phentsize: uint16(off2 - off1),
|
/prebuilts/go/darwin-x86/src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/ |
objdumpext_test.go | 258 Phentsize: uint16(off2 - off1),
|
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/ |
objdumpext_test.go | 258 Phentsize: uint16(off2 - off1),
|
/prebuilts/go/darwin-x86/src/cmd/link/internal/ld/ |
elf.go | 359 phentsize uint16 512 ehdr.phentsize = ELF64PHDRSIZE /* Must be ELF64PHDRSIZE */ 539 ehdr.phentsize = ELF32PHDRSIZE /* Must be ELF32PHDRSIZE */ 698 out.Write16(ehdr.phentsize) 716 out.Write16(ehdr.phentsize) [all...] |
/prebuilts/go/linux-x86/src/cmd/link/internal/ld/ |
elf.go | 359 phentsize uint16 512 ehdr.phentsize = ELF64PHDRSIZE /* Must be ELF64PHDRSIZE */ 539 ehdr.phentsize = ELF32PHDRSIZE /* Must be ELF32PHDRSIZE */ 698 out.Write16(ehdr.phentsize) 716 out.Write16(ehdr.phentsize) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/lib32/ |
ld-2.15.so | |
ld-linux.so.2 | |