Home
last modified time | relevance | path

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

12

/system/core/libunwindstack/include/unwindstack/
DRegs.h34 class Regs {
49 Regs(uint16_t total_regs, const Location& return_loc) in Regs() function
51 virtual ~Regs() = default;
77 virtual Regs* Clone() = 0;
80 static Regs* RemoteGet(pid_t pid);
81 static Regs* CreateFromUcontext(ArchEnum arch, void* ucontext);
82 static Regs* CreateFromLocal();
91 class RegsImpl : public Regs {
94 : Regs(total_regs, return_loc), regs_(total_regs) {} in RegsImpl()
DRegsMips.h53 Regs* Clone() override final;
55 static Regs* Read(void* data);
57 static Regs* CreateFromUcontext(void* ucontext);
DRegsArm64.h53 Regs* Clone() override final;
55 static Regs* Read(void* data);
57 static Regs* CreateFromUcontext(void* ucontext);
DRegsArm.h53 Regs* Clone() override final;
55 static Regs* Read(void* data);
57 static Regs* CreateFromUcontext(void* ucontext);
DRegsMips64.h53 Regs* Clone() override final;
55 static Regs* Read(void* data);
57 static Regs* CreateFromUcontext(void* ucontext);
DRegsX86_64.h56 Regs* Clone() override final;
58 static Regs* Read(void* data);
60 static Regs* CreateFromUcontext(void* ucontext);
DRegsX86.h56 Regs* Clone() override final;
58 static Regs* Read(void* data);
60 static Regs* CreateFromUcontext(void* ucontext);
DElf.h39 class Regs; variable
70 bool StepIfSignalHandler(uint64_t rel_pc, Regs* regs, Memory* process_memory);
72 bool Step(uint64_t rel_pc, Regs* regs, Memory* process_memory, bool* finished);
DUnwinder.h66 Unwinder(size_t max_frames, Maps* maps, Regs* regs, std::shared_ptr<Memory> process_memory) in Unwinder()
95 void SetRegs(Regs* regs) { regs_ = regs; } in SetRegs()
127 Regs* regs_;
DDwarfSection.h35 class Regs; variable
91 virtual bool Eval(const DwarfCie*, Memory*, const dwarf_loc_regs_t&, Regs*, bool*) = 0;
107 bool Step(uint64_t pc, Regs* regs, Memory* process_memory, bool* finished);
135 Regs* regs, bool* finished) override;
/system/core/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()
112 Regs* Regs::CreateFromLocal() { in CreateFromLocal()
113 Regs* regs; in CreateFromLocal()
DRegsArm64.cpp108 Regs* RegsArm64::Read(void* remote_data) { in Read()
119 Regs* RegsArm64::CreateFromUcontext(void* ucontext) { in CreateFromUcontext()
152 Regs* RegsArm64::Clone() { in Clone()
DRegsArm.cpp114 Regs* RegsArm::Read(void* remote_data) { in Read()
122 Regs* RegsArm::CreateFromUcontext(void* ucontext) { in CreateFromUcontext()
201 Regs* RegsArm::Clone() { in Clone()
DRegsMips64.cpp109 Regs* RegsMips64::Read(void* remote_data) { in Read()
120 Regs* RegsMips64::CreateFromUcontext(void* ucontext) { in CreateFromUcontext()
164 Regs* RegsMips64::Clone() { in Clone()
DRegsMips.cpp109 Regs* RegsMips::Read(void* remote_data) { in Read()
120 Regs* RegsMips::CreateFromUcontext(void* ucontext) { in CreateFromUcontext()
177 Regs* RegsMips::Clone() { in Clone()
DRegsX86.cpp84 Regs* RegsX86::Read(void* user_data) { in Read()
114 Regs* RegsX86::CreateFromUcontext(void* ucontext) { in CreateFromUcontext()
182 Regs* RegsX86::Clone() { in Clone()
DElfInterfaceArm.h75 bool Step(uint64_t pc, Regs* regs, Memory* process_memory, bool* finished) override;
77 bool StepExidx(uint64_t pc, Regs* regs, Memory* process_memory, bool* finished);
DRegsX86_64.cpp93 Regs* RegsX86_64::Read(void* remote_data) { in Read()
134 Regs* RegsX86_64::CreateFromUcontext(void* ucontext) { in CreateFromUcontext()
172 Regs* RegsX86_64::Clone() { in Clone()
/system/core/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()
66 Regs* Clone() override { return nullptr; } in Clone()
80 : RegsImpl<TypeParam>(total_regs, Regs::Location(Regs::LOCATION_UNKNOWN, 0)) {} in RegsImplFake()
93 Regs* Clone() override { return nullptr; } in Clone()
DUnwindTest.cpp129 static void VerifyUnwind(pid_t pid, Maps* maps, Regs* regs, in VerifyUnwind()
162 std::unique_ptr<Regs> regs(Regs::CreateFromLocal()); in InnerFunction()
260 std::unique_ptr<Regs> regs(Regs::RemoteGet(pid)); in TEST_F()
282 std::unique_ptr<Regs> regs(Regs::RemoteGet(pid)); in TEST_F()
321 std::unique_ptr<Regs> regs(Regs::RemoteGet(*pid)); in RemoteUnwind()
334 std::unique_ptr<Regs> regs(Regs::RemoteGet(*pid)); in RemoteUnwindFromPid()
383 std::unique_ptr<Regs> regs(Regs::CreateFromUcontext(Regs::CurrentArch(), ucontext)); in TEST_F()
419 std::unique_ptr<Regs> regs(Regs::RemoteGet(pid)); in RemoteThroughSignal()
462 std::unique_ptr<Regs> regs(Regs::CreateFromLocal()); in TEST_F()
/system/core/libbacktrace/
DUnwindStack.cpp44 bool Backtrace::Unwind(unwindstack::Regs* regs, BacktraceMap* back_map, in Unwind()
132 bool Backtrace::UnwindOffline(unwindstack::Regs* regs, BacktraceMap* back_map, in UnwindOffline()
156 std::unique_ptr<unwindstack::Regs> regs; in UnwindFromContext()
158 regs.reset(unwindstack::Regs::CreateFromLocal()); in UnwindFromContext()
163 regs.reset(unwindstack::Regs::CreateFromUcontext(unwindstack::Regs::CurrentArch(), ucontext)); in UnwindFromContext()
181 std::unique_ptr<unwindstack::Regs> regs; in Unwind()
183 regs.reset(unwindstack::Regs::RemoteGet(Tid())); in Unwind()
185 regs.reset(unwindstack::Regs::CreateFromUcontext(unwindstack::Regs::CurrentArch(), context)); in Unwind()
224 std::unique_ptr<unwindstack::Regs> regs(unwindstack::Regs::CreateFromUcontext(arch, ucontext)); in Unwind()
/system/core/libunwindstack/tools/
Dunwind.cpp60 unwindstack::Regs* regs = unwindstack::Regs::RemoteGet(pid); in DoUnwind()
/system/core/libunwindstack/benchmarks/
Dunwind_benchmarks.cpp33 std::unique_ptr<unwindstack::Regs> regs(unwindstack::Regs::CreateFromLocal()); in Call6()
113 unwindstack::Regs::CurrentArch()); in BM_get_build_id_from_elf()
/system/core/libbacktrace/include/backtrace/
DBacktrace.h103 class Regs; variable
152 static bool Unwind(unwindstack::Regs* regs, BacktraceMap* back_map,
156 static bool UnwindOffline(unwindstack::Regs* regs, BacktraceMap* back_map,
/system/core/debuggerd/libdebuggerd/include/libdebuggerd/
Dtypes.h25 std::unique_ptr<unwindstack::Regs> registers;

12