Lines Matching refs:Elf
47 if (!Elf::GetInfo(memory, &max_size) || max_size < map_size) { in InitFileMemoryFromPreviousReadOnlyMap()
90 if (Elf::GetInfo(memory.get(), &max_size)) { in GetFileMemory()
107 if (memory->Init(name, 0) && Elf::IsValidElf(memory.get())) { in GetFileMemory()
163 if (Elf::IsValidElf(memory.get())) { in CreateMemory()
192 Elf* MapInfo::GetElf(const std::shared_ptr<Memory>& process_memory, ArchEnum expected_arch) { in GetElf()
202 if (Elf::CachingEnabled() && !name.empty()) { in GetElf()
203 Elf::CacheLock(); in GetElf()
205 if (Elf::CacheGet(this)) { in GetElf()
206 Elf::CacheUnlock(); in GetElf()
213 if (Elf::CacheAfterCreateMemory(this)) { in GetElf()
215 Elf::CacheUnlock(); in GetElf()
219 elf.reset(new Elf(memory)); in GetElf()
229 Elf::CacheAdd(this); in GetElf()
230 Elf::CacheUnlock(); in GetElf()
285 cur_load_bias = Elf::GetLoadBias(memory.get()); in GetLoadBias()
311 Elf* elf_obj = elf.get(); in GetBuildID()
321 *cur_build_id = Elf::GetBuildID(memory.get()); in GetBuildID()