Home
last modified time | relevance | path

Searched refs:sh_addr (Results 1 - 25 of 72) sorted by relevance

123

/third_party/elfutils/libdwfl/
H A Ddwfl_report_elf.c84 if (shdr->sh_addr == 0 in __libdwfl_elf_address_range()
90 shdr->sh_addr = next; in __libdwfl_elf_address_range()
94 start = base = shdr->sh_addr; in __libdwfl_elf_address_range()
118 prev_shdr->sh_addr in __libdwfl_elf_address_range()
120 end = prev_shdr->sh_addr + prev_shdr->sh_size; in __libdwfl_elf_address_range()
131 end = shdr->sh_addr + shdr->sh_size; in __libdwfl_elf_address_range()
132 if (likely (shdr->sh_addr != 0) in __libdwfl_elf_address_range()
139 if (first || end < shdr->sh_addr + shdr->sh_size) in __libdwfl_elf_address_range()
140 end = shdr->sh_addr + shdr->sh_size; in __libdwfl_elf_address_range()
141 if (first || bias > shdr->sh_addr) in __libdwfl_elf_address_range()
[all...]
H A Drelocate.c59 if (refshdr->sh_addr == 0 && (refshdr->sh_flags & SHF_ALLOC)) in __libdwfl_relocate_value()
74 &refshdr->sh_addr)) in __libdwfl_relocate_value()
77 if (refshdr->sh_addr == (Dwarf_Addr) -1l) in __libdwfl_relocate_value()
80 refshdr->sh_addr = 0; /* Make no adjustment below. */ in __libdwfl_relocate_value()
85 if (likely (refshdr->sh_addr != 0) in __libdwfl_relocate_value()
92 *value += dwfl_adjusted_address (mod, refshdr->sh_addr); in __libdwfl_relocate_value()
H A Dderelocate.c106 if ((shdr->sh_flags & SHF_ALLOC) && shdr->sh_addr == 0 in cache_sections()
112 &shdr->sh_addr) != DWFL_E_NOERROR) in cache_sections()
138 newref->start = dwfl_adjusted_address (mod, shdr->sh_addr); in cache_sections()
H A Doffline.c54 assert (shdr->sh_addr == 0); in dwfl_offline_section_address()
59 /* We are only here because sh_addr is zero even though layout is complete. in dwfl_offline_section_address()
90 *addr = main_shdr->sh_addr; in dwfl_offline_section_address()
H A Ddwfl_module_addrsym.c100 && mod_addr >= shdr->sh_addr in same_section()
101 && mod_addr < shdr->sh_addr + shdr->sh_size) in same_section()
H A Ddwfl_module_getdwarf.c242 GElf_Addr sh_addr, in consider_shdr()
247 && ((sh_type == SHT_PROGBITS && sh_addr != interp) in consider_shdr()
250 const GElf_Addr sh_end = sh_addr + sh_size; in consider_shdr()
465 SHT_PROGBITS or SHT_NOBITS, excluding the section whose sh_addr in find_prelink_address_sync()
487 sh->sh_addr, sh->sh_size, &highest); in find_prelink_address_sync()
499 (*s32)[i].sh_flags, (*s32)[i].sh_addr, in find_prelink_address_sync()
507 (*s64)[i].sh_flags, (*s64)[i].sh_addr, in find_prelink_address_sync()
239 consider_shdr(GElf_Addr interp, GElf_Word sh_type, GElf_Xword sh_flags, GElf_Addr sh_addr, GElf_Xword sh_size, GElf_Addr *phighest) consider_shdr() argument
/third_party/elfutils/backends/
H A Driscv_symbol.c108 && sym->st_value >= destshdr->sh_addr in riscv_check_special_symbol()
109 && sym->st_value < destshdr->sh_addr + destshdr->sh_size); in riscv_check_special_symbol()
116 && sym->st_value == destshdr->sh_addr + 0x800) in riscv_check_special_symbol()
H A Ds390_symbol.c87 return (sym->st_value >= shdr->sh_addr in s390_check_special_symbol()
88 && sym->st_value < shdr->sh_addr + shdr->sh_size); in s390_check_special_symbol()
H A Daarch64_symbol.c90 return (sym->st_value >= shdr->sh_addr in aarch64_check_special_symbol()
91 && sym->st_value < shdr->sh_addr + shdr->sh_size); in aarch64_check_special_symbol()
H A Dalpha_symbol.c94 && shdr->sh_addr != 0) in alpha_check_special_section()
99 Its d_ptr should match the .plt section's sh_addr. */ in alpha_check_special_section()
122 return pltgot == shdr->sh_addr; in alpha_check_special_section()
H A Dppc_symbol.c169 && sym->st_value == destshdr->sh_addr + 0x8000) in ppc_check_special_symbol()
175 && sym->st_value == destshdr->sh_addr + 0x8000 in ppc_check_special_symbol()
H A Dsparc_symbol.c86 Its d_ptr should match the .plt section's sh_addr. */ in sparc_check_special_section()
104 return dyn.d_un.d_ptr == shdr->sh_addr; in sparc_check_special_section()
H A Dppc64_init.c95 eh->fd_addr = opd_shdr->sh_addr; in ppc64_init()
/third_party/elfutils/tests/
H A Dupdate4.c134 shdr->sh_addr = 0; in main()
170 shdr->sh_addr = 0; in main()
206 shdr->sh_addr = 0; in main()
242 shdr->sh_addr = 0; in main()
279 shdr->sh_addr = 0; in main()
H A Ddwflsyms.c103 return addr >= shdr.sh_addr && addr < shdr.sh_addr + shdr.sh_size; in addr_in_section()
H A Dalldts.c149 shdr->sh_addr = 0x1a0; in main()
200 shdr->sh_addr = 0; in main()
H A Daddsections.c206 shdr->sh_addr = 0; in add_sections()
253 shdr->sh_addr = 0; in add_sections()
H A Dfillfile.c90 shdr->sh_addr = 0; in create_strtab()
151 shdr->sh_addr = 0; in add_data_section()
/third_party/elfio/elfio/
H A Delfio_section.hpp97 ELFIO_GET_ACCESS( Elf64_Addr, address, header.sh_addr );
113 header.sh_addr = decltype( header.sh_addr )( value );
114 header.sh_addr = ( *convertor )( header.sh_addr );
/third_party/elfutils/libelf/
H A Dgelf_update_shdr.c64 || unlikely (src->sh_addr > 0xffffffffull) in gelf_update_shdr()
79 COPY (sh_addr); in gelf_update_shdr()
H A Delf32_getshdr.c141 CONVERT_TO (shdr[cnt].sh_addr, notcvt[cnt].sh_addr); in ElfW2()
190 CONVERT (shdr[cnt].sh_addr); in ElfW2()
H A Dgelf_getshdr.c73 COPY (sh_addr); in gelf_getshdr()
/third_party/elfutils/src/
H A Dunstrip.c405 sym->st_value = shdr->sh_addr; in symtab_count_leading_section_symbols()
675 .st_value = rel ? 0 : i_shdr->sh_addr, in add_new_section_symbols()
744 if (s1->shdr.sh_addr < s2->shdr.sh_addr) in compare_alloc_sections()
746 if (s1->shdr.sh_addr > s2->shdr.sh_addr) in compare_alloc_sections()
890 s->value = shdr->sh_addr; in collect_symbols()
893 && s->value < split_bss->shdr.sh_addr in collect_symbols()
894 && s->value >= split_bss[-1].shdr.sh_addr in collect_symbols()
998 const GElf_Addr addr = shdr->sh_addr in find_alloc_section()
[all...]
/third_party/elfutils/libdw/
H A Ddwarf_getcfi_elf.c227 Dwarf_CFI *cfi = allocate_cfi (elf, ehdr, shdr->sh_addr); in getcfi_scn_eh_frame()
263 if (unlikely (eh_frame_vaddr != shdr->sh_addr)) in getcfi_scn_eh_frame()
299 hdr_vaddr = shdr->sh_addr; in getcfi_shdr()
/third_party/libabigail/src/
H A Dabg-elf-helpers.cc943 if (crc_symbol_value < sheader->sh_addr) in get_crc_for_symbol()
946 size_t offset = crc_symbol_value - sheader->sh_addr; in get_crc_for_symbol()
1160 size_t fn_desc_offset = fn_desc_address - opd_sheader->sh_addr; in lookup_ppc64_elf_fn_entry_point_address()
1342 return addr + section_header.sh_addr; in maybe_adjust_et_rel_sym_addr_to_abs_addr()
1361 if (sheader->sh_addr <= addr && addr <= sheader->sh_addr + sheader->sh_size) in address_is_in_section()

Completed in 15 milliseconds

123