• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/

Lines Matching refs:ucontext

63 #include <ucontext.h>
1736 static bool Aarch64GetESR(ucontext_t *ucontext, u64 *esr) {
1738 u8 *aux = ucontext->uc_mcontext.__reserved;
1759 Context *ucontext = (Context *)context;
1763 uptr err = ucontext->uc_mcontext.mc_err;
1765 uptr err = ucontext->uc_mcontext.__gregs[_REG_ERR];
1767 uptr err = ucontext->sc_err;
1770 uptr err = ucontext->uc_mcontext.gregs[Err];
1772 uptr err = ucontext->uc_mcontext.gregs[REG_ERR];
1780 exception_source = (uint32_t *)ucontext->uc_mcontext.pc;
1826 uptr fsr = ucontext->uc_mcontext.error_code;
1831 if (!Aarch64GetESR(ucontext, &esr)) return UNKNOWN;
1837 uptr pc = ucontext->uc_mcontext.gregs[REG_PC];
1850 (void)ucontext;
1868 ucontext_t *ucontext = (ucontext_t *)context;
1869 *pc = _UC_MACHINE_PC(ucontext);
1870 *bp = _UC_MACHINE_FP(ucontext);
1871 *sp = _UC_MACHINE_SP(ucontext);
1873 ucontext_t *ucontext = (ucontext_t*)context;
1874 *pc = ucontext->uc_mcontext.arm_pc;
1875 *bp = ucontext->uc_mcontext.arm_fp;
1876 *sp = ucontext->uc_mcontext.arm_sp;
1878 ucontext_t *ucontext = (ucontext_t*)context;
1879 *pc = ucontext->uc_mcontext.pc;
1880 *bp = ucontext->uc_mcontext.regs[29];
1881 *sp = ucontext->uc_mcontext.sp;
1883 ucontext_t *ucontext = (ucontext_t*)context;
1884 *pc = ucontext->uc_mcontext.sc_iaoq[0];
1886 *bp = ucontext->uc_mcontext.sc_gr[3];
1887 *sp = ucontext->uc_mcontext.sc_gr[30];
1890 ucontext_t *ucontext = (ucontext_t*)context;
1891 *pc = ucontext->uc_mcontext.mc_rip;
1892 *bp = ucontext->uc_mcontext.mc_rbp;
1893 *sp = ucontext->uc_mcontext.mc_rsp;
1895 sigcontext *ucontext = (sigcontext *)context;
1896 *pc = ucontext->sc_rip;
1897 *bp = ucontext->sc_rbp;
1898 *sp = ucontext->sc_rsp;
1900 ucontext_t *ucontext = (ucontext_t*)context;
1901 *pc = ucontext->uc_mcontext.gregs[REG_RIP];
1902 *bp = ucontext->uc_mcontext.gregs[REG_RBP];
1903 *sp = ucontext->uc_mcontext.gregs[REG_RSP];
1907 ucontext_t *ucontext = (ucontext_t*)context;
1908 *pc = ucontext->uc_mcontext.mc_eip;
1909 *bp = ucontext->uc_mcontext.mc_ebp;
1910 *sp = ucontext->uc_mcontext.mc_esp;
1912 sigcontext *ucontext = (sigcontext *)context;
1913 *pc = ucontext->sc_eip;
1914 *bp = ucontext->sc_ebp;
1915 *sp = ucontext->sc_esp;
1917 ucontext_t *ucontext = (ucontext_t*)context;
1931 *pc = ucontext->uc_mcontext.gregs[REG_EIP];
1932 *bp = ucontext->uc_mcontext.gregs[REG_EBP];
1933 *sp = ucontext->uc_mcontext.gregs[REG_ESP];
1936 ucontext_t *ucontext = (ucontext_t*)context;
1937 *pc = ucontext->uc_mcontext.regs->nip;
1938 *sp = ucontext->uc_mcontext.regs->gpr[PT_R1];
1941 *bp = ucontext->uc_mcontext.regs->gpr[PT_R31];
1949 ucontext_t *ucontext = (ucontext_t *)context;
1950 *pc = ucontext->uc_mcontext.gregs[REG_PC];
1951 *sp = ucontext->uc_mcontext.gregs[REG_O6] + STACK_BIAS;
1965 ucontext_t *ucontext = (ucontext_t*)context;
1966 *pc = ucontext->uc_mcontext.pc;
1967 *bp = ucontext->uc_mcontext.gregs[30];
1968 *sp = ucontext->uc_mcontext.gregs[29];
1970 ucontext_t *ucontext = (ucontext_t*)context;
1972 *pc = ucontext->uc_mcontext.psw.addr;
1974 *pc = ucontext->uc_mcontext.psw.addr & 0x7fffffff;
1976 *bp = ucontext->uc_mcontext.gregs[11];
1977 *sp = ucontext->uc_mcontext.gregs[15];
1979 ucontext_t *ucontext = (ucontext_t*)context;
1980 *pc = ucontext->uc_mcontext.__gregs[REG_PC];
1981 *bp = ucontext->uc_mcontext.__gregs[REG_S0];
1982 *sp = ucontext->uc_mcontext.__gregs[REG_SP];