Home
last modified time | relevance | path

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

123

/aosp12/system/unwinding/libunwindstack/include/unwindstack/
H A 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()
H A DRegsMips64.h51 Regs* Clone() override final;
53 static Regs* Read(void* data);
55 static Regs* CreateFromUcontext(void* ucontext);
H A DRegsArm.h51 Regs* Clone() override final;
53 static Regs* Read(void* data);
55 static Regs* CreateFromUcontext(void* ucontext);
H A DRegsMips.h51 Regs* Clone() override final;
53 static Regs* Read(void* data);
55 static Regs* CreateFromUcontext(void* ucontext);
H A DRegsX86.h54 Regs* Clone() override final;
56 static Regs* Read(void* data);
58 static Regs* CreateFromUcontext(void* ucontext);
H A DRegsX86_64.h54 Regs* Clone() override final;
56 static Regs* Read(void* data);
58 static Regs* CreateFromUcontext(void* ucontext);
H A DRegsArm64.h64 Regs* Clone() override final;
66 static Regs* Read(void* data);
68 static Regs* CreateFromUcontext(void* ucontext);
H A 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,
H A 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,
/aosp12/system/unwinding/libunwindstack/
H A 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()
H A 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()
H A DRegsArm.cpp83 Regs* RegsArm::Read(void* remote_data) { in Read()
91 Regs* RegsArm::CreateFromUcontext(void* ucontext) { in CreateFromUcontext()
170 Regs* RegsArm::Clone() { in Clone()
H A DRegsMips64.cpp101 Regs* RegsMips64::Read(void* remote_data) { in Read()
112 Regs* RegsMips64::CreateFromUcontext(void* ucontext) { in CreateFromUcontext()
156 Regs* RegsMips64::Clone() { in Clone()
H A DRegsMips.cpp101 Regs* RegsMips::Read(void* remote_data) { in Read()
112 Regs* RegsMips::CreateFromUcontext(void* ucontext) { in CreateFromUcontext()
169 Regs* RegsMips::Clone() { in Clone()
H A DRegsX86.cpp77 Regs* RegsX86::Read(void* user_data) { in Read()
107 Regs* RegsX86::CreateFromUcontext(void* ucontext) { in CreateFromUcontext()
175 Regs* RegsX86::Clone() { in Clone()
H A 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()
H A DRegsArm64.cpp134 Regs* RegsArm64::Read(void* remote_data) { in Read()
146 Regs* RegsArm64::CreateFromUcontext(void* ucontext) { in CreateFromUcontext()
210 Regs* RegsArm64::Clone() { in Clone()
/aosp12/system/unwinding/libunwindstack/tests/
H A 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()
H A 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()
/aosp12/system/unwinding/libbacktrace/
H A 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()
H A 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()
/aosp12/art/runtime/
H A Dbacktrace_helper.cc55 : arch_(unwindstack::Regs::CurrentArch()), in UnwindHelper()
116 std::unique_ptr<unwindstack::Regs> regs(unwindstack::Regs::CreateFromLocal()); in CollectImpl()
/aosp12/system/core/debuggerd/libdebuggerd/
H A Dtombstone.cpp119 unwindstack::Regs* regs) { in dump_probable_cause()
327 void dump_registers(log_t* log, unwindstack::Regs* regs) { in dump_registers()
367 unwindstack::Regs* regs) { in dump_memory_and_code()
414 std::unique_ptr<unwindstack::Regs> regs_copy(thread_info.registers->Clone()); in dump_thread()
577 std::unique_ptr<unwindstack::Regs> regs( in engrave_tombstone_ucontext()
578 unwindstack::Regs::CreateFromUcontext(unwindstack::Regs::CurrentArch(), ucontext)); in engrave_tombstone_ucontext()
595 unwindstack::UnwinderFromPid unwinder(kMaxFrames, pid, unwindstack::Regs::CurrentArch()); in engrave_tombstone_ucontext()
/aosp12/system/unwinding/libunwindstack/tools/
H A Dunwind.cpp60 unwindstack::Regs* regs = unwindstack::Regs::RemoteGet(pid); in DoUnwind()
/aosp12/system/unwinding/libunwindstack/tests/fuzz/
H A DUnwinderComponentCreator.h52 using unwindstack::Regs;
70 std::unique_ptr<unwindstack::Regs> GetRegisters(unwindstack::ArchEnum arch);

123