Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dread_apk.h30 class EmbeddedElf {
32 EmbeddedElf() in EmbeddedElf() function
38 EmbeddedElf(std::string filepath, in EmbeddedElf() function
74 static EmbeddedElf* FindElfInApkByOffset(const std::string& apk_path, uint64_t file_offset);
75 static std::unique_ptr<EmbeddedElf> FindElfInApkByName(const std::string& apk_path,
79 static std::unique_ptr<EmbeddedElf> FindElfInApkByOffsetWithoutCache(const std::string& apk_path,
85 static std::map<ApkOffset, std::unique_ptr<EmbeddedElf>> embedded_elf_cache_;
Dread_apk.cpp35 std::map<ApkInspector::ApkOffset, std::unique_ptr<EmbeddedElf>> ApkInspector::embedded_elf_cache_;
37 EmbeddedElf* ApkInspector::FindElfInApkByOffset(const std::string& apk_path, uint64_t file_offset) { in FindElfInApkByOffset()
44 std::unique_ptr<EmbeddedElf> elf = FindElfInApkByOffsetWithoutCache(apk_path, file_offset); in FindElfInApkByOffset()
45 EmbeddedElf* result = elf.get(); in FindElfInApkByOffset()
50 std::unique_ptr<EmbeddedElf> ApkInspector::FindElfInApkByOffsetWithoutCache(const std::string& apk_… in FindElfInApkByOffsetWithoutCache()
109 return std::unique_ptr<EmbeddedElf>(new EmbeddedElf(apk_path, entry_name, zentry.offset, in FindElfInApkByOffsetWithoutCache()
113 std::unique_ptr<EmbeddedElf> ApkInspector::FindElfInApkByName(const std::string& apk_path, in FindElfInApkByName()
138 return std::unique_ptr<EmbeddedElf>(new EmbeddedElf(apk_path, elf_filename, zentry.offset, in FindElfInApkByName()
176 std::unique_ptr<EmbeddedElf> ee = ApkInspector::FindElfInApkByName(apk_path, elf_filename); in GetBuildIdFromApkFile()
186 std::unique_ptr<EmbeddedElf> ee = ApkInspector::FindElfInApkByName(apk_path, elf_filename); in ParseSymbolsFromApkFile()
Dread_apk_test.cpp36 EmbeddedElf* ee = inspector.FindElfInApkByOffset(GetTestData(APK_FILE), in TEST()
Dcmd_record.cpp816 EmbeddedElf* ee = in UpdateMmapRecordForEmbeddedElfPath()