/aosp12/system/unwinding/libunwindstack/include/unwindstack/ |
H A D | Regs.h | 35 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 D | RegsMips64.h | 51 Regs* Clone() override final; 53 static Regs* Read(void* data); 55 static Regs* CreateFromUcontext(void* ucontext);
|
H A D | RegsArm.h | 51 Regs* Clone() override final; 53 static Regs* Read(void* data); 55 static Regs* CreateFromUcontext(void* ucontext);
|
H A D | RegsMips.h | 51 Regs* Clone() override final; 53 static Regs* Read(void* data); 55 static Regs* CreateFromUcontext(void* ucontext);
|
H A D | RegsX86.h | 54 Regs* Clone() override final; 56 static Regs* Read(void* data); 58 static Regs* CreateFromUcontext(void* ucontext);
|
H A D | RegsX86_64.h | 54 Regs* Clone() override final; 56 static Regs* Read(void* data); 58 static Regs* CreateFromUcontext(void* ucontext);
|
H A D | RegsArm64.h | 64 Regs* Clone() override final; 66 static Regs* Read(void* data); 68 static Regs* CreateFromUcontext(void* ucontext);
|
H A D | Elf.h | 41 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 D | DwarfSection.h | 37 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 D | Regs.cpp | 46 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 D | ThreadUnwinder.cpp | 73 : 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 D | RegsArm.cpp | 83 Regs* RegsArm::Read(void* remote_data) { in Read() 91 Regs* RegsArm::CreateFromUcontext(void* ucontext) { in CreateFromUcontext() 170 Regs* RegsArm::Clone() { in Clone()
|
H A D | RegsMips64.cpp | 101 Regs* RegsMips64::Read(void* remote_data) { in Read() 112 Regs* RegsMips64::CreateFromUcontext(void* ucontext) { in CreateFromUcontext() 156 Regs* RegsMips64::Clone() { in Clone()
|
H A D | RegsMips.cpp | 101 Regs* RegsMips::Read(void* remote_data) { in Read() 112 Regs* RegsMips::CreateFromUcontext(void* ucontext) { in CreateFromUcontext() 169 Regs* RegsMips::Clone() { in Clone()
|
H A D | RegsX86.cpp | 77 Regs* RegsX86::Read(void* user_data) { in Read() 107 Regs* RegsX86::CreateFromUcontext(void* ucontext) { in CreateFromUcontext() 175 Regs* RegsX86::Clone() { in Clone()
|
H A D | RegsX86_64.cpp | 86 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 D | RegsArm64.cpp | 134 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 D | RegsFake.h | 30 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 D | UnwindTest.cpp | 136 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 D | UnwindStack.cpp | 45 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 D | UnwindStackMap.cpp | 48 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 D | backtrace_helper.cc | 55 : 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 D | tombstone.cpp | 119 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 D | unwind.cpp | 60 unwindstack::Regs* regs = unwindstack::Regs::RemoteGet(pid); in DoUnwind()
|
/aosp12/system/unwinding/libunwindstack/tests/fuzz/ |
H A D | UnwinderComponentCreator.h | 52 using unwindstack::Regs; 70 std::unique_ptr<unwindstack::Regs> GetRegisters(unwindstack::ArchEnum arch);
|