Home
last modified time | relevance | path

Searched refs:relPc (Results 1 – 4 of 4) sorted by relevance

/base/hiviewdfx/faultloggerd/test/funchook/
Ddfx_hook_utils.c64 unw_word_t relPc; in LogBacktrace() local
84 relPc = unw_get_rel_pc(&cursor); in LogBacktrace()
91 if (index != 0 && relPc > sz) { in LogBacktrace()
92 relPc -= sz; in LogBacktrace()
99 LOGI("#%02d %016p(%016p) %s(%s)\n", index, relPc, pc, in LogBacktrace()
103 LOGI("#%02d %016p(%016p) %s\n", index, relPc, pc, in LogBacktrace()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/
Ddfx_crash_local_handler.c136 unw_word_t relPc; in CrashLocalUnwind() local
158 relPc = unw_get_rel_pc(cursor); in CrashLocalUnwind()
161 PrintLog(fd, "Invalid frame for pc(%p).\n", relPc); in CrashLocalUnwind()
165 if (index > 0 && relPc != 0) { in CrashLocalUnwind()
166 relPc -= sz; in CrashLocalUnwind()
172 PrintLog(fd, "#%02d %016p %s(%s+%lu)\n", index, relPc, in CrashLocalUnwind()
176 PrintLog(fd, "#%02d %016p %s\n", index, relPc, in CrashLocalUnwind()
/base/hiviewdfx/faultloggerd/tools/process_dump/
Ddfx_unwind_remote.cpp189 uint64_t relPc = unw_get_rel_pc(&cursor); in DfxUnwindRemoteDoUnwindStep() local
191 relPc = DfxUnwindRemoteDoAdjustPc(cursor, relPc); in DfxUnwindRemoteDoUnwindStep()
198 if (relPc == 0) { in DfxUnwindRemoteDoUnwindStep()
199 relPc = framePc; in DfxUnwindRemoteDoUnwindStep()
203 frame->SetFrameRelativePc(relPc); in DfxUnwindRemoteDoUnwindStep()
Ddfx_unwind_local.cpp284 unw_word_t relPc = unw_get_rel_pc(&cursor); in ExecLocalDumpUnwinding() local
286 if ((curIndex_ > 0) && (relPc > sz)) { in ExecLocalDumpUnwinding()
287 relPc -= sz; in ExecLocalDumpUnwinding()
314 curFrame.SetFrameRelativePc((uint64_t)relPc); in ExecLocalDumpUnwinding()