Searched refs:ei (Results 1 – 7 of 7) sorted by relevance
| /third_party/ulib/ngunwind/include/ngunwind/private/ |
| A D | elfxx.h | 58 elf_w (valid_object) (struct elf_image *ei) in elf_w() 60 if (ei->size <= EI_VERSION) in elf_w() 63 return (memcmp (ei->image, ELFMAG, SELFMAG) == 0 in elf_w() 64 && ((uint8_t *) ei->image)[EI_CLASS] == ELF_CLASS in elf_w() 65 && ((uint8_t *) ei->image)[EI_VERSION] != EV_NONE in elf_w() 70 elf_map_image (struct elf_image *ei, const char *path) in elf_map_image() argument 85 ei->size = stat.st_size; in elf_map_image() 86 ei->image = mmap (NULL, ei->size, PROT_READ, MAP_PRIVATE, fd, 0); in elf_map_image() 88 if (ei->image == MAP_FAILED) in elf_map_image() 91 if (!elf_w (valid_object) (ei)) in elf_map_image() [all …]
|
| A D | libunwind_i.h | 235 struct elf_image ei; member 379 extern int tdep_get_elf_image (struct elf_image *ei, pid_t pid, unw_word_t ip,
|
| /third_party/ulib/ngunwind/src/ |
| A D | elfxx.c | 39 Elf_W (Ehdr) *ehdr = ei->image; in Elf_W() 57 Elf_W (Ehdr) *ehdr = ei->image; in elf_w() 93 Elf_W (Ehdr) *ehdr = ei->image; in elf_w() 100 if (!elf_w (valid_object) (ei)) in elf_w() 168 ehdr = ei->image; in elf_w() 217 Elf_W (Ehdr) *ehdr = ei->image; in elf_w() 225 if (!elf_w (valid_object) (ei)) in elf_w() 334 if (min_dist >= ei->size) in elf_w() 346 struct elf_image ei; in elf_w() local 355 munmap (ei.image, ei.size); in elf_w() [all …]
|
| A D | os-linux.c | 33 tdep_get_elf_image (struct elf_image *ei, pid_t pid, unw_word_t ip, in tdep_get_elf_image() argument 60 rc = elf_map_image (ei, mi.path); in tdep_get_elf_image()
|
| A D | fuchsia.c | 42 tdep_get_elf_image (struct elf_image *ei, pid_t pid, unw_word_t ip, in tdep_get_elf_image() argument
|
| /third_party/ulib/ngunwind/src/mi/ |
| A D | common.c | 39 if (edi->ei.image) in unwi_invalidate_edi() 40 munmap (edi->ei.image, edi->ei.size); in unwi_invalidate_edi()
|
| /third_party/ulib/ngunwind/src/dwarf/ |
| A D | Gfind_unwind_table.c | 61 if (!elf_w(valid_object) (&edi->ei)) in dwarf_find_unwind_table() 67 ehdr = edi->ei.image; in dwarf_find_unwind_table() 68 phdr = (Elf_W(Phdr) *) ((char *) edi->ei.image + ehdr->e_phoff); in dwarf_find_unwind_table() 83 if ((uintptr_t) edi->ei.image + phdr->p_filesz > max_load_addr) in dwarf_find_unwind_table() 84 max_load_addr = (uintptr_t) edi->ei.image + phdr->p_filesz; in dwarf_find_unwind_table() 124 + (char *) edi->ei.image); in dwarf_find_unwind_table() 141 + (char *) edi->ei.image); in dwarf_find_unwind_table() 280 struct elf_image ei; in dwarf_as_find_unwind_table() local 281 ei.image = ehdr; in dwarf_as_find_unwind_table() 282 ei.size = sizeof (*ehdr); in dwarf_as_find_unwind_table() [all …]
|
Completed in 9 milliseconds