Searched refs:phdrs (Results 1 - 10 of 10) sorted by relevance
/third_party/libunwind/libunwind/src/coredump/ |
H A D | _UCD_get_mapinfo_linux.c | 86 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.c | 119 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.c | 87 _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.h | 57 /* 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.c | 41 struct coredump_phdr *phdr = &ui->phdrs[i]; in _UCD_destroy() 47 free(ui->phdrs); in _UCD_destroy()
|
H A D | _UCD_get_mapinfo_generic.c | 29 _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.c | 44 phdr = &ui->phdrs[i]; in _UCD_access_mem()
|
H A D | _UCD_elf_map_image.c | 94 coredump_phdr_t *phdr = &ui->phdrs[i]; in _UCD_get_elf_image()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/runtime/ |
H A D | tls.rs | 19 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 D | dwfl_module_getdwarf.c | 154 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 4 milliseconds