Home
last modified time | relevance | path

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

12

/external/elfutils/tests/
Dupdate2.c83 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
117 phdr[0].p_offset = ehdr->e_phoff; in main()
118 phdr[0].p_offset = ehdr->e_phoff; in main()
119 phdr[0].p_vaddr = ehdr->e_phoff; in main()
120 phdr[0].p_paddr = ehdr->e_phoff; in main()
143 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
Dupdate3.c92 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
166 phdr[0].p_offset = ehdr->e_phoff; in main()
167 phdr[0].p_offset = ehdr->e_phoff; in main()
168 phdr[0].p_vaddr = ehdr->e_phoff; in main()
169 phdr[0].p_paddr = ehdr->e_phoff; in main()
198 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
Dupdate4.c97 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
319 phdr[0].p_offset = ehdr->e_phoff; in main()
320 phdr[0].p_offset = ehdr->e_phoff; in main()
321 phdr[0].p_vaddr = ehdr->e_phoff; in main()
322 phdr[0].p_paddr = ehdr->e_phoff; in main()
351 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
Dnewfile.c49 ehdr->e_phoff, in print_ehdr()
128 ZERO_TEST (e_phoff); in main()
160 ZERO_TEST (e_phoff); in main()
Dupdate1.c82 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
120 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
/external/elfutils/libelf/
Dgelf_update_ehdr.c91 || unlikely (src->e_phoff > 0xffffffffull) in gelf_update_ehdr()
106 COPY (e_phoff); in gelf_update_ehdr()
Delf32_updatefile.c177 if (ehdr->e_phoff > ehdr->e_ehsize) in __elfw2()
179 __libelf_fill_byte, ehdr->e_phoff - ehdr->e_ehsize); in __elfw2()
193 (*fctp) (elf->map_address + elf->start_offset + ehdr->e_phoff, in __elfw2()
198 memcpy (elf->map_address + elf->start_offset + ehdr->e_phoff, in __elfw2()
209 ehdr->e_phoff) in __elfw2()
533 if (ehdr->e_phoff > ehdr->e_ehsize in __elfw2()
535 ehdr->e_phoff - ehdr->e_ehsize, fillbuf, &filled) in __elfw2()
570 phdr_size, ehdr->e_phoff) in __elfw2()
589 last_offset = (ehdr->e_phoff in __elfw2()
Delf32_getphdr.c110 + elf->start_offset + ehdr->e_phoff);
184 elf->start_offset + ehdr->e_phoff);
Delf_begin.c315 && ((uintptr_t) ((char *) ehdr + ehdr->e_phoff) in file_read_elf()
326 = (Elf32_Phdr *) ((char *) ehdr + ehdr->e_phoff); in file_read_elf()
366 CONVERT (elf->state.elf32.ehdr_mem.e_phoff); in file_read_elf()
403 && ((uintptr_t) ((char *) ehdr + ehdr->e_phoff) in file_read_elf()
414 = (Elf64_Phdr *) ((char *) ehdr + ehdr->e_phoff); in file_read_elf()
454 CONVERT (elf->state.elf64.ehdr_mem.e_phoff); in file_read_elf()
Dgelf_getehdr.c100 COPY (e_phoff);
Delf32_updatenull.c172 ehdr->e_phoff in __elfw2()
177 update_if_changed (ehdr->e_phoff, in __elfw2()
/external/kernel-headers/original/linux/
Delf.h179 Elf32_Off e_phoff; member
196 Elf64_Off e_phoff; /* Program header table file offset */ member
/external/elfutils/src/
Delfcmp.c181 || ehdr1->e_phoff != ehdr2->e_phoff in main()
411 phdr_region.from = ehdr1->e_phoff; in main()
412 phdr_region.to = ehdr1->e_phoff + ehdr1->e_phnum * ehdr1->e_phentsize; in main()
/external/qemu/elff/
Delff_elf.h155 Elf_Off e_phoff; member
/external/elfutils/libdwfl/
Delf-from-memory.c147 phoff = ehdr.e32.e_phoff; in elf_from_remote_memory()
159 phoff = ehdr.e64.e_phoff; in elf_from_remote_memory()
Dlink_map.c490 && (phdr->p_offset & -align) == (ehdr.e_phoff & -align)) in consider_executable()
497 if (ehdr.e_phoff - phdr->p_offset + phdr->p_vaddr != at_phdr) in consider_executable()
505 if (((ehdr.e_phoff - phdr->p_offset + phdr->p_vaddr) & -align) in consider_executable()
510 GElf_Addr bias = (at_phdr - (ehdr.e_phoff - phdr->p_offset in consider_executable()
Ddwfl_segment_report_module.c204 phoff = ehdr.e32.e_phoff; in dwfl_segment_report_module()
217 phoff = ehdr.e64.e_phoff; in dwfl_segment_report_module()
/external/qemu/
Delf_ops.h7 bswapSZs(&ehdr->e_phoff); /* Program header table file offset */ in glue()
219 lseek(fd, ehdr.e_phoff, SEEK_SET); in glue()
Delf.h1007 Elf32_Off e_phoff; member
1024 Elf64_Off e_phoff; /* Program header table file offset */ member
/external/grub/stage2/
Di386-elf.h74 Elf32_Off e_phoff; /* program header table file offset */ member
Dboot.c116 if (pu.elf->e_phoff == 0 || pu.elf->e_phnum == 0 in load_image()
117 || ((pu.elf->e_phoff + (pu.elf->e_phentsize * pu.elf->e_phnum)) in load_image()
602 (pu.elf->e_phoff + ((int) buffer) in load_image()
/external/valgrind/main/coregrind/m_ume/
Delf.c142 sres = VG_(pread)(fd, e->p, phsz, e->e.e_phoff); in readelf()
430 info->phdr = minaddr + ebase + e->e.e_phoff;
/external/llvm/include/llvm/Support/
DELF.h68 Elf32_Off e_phoff; // Program header table's file offset, in bytes member
92 Elf64_Off e_phoff; member
/external/libvpx/build/make/
Dobj_int_extract.c350 ENDIAN_ASSIGN_IN_PLACE(elf->hdr32.e_phoff); in parse_elf_header()
369 ENDIAN_ASSIGN_IN_PLACE(elf->hdr64.e_phoff); in parse_elf_header()
/external/valgrind/main/coregrind/m_debuginfo/
Dreadelf.c135 ok &= (ehdr->e_phoff != 0 && ehdr->e_phnum != 0); in ML_()
904 = (ElfXX_Phdr*)(image + ehdr->e_phoff + i * ehdr->e_phentsize); in find_buildid()
1436 phdr_img = (ElfXX_Phdr*)( ((UChar*)ehdr_img) + ehdr_img->e_phoff ); in ML_()
2275 + ehdr_dimg->e_phoff ); in ML_()
2338 = INDEX_BIS( (void*)(dimage + ehdr_dimg->e_phoff), in ML_()

12