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()
168 if (Elf::IsValidElf(memory.get())) { in CreateMemory()
213 Elf* MapInfo::GetElf(const std::shared_ptr<Memory>& process_memory, ArchEnum expected_arch) { in GetElf()
223 if (Elf::CachingEnabled() && !name().empty()) { in GetElf()
224 Elf::CacheLock(); in GetElf()
226 if (Elf::CacheGet(this)) { in GetElf()
227 Elf::CacheUnlock(); in GetElf()
234 if (Elf::CacheAfterCreateMemory(this)) { in GetElf()
236 Elf::CacheUnlock(); in GetElf()
240 elf().reset(new Elf(memory)); in GetElf()
250 Elf::CacheAdd(this); in GetElf()
251 Elf::CacheUnlock(); in GetElf()
311 cur_load_bias = Elf::GetLoadBias(memory.get()); in GetLoadBias()
337 Elf* elf_obj = elf().get(); in GetBuildID()
348 result = Elf::GetBuildID(memory.get()); in GetBuildID()