Home
last modified time | relevance | path

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

/external/elfutils/0.153/libdwfl/
Delf-from-memory.c207 } phdrs; in elf_from_remote_memory() local
209 xlateto.d_buf = &phdrs; in elf_from_remote_memory()
210 xlateto.d_size = sizeof phdrs; in elf_from_remote_memory()
241 if (phdrs.p32[i].p_type == PT_LOAD) in elf_from_remote_memory()
242 handle_segment (phdrs.p32[i].p_vaddr, phdrs.p32[i].p_offset, in elf_from_remote_memory()
243 phdrs.p32[i].p_filesz, phdrs.p32[i].p_align); in elf_from_remote_memory()
251 if (phdrs.p64[i].p_type == PT_LOAD) in elf_from_remote_memory()
252 handle_segment (phdrs.p64[i].p_vaddr, phdrs.p64[i].p_offset, in elf_from_remote_memory()
253 phdrs.p64[i].p_filesz, phdrs.p64[i].p_align); in elf_from_remote_memory()
298 if (phdrs.p32[i].p_type == PT_LOAD) in elf_from_remote_memory()
[all …]
Ddwfl_segment_report_module.c255 } phdrs; in dwfl_segment_report_module() local
257 xlateto.d_buf = &phdrs; in dwfl_segment_report_module()
258 xlateto.d_size = sizeof phdrs; in dwfl_segment_report_module()
422 consider_phdr (phdrs.p32[i].p_type, in dwfl_segment_report_module()
423 phdrs.p32[i].p_vaddr, phdrs.p32[i].p_memsz, in dwfl_segment_report_module()
424 phdrs.p32[i].p_offset, phdrs.p32[i].p_filesz, in dwfl_segment_report_module()
425 phdrs.p32[i].p_align); in dwfl_segment_report_module()
434 consider_phdr (phdrs.p64[i].p_type, in dwfl_segment_report_module()
435 phdrs.p64[i].p_vaddr, phdrs.p64[i].p_memsz, in dwfl_segment_report_module()
436 phdrs.p64[i].p_offset, phdrs.p64[i].p_filesz, in dwfl_segment_report_module()
[all …]
DChangeLog55 PT_INTERP p_vaddr separately from main phdrs and undo phdrs.
196 * link_map.c (dwfl_link_map_report): Detect bias of embedded phdrs and
/external/chromium_org/components/nacl/loader/nonsfi/
Delf_loader.cc119 ElfW(Addr) GetLoadSize(const ElfW(Phdr)* phdrs, int phnum) { in GetLoadSize() argument
124 const ElfW(Phdr)& phdr = phdrs[i]; in GetLoadSize()
144 NaClErrorCode ReserveMemory(const ElfW(Phdr)* phdrs, in ReserveMemory() argument
147 ElfW(Addr) size = GetLoadSize(phdrs, phnum); in ReserveMemory()
155 if (phdrs[i].p_type == PT_LOAD) { in ReserveMemory()
157 if (phdrs[i].p_vaddr != 0) { in ReserveMemory()
179 const ElfW(Phdr)* phdrs, int phnum, ElfW(Addr) load_bias, in LoadSegments() argument
182 const ElfW(Phdr)& phdr = phdrs[i]; in LoadSegments()
249 ElfW(Phdr) phdrs[MAX_PROGRAM_HEADERS];
291 if (data->ehdr.e_phentsize != sizeof(data->phdrs[0])) { in Read()
[all …]
/external/valgrind/main/coregrind/m_coredump/
Dcoredump-elf.c525 ESZ(Phdr) *phdrs; in make_elf_coredump()
593 phdrs = VG_(arena_malloc)(VG_AR_CORE, "coredump-elf.mec.1", in make_elf_coredump()
594 sizeof(*phdrs) * num_phdrs); in make_elf_coredump()
632 off = sizeof(ehdr) + sizeof(*phdrs) * num_phdrs; in make_elf_coredump()
634 phdrs[0].p_type = PT_NOTE; in make_elf_coredump()
635 phdrs[0].p_offset = off; in make_elf_coredump()
636 phdrs[0].p_vaddr = 0; in make_elf_coredump()
637 phdrs[0].p_paddr = 0; in make_elf_coredump()
638 phdrs[0].p_filesz = notesz; in make_elf_coredump()
639 phdrs[0].p_memsz = 0; in make_elf_coredump()
[all …]
/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/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux.cc743 char *phdrs = base + ehdr->e_phoff; in ForEachMappedRegion() local
744 char *phdrs_end = phdrs + ehdr->e_phnum * ehdr->e_phentsize; in ForEachMappedRegion()
750 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) { in ForEachMappedRegion()
759 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) { in ForEachMappedRegion()
/external/elfutils/0.153/
Delfutils.spec365 - readelf, elflint: handle SHT_NOTE sections without requiring phdrs
369 rt dynamic symbol tables found via phdrs; dwfl_standard_find_de
DNEWS239 readelf, elflint: handle SHT_NOTE sections without requiring phdrs
245 support dynamic symbol tables found via phdrs;
/external/elfutils/0.153/config/
Delfutils.spec.in365 - readelf, elflint: handle SHT_NOTE sections without requiring phdrs
369 rt dynamic symbol tables found via phdrs; dwfl_standard_find_de
/external/valgrind/main/
DNEWS.old1249 99348 Assertion `vgPlain_lseek(core_fd, 0, 1) == phdrs[i].p_off...
DNEWS1126 277610 valgrind crashes in VG_(lseek)(core_fd, phdrs[idx].p_offset, ...)