Home
last modified time | relevance | path

Searched refs:Regs (Results 1 – 25 of 57) sorted by relevance

123

/system/unwinding/libunwindstack/include/unwindstack/
DRegs.h35 class Regs {
50 Regs(uint16_t total_regs, const Location& return_loc) in Regs() function
52 virtual ~Regs() = default;
82 virtual Regs* Clone() = 0;
85 static Regs* RemoteGet(pid_t pid);
86 static Regs* CreateFromUcontext(ArchEnum arch, void* ucontext);
87 static Regs* CreateFromLocal();
96 class RegsImpl : public Regs {
99 : Regs(total_regs, return_loc), regs_(total_regs) {} in RegsImpl()
DRegsMips64.h51 Regs* Clone() override final;
53 static Regs* Read(void* data);
55 static Regs* CreateFromUcontext(void* ucontext);
DRegsMips.h51 Regs* Clone() override final;
53 static Regs* Read(void* data);
55 static Regs* CreateFromUcontext(void* ucontext);
DRegsArm.h51 Regs* Clone() override final;
53 static Regs* Read(void* data);
55 static Regs* CreateFromUcontext(void* ucontext);
DRegsX86.h54 Regs* Clone() override final;
56 static Regs* Read(void* data);
58 static Regs* CreateFromUcontext(void* ucontext);
DRegsX86_64.h54 Regs* Clone() override final;
56 static Regs* Read(void* data);
58 static Regs* CreateFromUcontext(void* ucontext);
DRegsArm64.h64 Regs* Clone() override final;
66 static Regs* Read(void* data);
68 static Regs* CreateFromUcontext(void* ucontext);
DElf.h41 class Regs; variable
62 bool StepIfSignalHandler(uint64_t rel_pc, Regs* regs, Memory* process_memory);
64 bool Step(uint64_t rel_pc, Regs* regs, Memory* process_memory, bool* finished,
DDwarfSection.h37 class Regs; variable
93 virtual bool Eval(const DwarfCie*, Memory*, const DwarfLocations&, Regs*, bool*) = 0;
110 bool Step(uint64_t pc, Regs* regs, Memory* process_memory, bool* finished, bool* is_signal_frame);
143 bool Eval(const DwarfCie* cie, Memory* regular_memory, const DwarfLocations& loc_regs, Regs* regs,
/system/unwinding/libunwindstack/
DRegs.cpp46 Regs* Regs::RemoteGet(pid_t pid) { in RemoteGet()
74 Regs* Regs::CreateFromUcontext(ArchEnum arch, void* ucontext) { in CreateFromUcontext()
94 ArchEnum Regs::CurrentArch() { in CurrentArch()
108 Regs* Regs::CreateFromLocal() { in CreateFromLocal()
109 Regs* regs; in CreateFromLocal()
DThreadUnwinder.cpp73 : UnwinderFromPid(max_frames, getpid(), Regs::CurrentArch(), maps) {} in ThreadUnwinder()
76 : UnwinderFromPid(max_frames, getpid(), Regs::CurrentArch()) { in ThreadUnwinder()
166 std::unique_ptr<Regs> regs(Regs::CreateFromUcontext(Regs::CurrentArch(), entry->GetUcontext())); in UnwindWithSignal()
DRegsArm.cpp83 Regs* RegsArm::Read(void* remote_data) { in Read()
91 Regs* RegsArm::CreateFromUcontext(void* ucontext) { in CreateFromUcontext()
170 Regs* RegsArm::Clone() { in Clone()
DRegsMips64.cpp101 Regs* RegsMips64::Read(void* remote_data) { in Read()
112 Regs* RegsMips64::CreateFromUcontext(void* ucontext) { in CreateFromUcontext()
156 Regs* RegsMips64::Clone() { in Clone()
DRegsMips.cpp101 Regs* RegsMips::Read(void* remote_data) { in Read()
112 Regs* RegsMips::CreateFromUcontext(void* ucontext) { in CreateFromUcontext()
169 Regs* RegsMips::Clone() { in Clone()
DRegsX86.cpp77 Regs* RegsX86::Read(void* user_data) { in Read()
107 Regs* RegsX86::CreateFromUcontext(void* ucontext) { in CreateFromUcontext()
175 Regs* RegsX86::Clone() { in Clone()
DRegsX86_64.cpp86 Regs* RegsX86_64::Read(void* remote_data) { in Read()
127 Regs* RegsX86_64::CreateFromUcontext(void* ucontext) { in CreateFromUcontext()
164 Regs* RegsX86_64::Clone() { in Clone()
DLocalUnwinder.cpp71 std::unique_ptr<unwindstack::Regs> regs(unwindstack::Regs::CreateFromLocal()); in Unwind()
DElfInterfaceArm.h75 bool Step(uint64_t pc, Regs* regs, Memory* process_memory, bool* finished,
78 bool StepExidx(uint64_t pc, Regs* regs, Memory* process_memory, bool* finished);
/system/unwinding/libunwindstack/tests/
DRegsFake.h30 class RegsFake : public Regs {
32 RegsFake(uint16_t total_regs) : Regs(total_regs, Regs::Location(Regs::LOCATION_UNKNOWN, 0)) {} in RegsFake()
64 Regs* Clone() override { return nullptr; } in Clone()
78 : RegsImpl<TypeParam>(total_regs, Regs::Location(Regs::LOCATION_UNKNOWN, 0)) {} in RegsImplFake()
106 Regs* Clone() override { return nullptr; } in Clone()
DUnwindTest.cpp136 static void VerifyUnwind(pid_t pid, Maps* maps, Regs* regs, in VerifyUnwind()
173 std::unique_ptr<Regs> regs(Regs::CreateFromLocal()); in InnerFunction()
273 std::unique_ptr<Regs> regs(Regs::RemoteGet(pid)); in TEST_F()
295 std::unique_ptr<Regs> regs(Regs::RemoteGet(pid)); in TEST_F()
333 std::unique_ptr<Regs> regs(Regs::RemoteGet(*pid)); in RemoteUnwind()
346 std::unique_ptr<Regs> regs(Regs::RemoteGet(*pid)); in RemoteUnwindFromPid()
394 std::unique_ptr<Regs> regs(Regs::CreateFromUcontext(Regs::CurrentArch(), ucontext)); in TEST_F()
430 std::unique_ptr<Regs> regs(Regs::RemoteGet(pid)); in RemoteThroughSignal()
473 std::unique_ptr<Regs> regs(Regs::CreateFromLocal()); in TEST_F()
/system/unwinding/libbacktrace/
DUnwindStack.cpp45 bool Backtrace::Unwind(unwindstack::Regs* regs, BacktraceMap* back_map, in Unwind()
159 std::unique_ptr<unwindstack::Regs> regs; in UnwindFromContext()
161 regs.reset(unwindstack::Regs::CreateFromLocal()); in UnwindFromContext()
166 regs.reset(unwindstack::Regs::CreateFromUcontext(unwindstack::Regs::CurrentArch(), ucontext)); in UnwindFromContext()
184 std::unique_ptr<unwindstack::Regs> regs; in Unwind()
186 regs.reset(unwindstack::Regs::RemoteGet(Tid())); in Unwind()
188 regs.reset(unwindstack::Regs::CreateFromUcontext(unwindstack::Regs::CurrentArch(), context)); in Unwind()
DUnwindStackMap.cpp48 arch_ = unwindstack::Regs::CurrentArch(); in Build()
51 std::unique_ptr<unwindstack::Regs> regs(unwindstack::Regs::RemoteGet(pid_)); in Build()
126 arch_ = unwindstack::Regs::CurrentArch(); in GetFunctionName()
129 std::unique_ptr<unwindstack::Regs> regs(unwindstack::Regs::RemoteGet(pid_)); in GetFunctionName()
/system/unwinding/libunwindstack/tools/
Dunwind.cpp60 unwindstack::Regs* regs = unwindstack::Regs::RemoteGet(pid); in DoUnwind()
/system/unwinding/libunwindstack/tests/fuzz/
DUnwinderComponentCreator.h52 using unwindstack::Regs;
70 std::unique_ptr<unwindstack::Regs> GetRegisters(unwindstack::ArchEnum arch);
/system/unwinding/libunwindstack/benchmarks/
Dremote_unwind_benchmarks.cpp124 std::unique_ptr<unwindstack::Regs> regs(unwindstack::Regs::RemoteGet(pid)); in RemoteUnwind()

123