Home
last modified time | relevance | path

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

/third_party/libunwind/libunwind/src/coredump/
H A D_UCD_get_mapinfo_linux.c86 if (ui->phdrs[p].p_type == PT_LOAD in _handle_file_note()
87 && maps[i].start >= ui->phdrs[p].p_vaddr in _handle_file_note()
88 && maps[i].end <= ui->phdrs[p].p_vaddr + ui->phdrs[p].p_filesz) in _handle_file_note()
108 * If there is a mapinfo not in the core file, map its contents to the phdrs.
114 _UCD_get_mapinfo(struct UCD_info *ui, coredump_phdr_t *phdrs, unsigned phdr_size) in _UCD_get_mapinfo() argument
120 if (phdrs[i].p_type == PT_NOTE) in _UCD_get_mapinfo()
124 ret = _UCD_elf_read_segment(ui, &phdrs[i], &segment, &segment_size); in _UCD_get_mapinfo()
H A D_UCD_create.c119 Debug(0, "Can't read phdrs from '%s'\n", filename); in _UCD_create()
123 coredump_phdr_t *phdrs = ui->phdrs = memset(malloc(size * sizeof(phdrs[0])), 0, size * sizeof(phdrs[0])); in _UCD_create() local
126 coredump_phdr_t *cur = phdrs; in _UCD_create()
133 Debug(0, "Can't read phdrs from '%s'\n", filename); in _UCD_create()
152 coredump_phdr_t *cur = phdrs; in _UCD_create()
159 Debug(0, "Can't read phdrs from '%s'\n", filename); in _UCD_create()
178 int ret = _UCD_get_threadinfo(ui, phdrs, siz in _UCD_create()
[all...]
H A D_UCD_get_threadinfo_prstatus.c87 _UCD_get_threadinfo(struct UCD_info *ui, coredump_phdr_t *phdrs, unsigned phdr_size) in _UCD_get_threadinfo() argument
93 Debug(8, "phdr[%03d]: type:%d", i, phdrs[i].p_type); in _UCD_get_threadinfo()
94 if (phdrs[i].p_type == PT_NOTE) in _UCD_get_threadinfo()
99 ret = _UCD_elf_read_segment(ui, &phdrs[i], &segment, &segment_size); in _UCD_get_threadinfo()
H A D_UCD_internal.h57 /* Similar to ELF phdrs. p_paddr element is absent,
90 coredump_phdr_t *phdrs; /* array, allocated */ member
107 int _UCD_get_threadinfo(struct UCD_info *ui, coredump_phdr_t *phdrs, unsigned phdr_size);
108 int _UCD_get_mapinfo(struct UCD_info *ui, coredump_phdr_t *phdrs, unsigned phdr_size);
H A D_UCD_destroy.c41 struct coredump_phdr *phdr = &ui->phdrs[i]; in _UCD_destroy()
47 free(ui->phdrs); in _UCD_destroy()
H A D_UCD_get_mapinfo_generic.c29 _UCD_get_mapinfo(struct UCD_info *ui, coredump_phdr_t *phdrs, unsigned phdr_size) in _UCD_get_mapinfo() argument
H A D_UCD_access_mem.c44 phdr = &ui->phdrs[i]; in _UCD_access_mem()
H A D_UCD_elf_map_image.c94 coredump_phdr_t *phdr = &ui->phdrs[i]; in _UCD_get_elf_image()
/third_party/rust/crates/rustix/src/backend/linux_raw/runtime/
H A Dtls.rs19 let phdrs = exe_phdrs_slice();
24 for phdr in phdrs {
26 PT_PHDR => base = phdrs.as_ptr().cast::<u8>().offset(-(phdr.p_vaddr as isize)),
/third_party/elfutils/libdwfl/
H A Ddwfl_module_getdwarf.c154 their phdrs might not match the actual load addresses. */ in open_elf()
308 /* Decode the section. It consists of the original ehdr, phdrs, in find_prelink_address_sync()
369 For this reason, we must examine the phdrs first to find PT_INTERP. */ in find_prelink_address_sync()
400 void *phdrs = malloc (phdrs_bytes); in find_prelink_address_sync() local
401 if (unlikely (phdrs == NULL)) in find_prelink_address_sync()
403 dst.d_buf = phdrs; in find_prelink_address_sync()
408 free (phdrs); in find_prelink_address_sync()
413 Elf32_Phdr (*p32)[phnum] = phdrs; in find_prelink_address_sync()
423 Elf64_Phdr (*p64)[phnum] = phdrs; in find_prelink_address_sync()
431 free (phdrs); in find_prelink_address_sync()
[all...]

Completed in 5 milliseconds