Home
last modified time | relevance | path

Searched refs:elf_addr (Results 1 – 3 of 3) sorted by relevance

/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_elf_symbols.cpp65 ELF::Addr elf_addr = in LookupByAddress() local
70 if (sym->st_shndx != SHN_UNDEF && elf_addr >= sym->st_value && in LookupByAddress()
71 elf_addr < sym->st_value + sym->st_size) { in LookupByAddress()
83 ELF::Addr elf_addr = in LookupNearestByAddress() local
94 if (elf_addr >= sym->st_value && elf_addr < sym->st_value + sym->st_size) { in LookupNearestByAddress()
102 if (elf_addr < sym->st_value) in LookupNearestByAddress()
103 diff = sym->st_value - elf_addr; in LookupNearestByAddress()
105 diff = elf_addr - sym->st_value - sym->st_size; in LookupNearestByAddress()
Dcrazy_linker_elf_view.cpp59 ELF::Addr elf_addr = load_bias_ + entry->p_vaddr; in InitUnmapped() local
60 const ELF::Ehdr* ehdr = reinterpret_cast<const ELF::Ehdr*>(elf_addr); in InitUnmapped()
62 phdr0 = reinterpret_cast<const ELF::Phdr*>(elf_addr + offset); in InitUnmapped()
Dcrazy_linker_elf_loader.cpp234 ELF::Addr elf_addr = load_bias_ + phdr->p_vaddr; in FindPhdr() local
235 const ELF::Ehdr* ehdr = (const ELF::Ehdr*)(void*)elf_addr; in FindPhdr()