Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dread_apk.h32 class EmbeddedElf {
34 EmbeddedElf() : entry_offset_(0), entry_size_(0) {} in EmbeddedElf() function
36 EmbeddedElf(const std::string& filepath, const std::string& entry_name, uint64_t entry_offset, in EmbeddedElf() function
65 static EmbeddedElf* FindElfInApkByOffset(const std::string& apk_path, uint64_t file_offset);
66 static EmbeddedElf* FindElfInApkByName(const std::string& apk_path,
70 static std::unique_ptr<EmbeddedElf> FindElfInApkByOffsetWithoutCache(const std::string& apk_path,
72 static std::unique_ptr<EmbeddedElf> FindElfInApkByNameWithoutCache(const std::string& apk_path,
77 std::unordered_map<uint64_t, std::unique_ptr<EmbeddedElf>> offset_map;
79 std::unordered_map<std::string, EmbeddedElf*> name_map;
Dread_apk.cpp40 EmbeddedElf* ApkInspector::FindElfInApkByOffset(const std::string& apk_path, uint64_t file_offset) { in FindElfInApkByOffset()
47 std::unique_ptr<EmbeddedElf> elf = FindElfInApkByOffsetWithoutCache(apk_path, file_offset); in FindElfInApkByOffset()
48 EmbeddedElf* result = elf.get(); in FindElfInApkByOffset()
56 EmbeddedElf* ApkInspector::FindElfInApkByName(const std::string& apk_path, in FindElfInApkByName()
63 std::unique_ptr<EmbeddedElf> elf = FindElfInApkByNameWithoutCache(apk_path, entry_name); in FindElfInApkByName()
64 EmbeddedElf* result = elf.get(); in FindElfInApkByName()
72 std::unique_ptr<EmbeddedElf> ApkInspector::FindElfInApkByOffsetWithoutCache( in FindElfInApkByOffsetWithoutCache()
104 return std::unique_ptr<EmbeddedElf>(new EmbeddedElf( in FindElfInApkByOffsetWithoutCache()
108 std::unique_ptr<EmbeddedElf> ApkInspector::FindElfInApkByNameWithoutCache( in FindElfInApkByNameWithoutCache()
121 return std::unique_ptr<EmbeddedElf>( in FindElfInApkByNameWithoutCache()
[all …]
Dread_apk_test.cpp32 EmbeddedElf* ee = inspector.FindElfInApkByOffset( in TEST()
DOfflineUnwinder.cpp196 EmbeddedElf* elf = ApkInspector::FindElfInApkByName(std::get<1>(tuple), std::get<2>(tuple)); in CreateMapInfo()
Dread_elf.cpp551 EmbeddedElf* elf = ApkInspector::FindElfInApkByName(std::get<1>(tuple), std::get<2>(tuple)); in Open()
Dcmd_record.cpp1769 EmbeddedElf* ee = ApkInspector::FindElfInApkByOffset(filename, r.data->pgoff); in UpdateMmapRecordForEmbeddedPath()