Home
last modified time | relevance | path

Searched refs:e_phoff (Results 1 – 9 of 9) sorted by relevance

/tools/testing/selftests/powerpc/ptrace/
A Dcore-pkey.c181 FAIL_IF(ehdr->e_phoff == 0 || ehdr->e_phnum == 0); in check_core_file()
190 FAIL_IF(ehdr->e_phoff + phdr_size < ehdr->e_phoff); in check_core_file()
191 FAIL_IF(ehdr->e_phoff + phdr_size > core_size); in check_core_file()
194 for (phdr = p + ehdr->e_phoff; in check_core_file()
195 (void *) phdr < p + ehdr->e_phoff + phdr_size; in check_core_file()
200 FAIL_IF((void *) phdr >= p + ehdr->e_phoff + phdr_size); in check_core_file()
/tools/perf/util/
A Dsymbol-minimal.c132 hdrs.ehdr32.e_phoff = bswap_32(hdrs.ehdr32.e_phoff); in filename__read_build_id()
136 hdrs.ehdr64.e_phoff = bswap_64(hdrs.ehdr64.e_phoff); in filename__read_build_id()
147 fseek(fp, elf32 ? hdrs.ehdr32.e_phoff : hdrs.ehdr64.e_phoff, SEEK_SET); in filename__read_build_id()
A Dsymbol-elf.c2095 ehdr->e_phoff = sizeof(Elf32_Ehdr); in kcore__copy_hdr()
2099 ehdr->e_phoff = sizeof(Elf64_Ehdr); in kcore__copy_hdr()
/tools/include/uapi/linux/
A Delf.h223 Elf32_Off e_phoff; member
240 Elf64_Off e_phoff; /* Program header table file offset */ member
/tools/testing/selftests/kvm/lib/
A Delf.c139 offset = hdr.e_phoff + (n1 * hdr.e_phentsize); in kvm_vm_elf_load()
/tools/testing/selftests/proc/
A Dproc-pid-vm.c87 uint64_t e_phoff; member
177 h.e_phoff = sizeof(struct elf64_hdr); in make_exe()
/tools/testing/selftests/vDSO/
A Dparse_vdso.c111 ELF(Phdr) *pt = (ELF(Phdr)*)(vdso_info.load_addr + hdr->e_phoff); in vdso_init_from_sysinfo_ehdr()
/tools/testing/selftests/sgx/
A Dload.c230 phdr_tbl = encl->bin + ehdr->e_phoff; in encl_load()
A Dmain.c49 Elf64_Phdr *phdrtab = addr + ehdr->e_phoff; in vdso_get_dyntab()

Completed in 18 milliseconds