/external/elfutils/libdwfl/ |
D | elf-from-memory.c | 124 uint_fast16_t phentsize; in elf_from_remote_memory() local 139 phentsize = ehdr.e32.e_phentsize; in elf_from_remote_memory() 140 if (phentsize != sizeof (Elf32_Phdr) || phnum == 0) in elf_from_remote_memory() 156 phentsize = ehdr.e64.e_phentsize; in elf_from_remote_memory() 157 if (phentsize != sizeof (Elf64_Phdr) || phnum == 0) in elf_from_remote_memory() 172 xlatefrom.d_size = phnum * phentsize; in elf_from_remote_memory() 174 if ((size_t) nread >= phoff + phnum * phentsize) in elf_from_remote_memory() 181 if (initial_bufsize < (size_t)phnum * phentsize) in elf_from_remote_memory() 183 unsigned char *newbuf = realloc (buffer, phnum * phentsize); in elf_from_remote_memory() 193 phnum * phentsize, phnum * phentsize); in elf_from_remote_memory()
|
D | dwfl_segment_report_module.c | 351 uint_fast16_t phentsize; in dwfl_segment_report_module() local 378 phentsize = ehdr.e32.e_phentsize; in dwfl_segment_report_module() 379 if (phentsize != sizeof (Elf32_Phdr)) in dwfl_segment_report_module() 396 phentsize = ehdr.e64.e_phentsize; in dwfl_segment_report_module() 397 if (phentsize != sizeof (Elf64_Phdr)) in dwfl_segment_report_module() 415 xlatefrom.d_size = phnum * phentsize; in dwfl_segment_report_module() 621 && likely (filesz_offset >= phoff + phnum * phentsize)) in dwfl_segment_report_module()
|
D | dwfl_module_getdwarf.c | 333 size_t phentsize = gelf_fsize (mod->main.elf, ELF_T_PHDR, 1, EV_CURRENT); in find_prelink_address_sync() local 340 || ehdr.e32.e_phentsize != phentsize) in find_prelink_address_sync() 348 || ehdr.e64.e_phentsize != phentsize) in find_prelink_address_sync() 358 + phnum * phentsize in find_prelink_address_sync() 392 src.d_size = phnum * phentsize; in find_prelink_address_sync()
|
D | relocate.c | 601 size_t phentsize = gelf_fsize (relocated, ELF_T_PHDR, 1, EV_CURRENT); in relocate_section() local 602 GElf_Off phdrs_end = phdrs_start + phnums * phentsize; in relocate_section()
|
D | ChangeLog | 991 actually used ehsize, shentsize and phentsize.
|
/external/toybox/toys/posix/ |
D | file.c | 37 phentsize, phnum, shsize, shnum; local 88 phentsize = elf_int(toybuf+42+12*bits, 2); 97 if (phnum && (phentsize != 32+24*bits)) { 98 printf(", corrupt phentsize %d?", phentsize); 110 if (phoff<0 || phoff>TT.len || phnum*phentsize>TT.len-phoff) goto bad; 112 char *phdr = map+phoff+i*phentsize;
|
/external/elfutils/tests/ |
D | elfshphehdr.c | 145 size_t phentsize = (class == ELFCLASS32 in test() local 147 check ("e_phentsize", ehdr.e_phentsize == phentsize); in test()
|
/external/toybox/toys/pending/ |
D | readelf.c | 39 int bits, endian, shnum, shentsize, phentsize; 139 char *phdr = TT.elf+TT.phoff+i*TT.phentsize; in get_ph() 141 if (phdr > TT.elf+TT.size-TT.phentsize) { in get_ph() 374 TT.phentsize = elf_short(&hdr); in scan_elf() 402 printf(" Size of program headers: %d (bytes)\n", TT.phentsize); in scan_elf()
|
/external/llvm/test/Object/ |
D | corrupt.test | 36 RUN: %p/Inputs/corrupt-invalid-phentsize.elf.x86-64 2>&1 | \
|
/external/llvm-project/llvm/test/tools/llvm-readobj/ELF/ |
D | dynamic-tags.test | 474 # RUN: yaml2obj --docnum=1 -DPHENTSIZE=1 %s -o %t-phentsize-err 475 # RUN: llvm-readobj --dynamic-table %t-phentsize-err 2>&1 | \ 476 # RUN: FileCheck %s --implicit-check-not=warning: -DFILE=%t-phentsize-err \ 478 # RUN: llvm-readelf --dynamic-table %t-phentsize-err 2>&1 | \ 479 # RUN: FileCheck %s --implicit-check-not=warning: -DFILE=%t-phentsize-err \
|
/external/llvm-project/llvm/test/Object/ |
D | invalid.test | 429 # RUN: llvm-readobj -l %p/Inputs/corrupt-invalid-phentsize.elf.x86-64 2>&1 \ 430 # RUN: | FileCheck -DFILE=%p/Inputs/corrupt-invalid-phentsize.elf.x86-64 --check-prefix=PHENTSIZE…
|
/external/toybox/android/device/generated/ |
D | globals.h | 835 int bits, endian, shnum, shentsize, phentsize; member
|
/external/toybox/android/mac/generated/ |
D | globals.h | 835 int bits, endian, shnum, shentsize, phentsize; member
|
/external/toybox/android/linux/generated/ |
D | globals.h | 835 int bits, endian, shnum, shentsize, phentsize; member
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/debugging/ |
D | symbolize_elf.inc | 1282 const int phentsize = obj->elf_header.e_phentsize; 1292 phoff += phentsize;
|
/external/openscreen/third_party/abseil/src/absl/debugging/ |
D | symbolize_elf.inc | 1282 const int phentsize = obj->elf_header.e_phentsize; 1292 phoff += phentsize;
|
/external/libtextclassifier/abseil-cpp/absl/debugging/ |
D | symbolize_elf.inc | 1282 const int phentsize = obj->elf_header.e_phentsize; 1292 phoff += phentsize;
|