Home
last modified time | relevance | path

Searched refs:EmbeddedElf (Results 1 – 6 of 6) sorted by relevance

/system/extras/simpleperf/
Dread_apk.h30 class EmbeddedElf {
32 EmbeddedElf() in EmbeddedElf() function
38 EmbeddedElf(const std::string& filepath, in EmbeddedElf() function
71 static EmbeddedElf* FindElfInApkByOffset(const std::string& apk_path, uint64_t file_offset);
72 static EmbeddedElf* FindElfInApkByName(const std::string& apk_path,
76 static std::unique_ptr<EmbeddedElf> FindElfInApkByOffsetWithoutCache(const std::string& apk_path,
78 static std::unique_ptr<EmbeddedElf> FindElfInApkByNameWithoutCache(
83 std::unordered_map<uint64_t, std::unique_ptr<EmbeddedElf>> offset_map;
85 std::unordered_map<std::string, EmbeddedElf*> name_map;
Dread_apk.cpp38 EmbeddedElf* ApkInspector::FindElfInApkByOffset(const std::string& apk_path, uint64_t file_offset) { in FindElfInApkByOffset()
45 std::unique_ptr<EmbeddedElf> elf = FindElfInApkByOffsetWithoutCache(apk_path, file_offset); in FindElfInApkByOffset()
46 EmbeddedElf* result = elf.get(); in FindElfInApkByOffset()
54 EmbeddedElf* ApkInspector::FindElfInApkByName(const std::string& apk_path, in FindElfInApkByName()
61 std::unique_ptr<EmbeddedElf> elf = FindElfInApkByNameWithoutCache(apk_path, entry_name); in FindElfInApkByName()
62 EmbeddedElf* result = elf.get(); in FindElfInApkByName()
70 std::unique_ptr<EmbeddedElf> ApkInspector::FindElfInApkByOffsetWithoutCache( in FindElfInApkByOffsetWithoutCache()
107 return std::unique_ptr<EmbeddedElf>(new EmbeddedElf(apk_path, found_entry_name, in FindElfInApkByOffsetWithoutCache()
112 std::unique_ptr<EmbeddedElf> ApkInspector::FindElfInApkByNameWithoutCache( in FindElfInApkByNameWithoutCache()
125 return std::unique_ptr<EmbeddedElf>(new EmbeddedElf(apk_path, entry_name, zentry.offset, in FindElfInApkByNameWithoutCache()
Dread_apk_test.cpp29 EmbeddedElf* ee = inspector.FindElfInApkByOffset(GetTestData(APK_FILE), in TEST()
Ddso.cpp480 EmbeddedElf* elf = ApkInspector::FindElfInApkByName(std::get<1>(tuple), in GetMinExecutableVaddr()
552 EmbeddedElf* elf = ApkInspector::FindElfInApkByName(std::get<1>(tuple), std::get<2>(tuple)); in LoadSymbols()
725 EmbeddedElf* elf = ApkInspector::FindElfInApkByName(std::get<1>(tuple), std::get<2>(tuple)); in GetBuildIdFromDsoPath()
DOfflineUnwinder.cpp127 EmbeddedElf* elf = ApkInspector::FindElfInApkByName(std::get<1>(tuple), std::get<2>(tuple)); in CreateMapInfo()
Dcmd_record.cpp1369 EmbeddedElf* ee = ApkInspector::FindElfInApkByOffset(filename, r.data->pgoff); in UpdateMmapRecordForEmbeddedPath()