Searched refs:elf (Results 1 - 10 of 10) sorted by relevance

/system/extras/simpleperf/
H A Dread_elf.cpp104 bool GetBuildIdFromELFFile(const llvm::object::ELFFile<ELFT>* elf, BuildId* build_id) { argument
105 for (auto section_iterator = elf->section_begin(); section_iterator != elf->section_end();
108 auto contents = elf->getSectionContents(&*section_iterator);
124 if (auto elf = llvm::dyn_cast<llvm::object::ELF32LEObjectFile>(obj)) {
125 result = GetBuildIdFromELFFile(elf->getELFFile(), build_id);
126 } else if (auto elf = llvm::dyn_cast<llvm::object::ELF64LEObjectFile>(obj)) {
127 result = GetBuildIdFromELFFile(elf->getELFFile(), build_id);
129 LOG(ERROR) << "unknown elf format in file " << obj->getFileName().data();
211 auto elf local
313 ReadMinExecutableVirtualAddress(const llvm::object::ELFFile<ELFT>* elf, uint64_t* p_vaddr) argument
358 ReadSectionFromELFFile(const llvm::object::ELFFile<ELFT>* elf, const std::string& section_name, std::string* content) argument
[all...]
H A Dread_apk.cpp44 std::unique_ptr<EmbeddedElf> elf = FindElfInApkByOffsetWithoutCache(apk_path, file_offset); local
45 EmbeddedElf* result = elf.get();
46 embedded_elf_cache_[ami] = std::move(elf);
/system/core/libbacktrace/
H A DBacktraceOffline.cpp241 uint64_t ip_vaddr; // vaddr in the elf file.
562 DebugFrameInfo* ReadDebugFrameFromELFFile(const llvm::object::ELFFile<ELFT>* elf) { argument
570 for (auto it = elf->section_begin(); it != elf->section_end(); ++it) {
571 llvm::ErrorOr<llvm::StringRef> name = elf->getSectionName(&*it);
581 llvm::ErrorOr<llvm::ArrayRef<uint8_t>> data = elf->getSectionContents(&*it);
591 llvm::ErrorOr<llvm::ArrayRef<uint8_t>> data = elf->getSectionContents(&*it);
609 for (auto it = elf->program_header_begin(); it != elf->program_header_end(); ++it) {
748 if (auto elf
[all...]
/system/core/debuggerd/arm64/
H A Dmachine.cpp20 #include <elf.h>
/system/core/debuggerd/
H A Delf_utils.cpp19 #include <elf.h>
99 // Read and verify the elf magic number first.
H A Ddebuggerd.cpp19 #include <elf.h>
/system/core/libmemunreachable/
H A DThreadCapture.cpp19 #include <elf.h>
/system/core/crash_reporter/
H A Duser_collector_test.cc19 #include <elf.h>
H A Duser_collector.cc19 #include <elf.h>
/system/update_engine/common/
H A Dutils.cc22 #include <elf.h>

Completed in 217 milliseconds