Lines Matching refs:Elf
50 if (!Elf::GetInfo(memory, &max_size) || max_size < map_size) { in InitFileMemoryFromPreviousReadOnlyMap()
93 if (Elf::GetInfo(memory.get(), &max_size)) { in GetFileMemory()
110 if (memory->Init(name, 0) && Elf::IsValidElf(memory.get())) { in GetFileMemory()
166 if (Elf::IsValidElf(memory.get())) { in CreateMemory()
195 Elf* MapInfo::GetElf(const std::shared_ptr<Memory>& process_memory, ArchEnum expected_arch) { in GetElf()
205 if (Elf::CachingEnabled() && !name.empty()) { in GetElf()
206 Elf::CacheLock(); in GetElf()
208 if (Elf::CacheGet(this)) { in GetElf()
209 Elf::CacheUnlock(); in GetElf()
216 if (Elf::CacheAfterCreateMemory(this)) { in GetElf()
218 Elf::CacheUnlock(); in GetElf()
222 elf.reset(new Elf(memory)); in GetElf()
232 Elf::CacheAdd(this); in GetElf()
233 Elf::CacheUnlock(); in GetElf()
290 cur_load_bias = Elf::GetLoadBias(memory.get()); in GetLoadBias()
316 Elf* elf_obj = elf.get(); in GetBuildID()
326 *cur_build_id = Elf::GetBuildID(memory.get()); in GetBuildID()