Home
last modified time | relevance | path

Searched refs:GElf_Off (Results 1 – 25 of 26) sorted by relevance

12

/third_party/elfutils/libdwfl/
Delf-from-memory.c122 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 …]
Dcore-file.c176 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 …]
Ddwfl_segment_report_module.c355 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 …]
Ddwfl_module_addrsym.c244 __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()
Ddwfl_module_addrname.c38 GElf_Off off; in dwfl_module_addrname()
DlibdwflP.h677 GElf_Off cost, GElf_Off worthwhile,
678 GElf_Off whole, GElf_Off contiguous,
Drelocate.c579 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()
Ddwfl_module_getdwarf.c667 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()
Dlibdwfl.h499 GElf_Off *offset, GElf_Sym *sym,
/third_party/elfutils/src/
Dsize.c423 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()
Dstrip.c844 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 …]
Delfcompress.c388 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()
Delfcmp.c641 GElf_Off last = phdr1->p_offset; in main()
642 GElf_Off end = phdr1->p_offset + phdr1->p_filesz; in main()
Dunstrip.c1654 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()
Daddr2line.c422 GElf_Off off; in print_addrsym()
Delflint.c4117 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/
DlibasmP.h102 GElf_Off offset;
207 GElf_Off offset;
/third_party/elfutils/libelf/
Dgelf_offscn.c41 gelf_offscn (Elf *elf, GElf_Off offset) in gelf_offscn()
Dgelf.h58 typedef Elf64_Off GElf_Off; typedef
174 extern Elf_Scn *gelf_offscn (Elf *__elf, GElf_Off __offset);
Delf32_updatefile.c317 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/
Delfcopy.c187 GElf_Off *offs = NULL; in copy_elf()
197 offs = malloc (shnum * sizeof (GElf_Off)); in copy_elf()
Delfstrmerge.c302 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()
Ddwflsyms.c160 GElf_Off off; in list_syms()
/third_party/elfutils/include/elfutils/
Dlibdwfl.h499 GElf_Off *offset, GElf_Sym *sym,
/third_party/elfutils/libdw/
Dlibdw.h64 typedef GElf_Off Dwarf_Off;

12