Home
last modified time | relevance | path

Searched refs:ucontext (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.cpp2078 (void)ucontext; in GetWriteFlag()
2097 *pc = _UC_MACHINE_PC(ucontext); in GetPcSpBp()
2098 *bp = _UC_MACHINE_FP(ucontext); in GetPcSpBp()
2099 *sp = _UC_MACHINE_SP(ucontext); in GetPcSpBp()
2113 *pc = ucontext->uc_mcontext.pc; in GetPcSpBp()
2115 *sp = ucontext->uc_mcontext.sp; in GetPcSpBp()
2198 *pc = ucontext->uc_mcontext.pc; in GetPcSpBp()
2223 *pc = ucontext->uc_mcontext.pc; in GetPcSpBp()
2224 *bp = ucontext->uc_mcontext.r30; in GetPcSpBp()
2225 *sp = ucontext->uc_mcontext.r29; in GetPcSpBp()
[all …]
H A Dsanitizer_mac.cpp907 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp() local
913 *pc = ucontext->uc_mcontext->__ss.__rip; in GetPcSpBp()
914 *bp = ucontext->uc_mcontext->__ss.__rbp; in GetPcSpBp()
915 *sp = ucontext->uc_mcontext->__ss.__rsp; in GetPcSpBp()
917 *pc = ucontext->uc_mcontext->__ss.__pc; in GetPcSpBp()
918 *bp = ucontext->uc_mcontext->__ss.__r[7]; in GetPcSpBp()
919 *sp = ucontext->uc_mcontext->__ss.__sp; in GetPcSpBp()
921 *pc = ucontext->uc_mcontext->__ss.__eip; in GetPcSpBp()
922 *bp = ucontext->uc_mcontext->__ss.__ebp; in GetPcSpBp()
923 *sp = ucontext->uc_mcontext->__ss.__esp; in GetPcSpBp()
[all …]
/llvm-project-15.0.7/compiler-rt/test/tsan/
H A Dfiber_asm.cpp6 struct ucontext { struct
42 void ucontext_init(ucontext *context, void *stack, unsigned stack_sz, in ucontext_init()
57 void ucontext_free(ucontext *context) { in ucontext_free()
62 void ucontext_switch(ucontext *save, ucontext *load) { in ucontext_switch()
70 ucontext uc, orig_uc;
/llvm-project-15.0.7/compiler-rt/lib/gwp_asan/optional/
H A Dsegv_handler_posix.cpp162 static void sigSegvHandler(int sig, siginfo_t *info, void *ucontext) { in sigSegvHandler() argument
170 PrintBacktraceForSignalHandler, ucontext); in sigSegvHandler()
175 PreviousHandler.sa_sigaction(sig, info, ucontext); in sigSegvHandler()
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerUtilPosix.cpp38 static void SegvHandler(int sig, siginfo_t *si, void *ucontext) { in SegvHandler() argument
41 return upstream_segv_handler(sig, si, ucontext); in SegvHandler()
/llvm-project-15.0.7/clang/docs/
H A DSafeStack.rst66 Programs that use APIs from ``ucontext.h`` are not supported yet.