Home
last modified time | relevance | path

Searched refs:SigAct (Results 1 – 3 of 3) sorted by relevance

/external/compiler-rt/lib/esan/
Dworking_set_posix.cpp74 __sanitizer_sigaction SigAct; in reinstateDefaultHandler() local
75 internal_memset(&SigAct, 0, sizeof(SigAct)); in reinstateDefaultHandler()
76 SigAct.sigaction = (void (*)(int, void*, void*)) SIG_DFL; in reinstateDefaultHandler()
77 int Res = internal_sigaction(SigNum, &SigAct, nullptr); in reinstateDefaultHandler()
122 __sanitizer_sigaction SigAct; in registerMemoryFaultHandler() local
123 internal_memset(&SigAct, 0, sizeof(SigAct)); in registerMemoryFaultHandler()
124 SigAct.sigaction = handleMemoryFault; in registerMemoryFaultHandler()
127 SigAct.sa_flags = SA_SIGINFO | SA_NODEFER; in registerMemoryFaultHandler()
128 int Res = internal_sigaction(SIGSEGV, &SigAct, &AppSigAct); in registerMemoryFaultHandler()
Desan_sideline_linux.cpp54 __sanitizer_sigaction SigAct; in registerSignal() local
55 internal_memset(&SigAct, 0, sizeof(SigAct)); in registerSignal()
56 SigAct.sigaction = handleSidelineSignal; in registerSignal()
58 SigAct.sa_flags = SA_ONSTACK | SA_SIGINFO; in registerSignal()
59 int Res = internal_sigaction(SigNum, &SigAct, nullptr); in registerSignal()
/external/compiler-rt/test/esan/TestCases/
Dworkingset-signal-posix.cpp39 struct sigaction SigAct; in main() local
40 SigAct.sa_sigaction = SigactionHandler; in main()
41 int Res = sigfillset(&SigAct.sa_mask); in main()
43 SigAct.sa_flags = SA_SIGINFO; in main()
44 Res = sigaction(SIGSEGV, &SigAct, NULL); in main()
51 Res = sigaction(SIGSEGV, NULL, &SigAct); in main()
53 assert(SigAct.sa_sigaction == SigactionHandler); in main()