Home
last modified time | relevance | path

Searched refs:DfxMemory (Results 1 - 25 of 27) sorted by relevance

12

/base/hiviewdfx/faultloggerd/test/unittest/unwind/
H A Darm_exidx_test.cpp65 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); in HWTEST_F()
83 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); in HWTEST_F()
106 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); in HWTEST_F()
164 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); in HWTEST_F()
184 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(ac in HWTEST_F()
[all...]
H A Dmemory_test.cpp50 * @tc.desc: test DfxMemory class ReadReg
60 auto memory = std::make_shared<DfxMemory>(acc); in HWTEST_F()
71 * @tc.desc: test DfxMemory class Read
82 auto memory = std::make_shared<DfxMemory>(acc); in HWTEST_F()
105 * @tc.desc: test DfxMemory class Read
115 auto memory = std::make_shared<DfxMemory>(acc); in HWTEST_F()
144 * @tc.desc: test DfxMemory class Read
154 auto memory = std::make_shared<DfxMemory>(acc); in HWTEST_F()
174 * @tc.desc: test DfxMemory class Read
184 auto memory = std::make_shared<DfxMemory>(ac in HWTEST_F()
[all...]
H A Ddwarf_test.cpp67 explicit DwarfSectionTest(std::shared_ptr<DfxMemory> memory) : DwarfSection(memory) {}; in DwarfSectionTest()
90 class DfxMemoryTest : public DfxMemory {
531 auto memory = std::make_shared<DfxMemory>(acc); in HWTEST_F()
762 auto memory = std::make_shared<DfxMemory>(acc); in HWTEST_F()
1165 auto memory = std::make_shared<DfxMemory>(); in HWTEST_F()
1209 auto memory = std::make_shared<DfxMemory>(); in HWTEST_F()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_memory.cpp33 #define LOG_TAG "DfxMemory"
41 bool DfxMemory::ReadReg(int regIdx, uintptr_t *val) in ReadReg()
49 bool DfxMemory::ReadMem(uintptr_t addr, uintptr_t *val) in ReadMem()
57 size_t DfxMemory::Read(uintptr_t& addr, void* val, size_t size, bool incre) in Read()
109 bool DfxMemory::ReadU8(uintptr_t& addr, uint8_t *val, bool incre) in ReadU8()
117 bool DfxMemory::ReadU16(uintptr_t& addr, uint16_t *val, bool incre) in ReadU16()
125 bool DfxMemory::ReadU32(uintptr_t& addr, uint32_t *val, bool incre) in ReadU32()
133 bool DfxMemory::ReadU64(uintptr_t& addr, uint64_t *val, bool incre) in ReadU64()
141 bool DfxMemory::ReadUptr(uintptr_t& addr, uintptr_t *val, bool incre) in ReadUptr()
149 bool DfxMemory
[all...]
H A Ddfx_instructions.cpp38 bool DfxInstructions::Flush(DfxRegs& regs, std::shared_ptr<DfxMemory> memory, uintptr_t cfa, RegLoc loc, uintptr_t& val) in Flush()
78 bool DfxInstructions::Apply(std::shared_ptr<DfxMemory> memory, DfxRegs& regs, RegLocState& rsState, uint16_t& errCode) in Apply()
H A Ddfx_regs_x86_64.cpp64 bool DfxRegsX86_64::SetPcFromReturnAddress(std::shared_ptr<DfxMemory> memory) in SetPcFromReturnAddress()
97 bool DfxRegsX86_64::StepIfSignalFrame(uintptr_t pc, std::shared_ptr<DfxMemory> memory) in StepIfSignalFrame()
H A Ddfx_regs_arm.cpp95 bool DfxRegsArm::SetPcFromReturnAddress(MAYBE_UNUSED std::shared_ptr<DfxMemory> memory) in SetPcFromReturnAddress()
126 bool DfxRegsArm::StepIfSignalFrame(uintptr_t pc, std::shared_ptr<DfxMemory> memory) in StepIfSignalFrame()
H A Ddfx_hap.cpp156 auto size = DfxMemory::ReadProcMemByPid(pid, map->begin, abcDataPtr_.get(), abcDataSize_); in ParseHapMemData()
H A Ddfx_regs_riscv64.cpp95 bool DfxRegsRiscv64::SetPcFromReturnAddress(MAYBE_UNUSED std::shared_ptr<DfxMemory> memory) in SetPcFromReturnAddress()
141 bool DfxRegsRiscv64::StepIfSignalFrame(uintptr_t pc, std::shared_ptr<DfxMemory> memory) in StepIfSignalFrame()
H A Ddfx_regs_arm64.cpp95 bool DfxRegsArm64::SetPcFromReturnAddress(MAYBE_UNUSED std::shared_ptr<DfxMemory> memory) in SetPcFromReturnAddress()
141 bool DfxRegsArm64::StepIfSignalFrame(uintptr_t pc, std::shared_ptr<DfxMemory> memory) in StepIfSignalFrame()
H A Ddfx_map.cpp359 size_t byte = DfxMemory::ReadProcMemByPid(pid, begin, shmmData->data(), size); in GetElf()
H A Dunwinder.cpp262 std::shared_ptr<DfxMemory> memory_ = nullptr;
457 memory_ = std::make_shared<DfxMemory>(acc_); in Init()
1183 return reinterpret_cast<DfxMemory*>(memory)->ReadMem(addr, val); in AccessMem()
1313 size_t rsize = DfxMemory::ReadProcMemByPid(tid, lockAddr, buf, sz); in GetLockInfo()
H A Darm_exidx.cpp91 ArmExidx::ArmExidx(std::shared_ptr<DfxMemory> memory) : memory_(memory) in ArmExidx()
H A Ddwarf_section.cpp31 DwarfSection::DwarfSection(std::shared_ptr<DfxMemory> memory) : memory_(memory) in DwarfSection()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/
H A Ddfx_regs.h45 virtual bool SetPcFromReturnAddress(std::shared_ptr<DfxMemory> memory) = 0;
46 virtual bool StepIfSignalFrame(uintptr_t pc, std::shared_ptr<DfxMemory> memory) = 0;
82 bool SetPcFromReturnAddress(std::shared_ptr<DfxMemory> memory) override;
83 bool StepIfSignalFrame(uintptr_t pc, std::shared_ptr<DfxMemory> memory) override;
96 bool SetPcFromReturnAddress(std::shared_ptr<DfxMemory> memory) override;
97 bool StepIfSignalFrame(uintptr_t pc, std::shared_ptr<DfxMemory> memory) override;
110 bool SetPcFromReturnAddress(std::shared_ptr<DfxMemory> memory) override;
111 bool StepIfSignalFrame(uintptr_t pc, std::shared_ptr<DfxMemory> memory) override;
124 bool SetPcFromReturnAddress(std::shared_ptr<DfxMemory> memory) override;
125 bool StepIfSignalFrame(uintptr_t pc, std::shared_ptr<DfxMemory> memor
[all...]
H A Ddfx_instructions.h33 static bool Apply(std::shared_ptr<DfxMemory> memory, DfxRegs& regs, RegLocState& rsState, uint16_t& errCode);
36 static bool Flush(DfxRegs& dfxRegs, std::shared_ptr<DfxMemory> memory, uintptr_t cfa, RegLoc loc, uintptr_t& val);
H A Ddwarf_cfa_instructions.h31 DwarfCfaInstructions(std::shared_ptr<DfxMemory> memory) : memory_(memory) {}; in DwarfCfaInstructions()
41 std::shared_ptr<DfxMemory> memory_;
H A Ddfx_memory.h27 class DfxMemory { class
29 DfxMemory() = default;
30 explicit DfxMemory(std::shared_ptr<DfxAccessors> acc) : acc_(acc) {} in DfxMemory() function in OHOS::HiviewDFX::DfxMemory
31 virtual ~DfxMemory() = default;
H A Ddwarf_section.h31 explicit DwarfSection(std::shared_ptr<DfxMemory> memory);
50 std::shared_ptr<DfxMemory> memory_;
H A Darm_exidx.h43 explicit ArmExidx(std::shared_ptr<DfxMemory> memory);
90 std::shared_ptr<DfxMemory> memory_;
H A Ddfx_mmap.h30 class DfxMmap : public DfxMemory {
H A Ddwarf_op.h40 DwarfOp(std::shared_ptr<DfxMemory> memory) : memory_(memory) {}; in DwarfOp()
396 std::shared_ptr<DfxMemory> memory_;
/base/hiviewdfx/faultloggerd/test/fuzztest/faultloggerdunwinder_fuzzer/
H A Dfaultloggerdunwinder_fuzzer.cpp79 DfxMemory dfxMemory; in TestStepArkFrame()
101 DfxMemory dfxMemory; in TestStepArkFrameWithJit()
120 DfxMemory dfxMemory; in TestJitCodeWriteFile()
/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Dprocess_dumper.cpp152 if (DfxMemory::ReadProcMemByPid(nsPid, addr, entrys, sizeof(FdEntry) * fds) != sizeof(FdEntry) * fds) { in FillFdsaninfo()
165 if (DfxMemory::ReadProcMemByPid(nsPid, tmp, &overflow, sizeof(overflow)) != sizeof(overflow)) { in FillFdsaninfo()
173 if (DfxMemory::ReadProcMemByPid(nsPid, overflow, &overflowLength, sizeof(overflowLength)) in FillFdsaninfo()
183 if (DfxMemory::ReadProcMemByPid(nsPid, address, overflowFdEntrys.data(), sizeof(FdEntry) * overflowLength) != in FillFdsaninfo()
H A Ddfx_unwind_async_thread.cpp101 size_t byte = DfxMemory::ReadProcMemByPid(thread_->threadInfo_.nsTid, map->begin, tableData->data(), size); in GetSubmitterStack()

Completed in 14 milliseconds

12