Searched defs:phdrs (Results 1 - 6 of 6) sorted by relevance

/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/libunwind/src/coredump/
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
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...]
/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.cc876 char *phdrs = base + ehdr->e_phoff; local
877 char *phdrs_end = phdrs + ehdr->e_phnum * ehdr->e_phentsize;
883 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) {
892 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) {
/external/valgrind/coregrind/m_syswrap/
H A Dsyswrap-solaris.c5792 const VKI_ESZ(Phdr) *phdrs)
5807 /* 1. First pass over phdrs - determine number, span and max alignment. */
5808 const VKI_ESZ(Phdr) *phdr = phdrs;
5958 /* ET_EXEC uses fixed mappings. Will be checked when processing phdrs. */
5969 /* 2. Second pass over phdrs - map the program headers and fill in
5971 phdr = phdrs;
6274 VKI_ESZ(Phdr) *phdrs = VG_(malloc)("syswrap.mi.1", phdrs_size);
6275 res = VG_(pread)(fd, phdrs, phdrs_size, ehdr->e_phoff);
6280 VG_(free)(phdrs);
6287 VG_(free)(phdrs);
5788 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 382 milliseconds