Home
last modified time | relevance | path

Searched refs:phdrs (Results 1 – 23 of 23) sorted by relevance

/external/libunwind/src/coredump/
D_UCD_create.c153 …coredump_phdr_t *phdrs = ui->phdrs = memset(malloc(size * sizeof(phdrs[0])), 0, size * sizeof(phdr… in _UCD_create() local
156 coredump_phdr_t *cur = phdrs; in _UCD_create()
182 coredump_phdr_t *cur = phdrs; in _UCD_create()
209 coredump_phdr_t *cur = phdrs; in _UCD_create()
315 struct coredump_phdr *phdr = &ui->phdrs[phdr_no]; in _UCD_add_backing_file_at_segment()
410 struct coredump_phdr *phdr = &ui->phdrs[i]; in _UCD_add_backing_file_at_vaddr()
D_UCD_destroy.c41 struct coredump_phdr *phdr = &ui->phdrs[i]; in _UCD_destroy()
D_UCD_internal.h90 coredump_phdr_t *phdrs; /* array, allocated */ member
D_UCD_access_mem.c44 phdr = &ui->phdrs[i]; in _UCD_access_mem()
D_UCD_elf_map_image.c90 coredump_phdr_t *phdr = &ui->phdrs[i]; in _UCD_get_elf_image()
/external/valgrind/coregrind/m_coredump/
Dcoredump-elf.c576 ESZ(Phdr) *phdrs; in make_elf_coredump()
642 phdrs = VG_(malloc)("coredump-elf.mec.1", sizeof(*phdrs) * num_phdrs); in make_elf_coredump()
673 off = sizeof(ehdr) + sizeof(*phdrs) * num_phdrs; in make_elf_coredump()
675 phdrs[0].p_type = PT_NOTE; in make_elf_coredump()
676 phdrs[0].p_offset = off; in make_elf_coredump()
677 phdrs[0].p_vaddr = 0; in make_elf_coredump()
678 phdrs[0].p_paddr = 0; in make_elf_coredump()
679 phdrs[0].p_filesz = notesz; in make_elf_coredump()
680 phdrs[0].p_memsz = 0; in make_elf_coredump()
681 phdrs[0].p_flags = 0; in make_elf_coredump()
[all …]
Dcoredump-solaris.c1036 VKI_ESZ(Phdr) *phdrs = VG_(malloc)("coredump-elf.mc.2", phdrs_size); in VG_()
1043 fill_notes_phdr(&phdrs[0], offset, size_of_notes); in VG_()
1048 fill_notes_phdr(&phdrs[1], offset, size_of_notes); in VG_()
1059 fill_phdr(&phdrs[idx], seg, offset, in VG_()
1062 offset += phdrs[idx].p_filesz; in VG_()
1070 write_part(core_fd, filename, phdrs, phdrs_size, in VG_()
1078 VG_(lseek)(core_fd, phdrs[2].p_offset, VKI_SEEK_SET); in VG_()
1086 if (phdrs[idx].p_filesz > 0) { in VG_()
1087 Off64T off = VG_(lseek)(core_fd, phdrs[idx].p_offset, in VG_()
1089 vg_assert(off == phdrs[idx].p_offset); in VG_()
[all …]
/external/google-breakpad/src/common/linux/
Delfutils.cc95 const Phdr* phdrs = in FindElfClassSegment() local
99 if (phdrs[i].p_type == segment_type) { in FindElfClassSegment()
100 *segment_start = elf_base + phdrs[i].p_offset; in FindElfClassSegment()
101 *segment_size = phdrs[i].p_filesz; in FindElfClassSegment()
/external/elfutils/libdwfl/
Ddwfl_module_getdwarf.c394 void *phdrs = malloc (phdrs_bytes); in find_prelink_address_sync() local
395 if (unlikely (phdrs == NULL)) in find_prelink_address_sync()
397 dst.d_buf = phdrs; in find_prelink_address_sync()
402 free (phdrs); in find_prelink_address_sync()
407 Elf32_Phdr (*p32)[phnum] = phdrs; in find_prelink_address_sync()
417 Elf64_Phdr (*p64)[phnum] = phdrs; in find_prelink_address_sync()
425 free (phdrs); in find_prelink_address_sync()
DChangeLog139 phdrs and shdrs.
141 Likewise for phdrs.
143 (elf_from_remote_memory): Allocate exact amount of bytes for phdrs.
255 * link_map.c (dwfl_link_map_report): Allocate phdrs and dyn with
261 Allocate phdrs with malloc, not on stack. free in finish.
279 phdrs on the stack. Allocate with malloc and free when done.
294 phdrs and shdrs unions with malloc, not alloca. Free after use.
1331 PT_INTERP p_vaddr separately from main phdrs and undo phdrs.
1472 * link_map.c (dwfl_link_map_report): Detect bias of embedded phdrs and
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux.cc777 char *phdrs = base + ehdr->e_phoff; in ForEachMappedRegion() local
778 char *phdrs_end = phdrs + ehdr->e_phnum * ehdr->e_phentsize; in ForEachMappedRegion()
784 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) { in ForEachMappedRegion()
793 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) { in ForEachMappedRegion()
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-solaris.c5581 const VKI_ESZ(Phdr) *phdrs) in mmapobj_process_phdrs()
5597 const VKI_ESZ(Phdr) *phdr = phdrs; in mmapobj_process_phdrs()
5760 phdr = phdrs; in mmapobj_process_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);
6086 res = mmapobj_process_phdrs(tid, fd, storage, elements, ehdr, phdrs);
6087 VG_(free)(phdrs);
/external/elfutils/config/
Delfutils.spec.in559 - readelf, elflint: handle SHT_NOTE sections without requiring phdrs
563 rt dynamic symbol tables found via phdrs; dwfl_standard_find_de
/external/elfutils/
DNEWS448 readelf, elflint: handle SHT_NOTE sections without requiring phdrs
454 support dynamic symbol tables found via phdrs;
/external/elfutils/libelf/
DChangeLog201 * elf32_getphdr.c (getphdr_wrlock): Allocate phdrs with malloc, not
/external/elfutils/src/
DChangeLog87 (check_sections): Don't try to match section offsets to phdrs offsets
429 is not zero for symbol tables. Check phdrs are not NULL.
/external/valgrind/
DNEWS.old1249 99348 Assertion `vgPlain_lseek(core_fd, 0, 1) == phdrs[i].p_off...
DNEWS1852 277610 valgrind crashes in VG_(lseek)(core_fd, phdrs[idx].p_offset, ...)
/external/elfutils/po/
Dja.po6510 msgid "cannot get number of phdrs"
Dde.po6237 msgid "cannot get number of phdrs"
Duk.po6822 msgid "cannot get number of phdrs"
Dpl.po6774 msgid "cannot get number of phdrs"
Des.po6816 msgid "cannot get number of phdrs"