Home
last modified time | relevance | path

Searched refs:sh_addr (Results 1 – 25 of 62) sorted by relevance

123

/external/elfutils/libdwfl/
Ddwfl_report_elf.c82 if (shdr->sh_addr == 0 in __libdwfl_elf_address_range()
88 shdr->sh_addr = next; in __libdwfl_elf_address_range()
92 start = base = shdr->sh_addr; in __libdwfl_elf_address_range()
116 prev_shdr->sh_addr in __libdwfl_elf_address_range()
118 end = prev_shdr->sh_addr + prev_shdr->sh_size; in __libdwfl_elf_address_range()
129 end = shdr->sh_addr + shdr->sh_size; in __libdwfl_elf_address_range()
130 if (likely (shdr->sh_addr != 0) in __libdwfl_elf_address_range()
137 if (first || end < shdr->sh_addr + shdr->sh_size) in __libdwfl_elf_address_range()
138 end = shdr->sh_addr + shdr->sh_size; in __libdwfl_elf_address_range()
139 if (first || bias > shdr->sh_addr) in __libdwfl_elf_address_range()
[all …]
Drelocate.c52 if (refshdr->sh_addr == 0 && (refshdr->sh_flags & SHF_ALLOC)) in __libdwfl_relocate_value()
67 &refshdr->sh_addr)) in __libdwfl_relocate_value()
70 if (refshdr->sh_addr == (Dwarf_Addr) -1l) in __libdwfl_relocate_value()
73 refshdr->sh_addr = 0; /* Make no adjustment below. */ in __libdwfl_relocate_value()
78 if (likely (refshdr->sh_addr != 0) in __libdwfl_relocate_value()
85 *value += dwfl_adjusted_address (mod, refshdr->sh_addr); in __libdwfl_relocate_value()
Dderelocate.c96 if ((shdr->sh_flags & SHF_ALLOC) && shdr->sh_addr == 0 in cache_sections()
102 &shdr->sh_addr) != DWFL_E_NOERROR) in cache_sections()
128 newref->start = dwfl_adjusted_address (mod, shdr->sh_addr); in cache_sections()
Doffline.c49 assert (shdr->sh_addr == 0); in dwfl_offline_section_address()
85 *addr = main_shdr->sh_addr; in dwfl_offline_section_address()
Ddwfl_module_addrsym.c96 && mod_addr >= shdr->sh_addr in same_section()
97 && mod_addr < shdr->sh_addr + shdr->sh_size) in same_section()
Ddwfl_module_getdwarf.c238 GElf_Addr sh_addr, in consider_shdr() argument
243 && ((sh_type == SHT_PROGBITS && sh_addr != interp) in consider_shdr()
246 const GElf_Addr sh_end = sh_addr + sh_size; in consider_shdr()
481 sh->sh_addr, sh->sh_size, &highest); in find_prelink_address_sync()
493 (*s32)[i].sh_flags, (*s32)[i].sh_addr, in find_prelink_address_sync()
501 (*s64)[i].sh_flags, (*s64)[i].sh_addr, in find_prelink_address_sync()
/external/elfutils/tests/
Dupdate4.c133 shdr->sh_addr = 0; in main()
169 shdr->sh_addr = 0; in main()
205 shdr->sh_addr = 0; in main()
241 shdr->sh_addr = 0; in main()
278 shdr->sh_addr = 0; in main()
Ddwflsyms.c104 return addr >= shdr.sh_addr && addr < shdr.sh_addr + shdr.sh_size; in addr_in_section()
Dalldts.c147 shdr->sh_addr = 0x1a0; in main()
198 shdr->sh_addr = 0; in main()
Dsectiondump.c106 shdr->sh_addr, in handle_section()
/external/elfutils/backends/
Daarch64_symbol.c84 return (sym->st_value >= shdr->sh_addr in aarch64_check_special_symbol()
85 && sym->st_value < shdr->sh_addr + shdr->sh_size); in aarch64_check_special_symbol()
Dalpha_symbol.c93 && shdr->sh_addr != 0) in alpha_check_special_section()
121 return pltgot == shdr->sh_addr; in alpha_check_special_section()
Dppc_symbol.c152 && sym->st_value == destshdr->sh_addr + 0x8000) in ppc_check_special_symbol()
158 && sym->st_value == destshdr->sh_addr + 0x8000 in ppc_check_special_symbol()
Dsparc_symbol.c103 return dyn.d_un.d_ptr == shdr->sh_addr; in sparc_check_special_section()
Dppc64_init.c98 eh->fd_addr = opd_shdr->sh_addr; in ppc64_init()
/external/elfutils/libelf/
Dgelf_update_shdr.c64 || unlikely (src->sh_addr > 0xffffffffull) in gelf_update_shdr()
79 COPY (sh_addr); in gelf_update_shdr()
Delf32_getshdr.c143 CONVERT_TO (shdr[cnt].sh_addr, notcvt[cnt].sh_addr); in ElfW2()
192 CONVERT (shdr[cnt].sh_addr); in ElfW2()
Dgelf_getshdr.c73 COPY (sh_addr); in gelf_getshdr()
/external/google-breakpad/src/common/linux/
Dsynth_elf_unittest.cc245 EXPECT_EQ(0U, shdr[0].sh_addr); in TYPED_TEST()
256 EXPECT_EQ(0U, shdr[1].sh_addr); in TYPED_TEST()
320 EXPECT_EQ(0U, shdr[0].sh_addr); in TYPED_TEST()
331 EXPECT_EQ(0U, shdr[1].sh_addr); in TYPED_TEST()
342 EXPECT_EQ(0U, shdr[2].sh_addr); in TYPED_TEST()
353 EXPECT_EQ(0U, shdr[3].sh_addr); in TYPED_TEST()
/external/elfutils/src/
Dunstrip.c395 sym->st_value = shdr->sh_addr; in symtab_count_leading_section_symbols()
634 .st_value = rel ? 0 : i_shdr->sh_addr, in add_new_section_symbols()
700 if (s1->shdr.sh_addr < s2->shdr.sh_addr) in compare_alloc_sections()
702 if (s1->shdr.sh_addr > s2->shdr.sh_addr) in compare_alloc_sections()
830 s->value = shdr->sh_addr; in collect_symbols()
833 && s->value < split_bss->shdr.sh_addr in collect_symbols()
834 && s->value >= split_bss[-1].shdr.sh_addr in collect_symbols()
938 const GElf_Addr addr = shdr->sh_addr + bias; in find_alloc_section()
943 if (addr < sections[i].shdr.sh_addr) in find_alloc_section()
945 else if (addr > sections[i].shdr.sh_addr) in find_alloc_section()
[all …]
Di386_ld.c372 Elf32_Addr gotaddr = shdr->sh_addr; in elf_i386_finalize_plt()
382 ((Elf32_Word *) data->d_buf)[0] = shdr->sh_addr; in elf_i386_finalize_plt()
463 Elf32_Addr pltentryaddr = (pltshdr->sh_addr + pltidx * PLT_ENTRY_SIZE); in elf_i386_finalize_plt()
718 Elf32_Addr pltaddr = shdr->sh_addr; in elf_i386_create_relocations()
732 Elf32_Addr gotaddr = shdr->sh_addr; in elf_i386_create_relocations()
/external/elfutils/libdw/
Ddwarf_getcfi_elf.c225 Dwarf_CFI *cfi = allocate_cfi (elf, shdr->sh_addr); in getcfi_scn_eh_frame()
261 if (unlikely (eh_frame_vaddr != shdr->sh_addr)) in getcfi_scn_eh_frame()
297 hdr_vaddr = shdr->sh_addr; in getcfi_shdr()
/external/ltrace/
Dltrace-elf.c155 return addr >= shdr->sh_addr in inside_p()
156 && addr < shdr->sh_addr + shdr->sh_size; in inside_p()
481 GElf_Xword offset = rel->r_offset - shdr.sh_addr - data->d_off; in rel_to_rela()
613 lte->dyn_addr = shdr.sh_addr + lte->bias; in ltelf_read_elf()
643 lte->plt_addr = shdr.sh_addr; in ltelf_read_elf()
653 lte->opd_addr = (GElf_Addr *) (long) shdr.sh_addr; in ltelf_read_elf()
683 if (shdr.sh_addr == relplt_addr in ltelf_read_elf()
/external/kernel-headers/original/uapi/linux/
Delf.h303 Elf32_Addr sh_addr; member
316 Elf64_Addr sh_addr; /* Section virtual addr at execution */ member
/external/llvm/tools/llvm-readobj/
DELFDumper.cpp319 W.printHex("Address", Sec->sh_addr); in printVersionSymbolSection()
351 W.printHex("Address", Sec->sh_addr); in printVersionDefinitionSection()
496 if (Shdr.sh_addr == Addr) in findSectionByAddress()
1099 W.printHex("Address", Sec.sh_addr); in printSections()
1817 W.printHex("Canonical gp value", GOTShdr->sh_addr + 0x7ff0); in parseGOT()
1823 printGotEntry(GOTShdr->sh_addr, GotBegin, It++); in parseGOT()
1829 printGotEntry(GOTShdr->sh_addr, GotBegin, It++); in parseGOT()
1837 printGotEntry(GOTShdr->sh_addr, GotBegin, It); in parseGOT()
1848 printGlobalGotEntry(GOTShdr->sh_addr, GotBegin, It, GotDynSym++, in parseGOT()
1897 printPLTEntry(PLTShdr->sh_addr, PLTBegin, It++, "PLT lazy resolver"); in parsePLT()
[all …]

123