Lines Matching refs:uc
369 static AccessInfo GetAccessInfo(siginfo_t *info, ucontext_t *uc) {
386 const uptr addr = uc->uc_mcontext.regs[0];
390 const uptr size = size_log == 0xf ? uc->uc_mcontext.regs[1] : 1U << size_log;
396 uptr pc = (uptr)uc->uc_mcontext.gregs[REG_RIP];
405 const uptr addr = uc->uc_mcontext.gregs[REG_RDI];
410 size_log == 0xf ? uc->uc_mcontext.gregs[REG_RSI] : 1U << size_log;
420 ucontext_t *uc, uptr *registers_frame = nullptr) {
424 stack->Unwind(pc, frame, uc, common_flags()->fast_unwind_on_fatal);
441 static bool HwasanOnSIGTRAP(int signo, siginfo_t *info, ucontext_t *uc) {
442 AccessInfo ai = GetAccessInfo(info, uc);
446 SignalContext sig{info, uc};
447 HandleTagMismatch(ai, StackTrace::GetNextInstructionPc(sig.pc), sig.bp, uc);
450 uc->uc_mcontext.pc += 4;