/third_party/elfutils/libdwfl/ |
D | elf-from-memory.c | 122 GElf_Off phoff; in elf_from_remote_memory() 125 GElf_Off shdrs_end; in elf_from_remote_memory() 220 GElf_Off segments_end = 0; in elf_from_remote_memory() 221 GElf_Off segments_end_mem = 0; in elf_from_remote_memory() 247 GElf_Off offset = class32 ? (*p32)[i].p_offset : (*p64)[i].p_offset; in elf_from_remote_memory() 254 GElf_Off segment_end = ((offset + filesz + pagesize - 1) in elf_from_remote_memory() 257 if (segment_end > (GElf_Off) contents_size) in elf_from_remote_memory() 274 if ((GElf_Off) contents_size > segments_end in elf_from_remote_memory() 275 && (GElf_Off) contents_size >= shdrs_end in elf_from_remote_memory() 279 if ((GElf_Off) contents_size < shdrs_end) in elf_from_remote_memory() [all …]
|
D | core-file.c | 176 GElf_Off cost, GElf_Off worthwhile, in core_file_read_eagerly() 177 GElf_Off whole, in core_file_read_eagerly() 178 GElf_Off contiguous __attribute__ ((unused)), in core_file_read_eagerly() 245 update_end (GElf_Phdr *pphdr, const GElf_Off align, in update_end() 246 GElf_Off *pend, GElf_Addr *pend_vaddr) in update_end() 254 do_more (size_t size, GElf_Phdr *pphdr, const GElf_Off align, in do_more() 255 Elf *elf, GElf_Off start, int *pndx, in do_more() 256 GElf_Off *pend, GElf_Addr *pend_vaddr) in do_more() 301 const GElf_Off align = dwfl->segment_align ?: 1; in dwfl_elf_phdr_memory_callback() 310 GElf_Off start = vaddr - phdr.p_vaddr + phdr.p_offset; in dwfl_elf_phdr_memory_callback() [all …]
|
D | dwfl_segment_report_module.c | 355 GElf_Off phoff; in dwfl_segment_report_module() 358 GElf_Off shdrs_end; in dwfl_segment_report_module() 482 GElf_Off file_trimmed_end = 0; /* Proper p_vaddr + p_filesz end. */ in dwfl_segment_report_module() 483 GElf_Off file_end = 0; /* Rounded up to effective page size. */ in dwfl_segment_report_module() 484 GElf_Off contiguous = 0; /* Visible as contiguous file from START. */ in dwfl_segment_report_module() 485 GElf_Off total_filesz = 0; /* Total size of data to read. */ in dwfl_segment_report_module() 518 GElf_Off offset = is32 ? p32[i].p_offset : p64[i].p_offset; in dwfl_segment_report_module() 652 GElf_Off filesz_offset = filesz_vaddr - vaddr + offset; in dwfl_segment_report_module() 960 const GElf_Off cost = (contiguous < file_trimmed_end ? total_filesz in dwfl_segment_report_module() 963 const GElf_Off worthwhile = ((dynstr_vaddr == 0 || dynstrsz == 0) ? 0 in dwfl_segment_report_module() [all …]
|
D | dwfl_module_addrsym.c | 244 __libdwfl_addrsym (Dwfl_Module *_mod, GElf_Addr _addr, GElf_Off *off, in __libdwfl_addrsym() 321 GElf_Off off; in dwfl_module_addrsym() 329 GElf_Off *offset, GElf_Sym *sym, in INTDEF()
|
D | dwfl_module_addrname.c | 38 GElf_Off off; in dwfl_module_addrname()
|
D | libdwflP.h | 677 GElf_Off cost, GElf_Off worthwhile, 678 GElf_Off whole, GElf_Off contiguous,
|
D | relocate.c | 579 GElf_Off shdrs_start = ehdr->e_shoff; in relocate_section() 585 GElf_Off shdrs_end = shdrs_start + shnums * shentsize; in relocate_section() 596 GElf_Off phdrs_start = ehdr->e_phoff; in relocate_section() 604 GElf_Off phdrs_end = phdrs_start + phnums * phentsize; in relocate_section()
|
D | dwfl_module_getdwarf.c | 667 GElf_Addr addrs[n], GElf_Off offs[n]) in find_offsets() 707 GElf_Off offs[i_max] = { 0, }; in translate_offs() 744 GElf_Off buckets_at = (offs[i_gnu_hash] + sizeof *header in translate_offs() 767 GElf_Off hasharr_at = (buckets_at in translate_offs()
|
D | libdwfl.h | 499 GElf_Off *offset, GElf_Sym *sym,
|
/third_party/elfutils/src/ |
D | size.c | 423 GElf_Off total = 0; in show_sysv() 470 GElf_Off total = 0; in show_sysv_one_line() 517 GElf_Off textsize = 0; in show_bsd() 518 GElf_Off datasize = 0; in show_bsd() 519 GElf_Off bsssize = 0; in show_bsd() 594 GElf_Off total = 0; in show_segments()
|
D | strip.c | 844 GElf_Off *last_offset, GElf_Xword *last_size) in handle_debug_relocs() 855 GElf_Off lastoffset = 0; in handle_debug_relocs() 898 GElf_Off filesz = (shdr.sh_type != SHT_NOBITS in handle_debug_relocs() 933 & ~((GElf_Off) (shdr.sh_addralign - 1))); in handle_debug_relocs() 940 GElf_Off filesz = (shdr.sh_type != SHT_NOBITS in handle_debug_relocs() 992 GElf_Off lastsec_offset = 0; in handle_elf() 1876 GElf_Off lastoffset = 0; in handle_elf() 2133 & ~((GElf_Off) (shdr_info[cnt].shdr.sh_addralign - 1))); in handle_elf() 2141 GElf_Off filesz = (shdr_info[cnt].shdr.sh_type != SHT_NOBITS in handle_elf() 2161 & ~((GElf_Off) (shdr_info[cnt].shdr.sh_addralign - 1))); in handle_elf() [all …]
|
D | elfcompress.c | 388 GElf_Off last_offset = 0; in process_file() 513 GElf_Off off = shdr->sh_offset + (shdr->sh_type != SHT_NOBITS in process_file() 1243 & ~((GElf_Off) (offsize - 1))); in process_file()
|
D | elfcmp.c | 641 GElf_Off last = phdr1->p_offset; in main() 642 GElf_Off end = phdr1->p_offset + phdr1->p_filesz; in main()
|
D | unstrip.c | 1654 GElf_Off offset = 0; in copy_elided_sections() 1724 const GElf_Off end_offset = (shdr_mem.sh_offset in copy_elided_sections() 2070 GElf_Off align = shdr->sh_addralign ?: 1; in copy_elided_sections() 2087 GElf_Off sh_align = gelf_getclass (unstripped) * 4; in copy_elided_sections()
|
D | addr2line.c | 422 GElf_Off off; in print_addrsym()
|
D | elflint.c | 4117 const GElf_Off end = phdr->p_offset + phdr->p_filesz; in check_sections() 4304 static GElf_Off 4306 Elf_Data *data, int shndx, int phndx, GElf_Off start) in check_note_data() 4438 GElf_Off notes_size = 0; in check_note() 4475 GElf_Off notes_size = check_note_data (ebl, ehdr, data, idx, 0, 0); in check_note_section()
|
/third_party/elfutils/libasm/ |
D | libasmP.h | 102 GElf_Off offset; 207 GElf_Off offset;
|
/third_party/elfutils/libelf/ |
D | gelf_offscn.c | 41 gelf_offscn (Elf *elf, GElf_Off offset) in gelf_offscn()
|
D | gelf.h | 58 typedef Elf64_Off GElf_Off; typedef 174 extern Elf_Scn *gelf_offscn (Elf *__elf, GElf_Off __offset);
|
D | elf32_updatefile.c | 317 assert ((GElf_Off) dl->data.d.d_off <= shdr->sh_size); in __elfw2() 319 - (GElf_Off) dl->data.d.d_off)); in __elfw2()
|
/third_party/elfutils/tests/ |
D | elfcopy.c | 187 GElf_Off *offs = NULL; in copy_elf() 197 offs = malloc (shnum * sizeof (GElf_Off)); in copy_elf()
|
D | elfstrmerge.c | 302 GElf_Off last_offset = 0; in main() 327 GElf_Off off = shdr->sh_offset + (shdr->sh_type != SHT_NOBITS in main() 646 & ~((GElf_Off) (offsize - 1))); in main()
|
D | dwflsyms.c | 160 GElf_Off off; in list_syms()
|
/third_party/elfutils/include/elfutils/ |
D | libdwfl.h | 499 GElf_Off *offset, GElf_Sym *sym,
|
/third_party/elfutils/libdw/ |
D | libdw.h | 64 typedef GElf_Off Dwarf_Off;
|