/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/unwind/ |
H A D | maps_test.cpp | 78 std::shared_ptr<DfxMap> map = nullptr; 92 std::shared_ptr<DfxMap> map = nullptr; 109 std::vector<std::shared_ptr<DfxMap>> mapsV; 124 std::shared_ptr<DfxMap> map = nullptr; 125 map = std::make_shared<DfxMap>(0, 0, 0, "1", "anon:ArkTS Code"); 127 map = std::make_shared<DfxMap>(0, 0, 0, "1", "/dev/zero"); 129 map = std::make_shared<DfxMap>(0, 0, 0, 4, "[anon:ArkTS Code]"); 149 shared_ptr<DfxMap> map = DfxMap::Create(INVALID_MAP_ITEM, sizeof(INVALID_MAP_ITEM)); 162 shared_ptr<DfxMap> map = DfxMap::Create(VALID_MAP_ITEM, sizeof(VALID_MAP_ITEM)); 240 shared_ptr<DfxMap> map = DfxMap::Create(VDSO_MAP_ITEM, sizeof(VDSO_MAP_ITEM));
|
H A D | dfx_hap_test.cpp | 48 auto map = std::make_shared<DfxMap>(); 71 auto map = std::make_shared<DfxMap>(); 119 auto map = std::make_shared<DfxMap>();
|
H A D | unwinder_test.cpp | 432 std::shared_ptr<DfxMap> map = nullptr; 674 auto map = DfxMap::Create(testMap, sizeof(testMap)); 684 map = DfxMap::Create(testMap, sizeof(testMap)); 707 auto map = DfxMap::Create(testMap, sizeof(testMap)); 732 auto map = DfxMap::Create(testMap, sizeof(testMap));
|
H A D | memory_test.cpp | 492 std::vector<std::shared_ptr<DfxMap>> shmmMaps; 494 std::shared_ptr<DfxMap> shmmMap = nullptr;
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/ |
H A D | dfx_map.h | 30 class DfxMap { 32 static std::shared_ptr<DfxMap> Create(std::string buf, size_t size); 35 DfxMap() = default; 36 DfxMap(uint64_t begin, uint64_t end, uint64_t offset, in DfxMap() function 39 DfxMap(uint64_t begin, uint64_t end, uint64_t offset, in DfxMap() function 65 std::shared_ptr<DfxMap> prevMap = nullptr; 78 inline bool operator<(const DfxMap &other) const 90 static bool ValueLessThen(uint64_t vaddr, const DfxMap &a) in ValueLessThen() 94 static bool ValueLessEqual(uint64_t vaddr, const DfxMap &a) in ValueLessEqual()
|
H A D | dfx_maps.h | 34 …static bool Create(const pid_t pid, std::vector<std::shared_ptr<DfxMap>>& maps, std::vector<int>& … 42 void AddMap(std::shared_ptr<DfxMap> map, bool enableMapIndex = false); 46 bool FindMapByAddr(uintptr_t addr, std::shared_ptr<DfxMap>& map) const; 47 bool FindMapByFileInfo(std::string name, uint64_t offset, std::shared_ptr<DfxMap>& map) const; 48 bool FindMapsByName(std::string name, std::vector<std::shared_ptr<DfxMap>>& maps) const; 49 const std::vector<std::shared_ptr<DfxMap>>& GetMaps() const { return maps_; } in GetMaps() 60 std::vector<std::shared_ptr<DfxMap>> maps_ {};
|
H A D | dfx_hap.h | 25 class DfxMap; variable 32 bool ParseHapInfo(pid_t pid, uint64_t pc, uintptr_t methodid, std::shared_ptr<DfxMap> map, 36 …bool ParseHapFileInfo(uint64_t pc, uintptr_t methodid, std::shared_ptr<DfxMap> map, JsFunction *js… 37 bool ParseHapMemInfo(pid_t pid, uint64_t pc, uintptr_t methodid, std::shared_ptr<DfxMap> map, 41 bool ParseHapMemData(const pid_t pid, std::shared_ptr<DfxMap> map);
|
H A D | dfx_accessors.h | 35 class DfxMap; variable 41 static bool GetMapByPcAndCtx(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg); 46 virtual int GetMapByPc(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg) = 0; 60 int GetMapByPc(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg) override; 79 int GetMapByPc(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg) override; 90 int GetMapByPc(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg) override;
|
H A D | unwind_context.h | 30 class DfxMap; variable 61 int (*GetMapByPc)(uintptr_t, std::shared_ptr<DfxMap> &, void *); 71 std::shared_ptr<DfxMap> map = nullptr;
|
H A D | dfx_elf.h | 35 …static std::shared_ptr<DfxElf> CreateFromHap(const std::string& file, std::shared_ptr<DfxMap> prev… 75 int FindUnwindTableInfo(uintptr_t pc, std::shared_ptr<DfxMap> map, struct UnwindTableInfo& uti);
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dfx_map.cpp | 195 std::shared_ptr<DfxMap> DfxMap::Create(std::string buf, size_t size) in Create() 200 auto map = std::make_shared<DfxMap>(); in Create() 208 bool DfxMap::Parse(char* buf, size_t size) in Parse() 258 bool DfxMap::IsMapExec() in IsMapExec() 266 bool DfxMap::IsArkExecutable() in IsArkExecutable() 284 bool DfxMap::IsVdsoMap() in IsVdsoMap() 292 uint64_t DfxMap::GetRelPc(uint64_t pc) in GetRelPc() 300 std::string DfxMap::ToString() in ToString() 333 const std::shared_ptr<DfxHap> DfxMap::GetHap() in GetHap() 341 const std::shared_ptr<DfxElf> DfxMap::GetElf(pid_t pid) in GetElf() [all …]
|
H A D | dfx_maps.cpp | 80 bool DfxMaps::Create(const pid_t pid, std::vector<std::shared_ptr<DfxMap>>& maps, std::vector<int>&… in Create() 115 auto map = std::make_shared<DfxMap>(); in Parse() 210 void DfxMaps::AddMap(std::shared_ptr<DfxMap> map, bool enableMapIndex) in AddMap() 218 bool DfxMaps::FindMapByAddr(uintptr_t addr, std::shared_ptr<DfxMap>& map) const in FindMapByAddr() 247 bool DfxMaps::FindMapByFileInfo(std::string name, uint64_t offset, std::shared_ptr<DfxMap>& map) co… in FindMapByFileInfo() 264 bool DfxMaps::FindMapsByName(std::string name, std::vector<std::shared_ptr<DfxMap>>& maps) const in FindMapsByName() 284 [](const std::shared_ptr<DfxMap>& a, const std::shared_ptr<DfxMap>& b) { in Sort() 294 [](const std::shared_ptr<DfxMap>& a, const std::shared_ptr<DfxMap>& b) { in Sort() 317 std::shared_ptr<DfxMap> map = nullptr; in IsArkExecutedMap()
|
H A D | dfx_hap.cpp | 43 bool DfxHap::ParseHapInfo(pid_t pid, uint64_t pc, uintptr_t methodid, std::shared_ptr<DfxMap> map, in ParseHapInfo() 74 bool DfxHap::ParseHapFileInfo(uint64_t pc, uintptr_t methodid, std::shared_ptr<DfxMap> map, JsFunct… in ParseHapFileInfo() 92 bool DfxHap::ParseHapMemInfo(pid_t pid, uint64_t pc, uintptr_t methodid, std::shared_ptr<DfxMap> ma… in ParseHapMemInfo() 142 bool DfxHap::ParseHapMemData(const pid_t pid, std::shared_ptr<DfxMap> map) in ParseHapMemData()
|
H A D | libunwinder.map | 53 OHOS::HiviewDFX::DfxMap::ToString*; 54 OHOS::HiviewDFX::DfxMap::GetElf*; 55 OHOS::HiviewDFX::DfxMap::Create*; 56 OHOS::HiviewDFX::DfxMap::GetRelPc*; 95 OHOS::HiviewDFX::DfxMap::IsMapExec*;
|
H A D | dfx_accessors.cpp | 46 bool DfxAccessors::GetMapByPcAndCtx(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg) in GetMapByPcAndCtx() 155 int DfxAccessorsLocal::GetMapByPc(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg) in GetMapByPc() 253 int DfxAccessorsRemote::GetMapByPc(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg) in GetMapByPc() 285 int DfxAccessorsCustomize::GetMapByPc(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg) in GetMapByPc()
|
H A D | unwinder.cpp | 224 std::shared_ptr<DfxMap> map = nullptr; 239 void AddFrame(const StepFrame& frame, std::shared_ptr<DfxMap> map); 914 std::shared_ptr<DfxMap> map = nullptr; in StepInner() 1159 void Unwinder::Impl::AddFrame(const StepFrame& frame, std::shared_ptr<DfxMap> map) in AddFrame() 1304 std::shared_ptr<DfxMap> map = nullptr; in GetFrameByPc() 1349 std::shared_ptr<DfxMap> map = nullptr; in GetFramesByPcs() 1384 std::shared_ptr<DfxMap> map = nullptr; in GetSymbolByPc()
|
/ohos5.0/base/hiviewdfx/faultloggerd/test/benchmarktest/unwinder/ |
H A D | elf_benchmark.cpp | 27 static void InitializeBuildId(benchmark::State& state, DfxMaps* dfxMaps, DfxMap** buildIdMap) in InitializeBuildId() 57 DfxMap* buildIdMap; in BenchmarkElfGetBuildIdFromObj()
|
H A D | maps_benchmark.cpp | 66 std::vector<std::shared_ptr<DfxMap>> maps {}; in BenchmarkMapsCreateMapIndex()
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/common/ |
H A D | dfx_frame.h | 25 class DfxMap; variable 57 std::shared_ptr<DfxMap> map = nullptr;
|
/ohos5.0/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | dfx_unwind_async_thread.cpp | 93 std::vector<std::shared_ptr<DfxMap>> mapVec; in GetSubmitterStack() 145 std::shared_ptr<DfxMap> map; in UnwindThreadFallback()
|
H A D | dfx_fault_stack.cpp | 222 std::shared_ptr<DfxMap> map; in CollectRegistersBlock() 285 std::shared_ptr<DfxMap> map; in ParseUnwindStack()
|
H A D | printer.cpp | 120 std::vector<std::shared_ptr<DfxMap>> map; in PrintReason()
|
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/thread_sampler/ |
H A D | thread_sampler.cpp | 69 std::shared_ptr<DfxMap> map; in FindUnwindTable() 106 int ThreadSampler::GetMapByPc(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg) in GetMapByPc() 231 std::shared_ptr<DfxMap> map; in AccessElfMem()
|
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/thread_sampler/include/ |
H A D | thread_sampler.h | 93 static int GetMapByPc(uintptr_t pc, std::shared_ptr<DfxMap>& map, void *arg);
|
/ohos5.0/base/hiviewdfx/faultloggerd/test/fuzztest/faultloggerdunwinder_fuzzer/ |
H A D | faultloggerdunwinder_fuzzer.cpp | 195 auto map = std::make_shared<DfxMap>(); in TestDfxHap()
|