Searched refs:phdrs (Results 1 - 11 of 11) sorted by relevance

/external/libunwind/src/coredump/
H A D_UCD_destroy.c41 struct coredump_phdr *phdr = &ui->phdrs[i];
H A D_UCD_create.c149 Debug(0, "Can't read phdrs from '%s'\n", filename);
153 coredump_phdr_t *phdrs = ui->phdrs = memset(malloc(size * sizeof(phdrs[0])), 0, size * sizeof(phdrs[0])); local
156 coredump_phdr_t *cur = phdrs;
163 Debug(0, "Can't read phdrs from '%s'\n", filename);
182 coredump_phdr_t *cur = phdrs;
189 Debug(0, "Can't read phdrs from '%s'\n", filename);
209 coredump_phdr_t *cur = phdrs;
[all...]
H A D_UCD_access_mem.c44 phdr = &ui->phdrs[i];
H A D_UCD_elf_map_image.c90 coredump_phdr_t *phdr = &ui->phdrs[i];
H A D_UCD_internal.h57 /* Similar to ELF phdrs. p_paddr element is absent,
90 coredump_phdr_t *phdrs; /* array, allocated */ member in struct:UCD_info
/external/google-breakpad/src/common/linux/
H A Delfutils.cc95 const Phdr* phdrs = local
99 if (phdrs[i].p_type == segment_type) {
100 *segment_start = elf_base + phdrs[i].p_offset;
101 *segment_size = phdrs[i].p_filesz;
/external/valgrind/coregrind/m_coredump/
H A Dcoredump-elf.c576 ESZ(Phdr) *phdrs;
642 phdrs = VG_(malloc)("coredump-elf.mec.1", sizeof(*phdrs) * num_phdrs);
673 off = sizeof(ehdr) + sizeof(*phdrs) * num_phdrs;
675 phdrs[0].p_type = PT_NOTE;
676 phdrs[0].p_offset = off;
677 phdrs[0].p_vaddr = 0;
678 phdrs[0].p_paddr = 0;
679 phdrs[0].p_filesz = notesz;
680 phdrs[
[all...]
H A Dcoredump-solaris.c1036 VKI_ESZ(Phdr) *phdrs = VG_(malloc)("coredump-elf.mc.2", phdrs_size);
1043 fill_notes_phdr(&phdrs[0], offset, size_of_notes);
1048 fill_notes_phdr(&phdrs[1], offset, size_of_notes);
1059 fill_phdr(&phdrs[idx], seg, offset,
1062 offset += phdrs[idx].p_filesz;
1070 write_part(core_fd, filename, phdrs, phdrs_size,
1078 VG_(lseek)(core_fd, phdrs[2].p_offset, VKI_SEEK_SET);
1086 if (phdrs[idx].p_filesz > 0) {
1087 Off64T off = VG_(lseek)(core_fd, phdrs[idx].p_offset,
1089 vg_assert(off == phdrs[id
[all...]
/external/elfutils/libdwfl/
H A Ddwfl_module_getdwarf.c150 their phdrs might not match the actual load addresses. */
304 /* Decode the section. It consists of the original ehdr, phdrs,
363 For this reason, we must examine the phdrs first to find PT_INTERP. */
394 void *phdrs = malloc (phdrs_bytes); local
395 if (unlikely (phdrs == NULL))
397 dst.d_buf = phdrs;
402 free (phdrs);
407 Elf32_Phdr (*p32)[phnum] = phdrs;
417 Elf64_Phdr (*p64)[phnum] = phdrs;
425 free (phdrs);
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.cc777 char *phdrs = base + ehdr->e_phoff; local
778 char *phdrs_end = phdrs + ehdr->e_phnum * ehdr->e_phentsize;
784 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) {
793 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) {
/external/valgrind/coregrind/m_syswrap/
H A Dsyswrap-solaris.c5581 const VKI_ESZ(Phdr) *phdrs)
5596 /* 1. First pass over phdrs - determine number, span and max alignment. */
5597 const VKI_ESZ(Phdr) *phdr = phdrs;
5747 /* ET_EXEC uses fixed mappings. Will be checked when processing phdrs. */
5758 /* 2. Second pass over phdrs - map the program headers and fill in
5760 phdr = phdrs;
6063 VKI_ESZ(Phdr) *phdrs = VG_(malloc)("syswrap.mi.1", phdrs_size);
6064 res = VG_(pread)(fd, phdrs, phdrs_size, ehdr->e_phoff);
6069 VG_(free)(phdrs);
6076 VG_(free)(phdrs);
5577 mmapobj_process_phdrs(ThreadId tid, Int fd, vki_mmapobj_result_t *storage, vki_uint_t *elements, const VKI_ESZ(Ehdr) *ehdr, const VKI_ESZ(Phdr) *phdrs) argument
[all...]

Completed in 9141 milliseconds