Home
last modified time | relevance | path

Searched refs:SIGSEGV (Results 1 – 25 of 407) sorted by relevance

12345678910>>...17

/external/compiler-rt/test/esan/TestCases/
Dworkingset-signal-posix.cpp14 if (Sig == SIGSEGV) { in SignalHandler()
22 if (Sig == SIGSEGV) { in SigactionHandler()
30 __sighandler_t Prior = signal(SIGSEGV, SignalHandler); in main()
36 Prior = signal(SIGSEGV, SIG_DFL); in main()
44 Res = sigaction(SIGSEGV, &SigAct, NULL); in main()
51 Res = sigaction(SIGSEGV, NULL, &SigAct); in main()
58 sigaddset(&Set, SIGSEGV); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
D28-12.c63 if (signal(SIGSEGV, handler_1) == SIG_ERR) { in main()
83 ret = sigaction(SIGSEGV, &sa, &save); in main()
91 ret = raise(SIGSEGV); in main()
104 ret = sigaction(SIGSEGV, &save, 0); in main()
112 ret = raise(SIGSEGV); in main()
D3-12.c40 if (sigaction(SIGSEGV, &act, 0) == -1) { in main()
46 if (sigaction(SIGSEGV, 0, &oact) == -1) { in main()
52 if (raise(SIGSEGV) == -1) { in main()
D22-12.c54 raise(SIGSEGV); in handler()
71 if (sigaction(SIGSEGV, &act, 0) == -1) { in main()
77 if (raise(SIGSEGV) == -1) { in main()
D25-12.c53 raise(SIGSEGV); in handler()
70 if (sigaction(SIGSEGV, &act, 0) == -1) { in main()
76 if (raise(SIGSEGV) == -1) { in main()
D8-13.c32 raise(SIGSEGV); in SIGTERM_handler()
46 sigaddset(&act.sa_mask, SIGSEGV); in main()
56 if (sigaction(SIGSEGV, &act, 0) == -1) { in main()
D19-12.c50 if (info->si_signo != SIGSEGV) { in handler()
85 ret = sigaction(SIGSEGV, &sa, 0); in main()
98 ret = raise(SIGSEGV); in main()
D1-12.c40 if (sigaction(SIGSEGV, &act, 0) == -1) { in main()
46 if (raise(SIGSEGV) == -1) { in main()
D6-12.c38 if (sigaction(SIGSEGV, &act, 0) == -1) { in main()
44 if (raise(SIGSEGV) == -1) { in main()
D4-12.c54 if (sigaction(SIGSEGV, &act, 0) == -1) { in main()
60 if (raise(SIGSEGV) == -1) { in main()
D2-12.c40 if (sigaction(SIGSEGV, &act, 0) == -1) { in main()
48 if (sigaction(SIGSEGV, &act, &oact) == -1) { in main()
D18-12.c67 ret = sigaction(SIGSEGV, &sa, 0); in main()
80 ret = raise(SIGSEGV); in main()
/external/igt-gpu-tools/lib/tests/
Digt_segfault.c56 raise(SIGSEGV); in crashme()
107 internal_assert_wsignaled(do_fork(), SIGSEGV); in main()
113 internal_assert_wexited(do_fork(), SIGSEGV + 128); in main()
120 internal_assert_wexited(do_fork(), SIGSEGV + 128); in main()
128 internal_assert_wexited(do_fork(), SIGSEGV + 128); in main()
/external/linux-kselftest/tools/testing/selftests/x86/
Dmov_ss_trap.c110 [SIGSEGV] = "SIGSEGV",
173 sethandler(SIGSEGV, handle_and_return, SA_RESETHAND); in main()
178 sethandler(SIGSEGV, handle_and_return, SA_RESETHAND); in main()
195 sethandler(SIGSEGV, handle_and_longjmp, SA_RESETHAND); in main()
201 sethandler(SIGSEGV, handle_and_longjmp, SA_RESETHAND); in main()
212 sethandler(SIGSEGV, handle_and_longjmp, SA_RESETHAND); in main()
257 sethandler(SIGSEGV, handle_and_longjmp, SA_RESETHAND | SA_ONSTACK); in main()
273 sethandler(SIGSEGV, handle_and_longjmp, SA_RESETHAND); in main()
Diopl.c57 sethandler(SIGSEGV, sigsegv, SA_RESETHAND); in try_outb()
65 clearhandler(SIGSEGV); in try_outb()
96 sethandler(SIGSEGV, sigsegv, SA_RESETHAND); in try_cli()
109 clearhandler(SIGSEGV); in try_cli()
116 sethandler(SIGSEGV, sigsegv, SA_RESETHAND); in try_sti()
129 clearhandler(SIGSEGV); in try_sti()
/external/compiler-rt/lib/esan/
Dworking_set_posix.cpp35 if (SigNum == SIGSEGV) { in processWorkingSetSignal()
46 if (SigNum == SIGSEGV) { in processWorkingSetSigaction()
65 if (internal_sigismember((__sanitizer_sigset_t *)Set, SIGSEGV)) { in processWorkingSetSigprocmask()
67 internal_sigdelset((__sanitizer_sigset_t *)Set, SIGSEGV); in processWorkingSetSigprocmask()
85 if (SigNum == SIGSEGV) { in handleMemoryFault()
128 int Res = internal_sigaction(SIGSEGV, &SigAct, &AppSigAct); in registerMemoryFaultHandler()
/external/igt-gpu-tools/tests/
Dvc4_purgeable_bo.c169 signal(SIGSEGV, sigtrap);
177 signal(SIGSEGV, SIG_DFL);
195 signal(SIGSEGV, sigtrap);
202 signal(SIGSEGV, SIG_DFL);
238 signal(SIGSEGV, sigtrap);
245 signal(SIGSEGV, SIG_DFL);
/external/gwp_asan/gwp_asan/optional/
Dsegv_handler_posix.cpp221 signal(SIGSEGV, SIG_DFL); in sigSegvHandler()
222 raise(SIGSEGV); in sigSegvHandler()
228 signal(SIGSEGV, SIG_DFL); in sigSegvHandler()
229 raise(SIGSEGV); in sigSegvHandler()
258 sigaction(SIGSEGV, &Action, &PreviousHandler); in installSignalHandlers()
264 sigaction(SIGSEGV, &PreviousHandler, nullptr); in uninstallSignalHandlers()
/external/strace/tests-m32/
Dpc.test53 \\[pid +$pid\\] \\[$ip\\] --- SIGSEGV \\{si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x$addr\\} …
54 \\[pid +$pid\\] \\[\\?{$len}\\] \\+\\+\\+ killed by SIGSEGV( \\(core dumped\\))? \\+\\+\\+
/external/strace/tests/
Dpc.test53 \\[pid +$pid\\] \\[$ip\\] --- SIGSEGV \\{si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x$addr\\} …
54 \\[pid +$pid\\] \\[\\?{$len}\\] \\+\\+\\+ killed by SIGSEGV( \\(core dumped\\))? \\+\\+\\+
/external/strace/tests-mx32/
Dpc.test53 \\[pid +$pid\\] \\[$ip\\] --- SIGSEGV \\{si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x$addr\\} …
54 \\[pid +$pid\\] \\[\\?{$len}\\] \\+\\+\\+ killed by SIGSEGV( \\(core dumped\\))? \\+\\+\\+
/external/ltp/testcases/kernel/syscalls/pipe/
Dpipe05.c78 sigaction(SIGSEGV, NULL, &osa); in main()
79 sigaction(SIGSEGV, &sa, NULL); in main()
87 sigaction(SIGSEGV, &osa, NULL); in main()
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap15.c138 if (signum == SIGSEGV) { in sig_handler()
148 siglongjmp(sig_escape, FAIL_JMP + SIGSEGV); in sig_handler()
171 case FAIL_JMP + SIGSEGV: in test_once()
210 SAFE_SIGACTION(SIGSEGV, &sa, NULL); in run_test()
/external/ltp/testcases/kernel/security/umip/
Dumip_basic_test.c123 if (WIFSIGNALED(status) && WTERMSIG(status) == SIGSEGV) { in verify_umip_instruction()
139 if (WIFSIGNALED(status) && WTERMSIG(status) == SIGSEGV) { in verify_umip_instruction()
151 if (WIFSIGNALED(status) && WTERMSIG(status) == SIGSEGV) { in verify_umip_instruction()
/external/e2fsprogs/e2fsck/
Dsigcatcher.c65 #ifdef SIGSEGV
66 DEFINE_ENTRY(SIGSEGV)
354 else if (signum == SIGSEGV) in die_signal_handler()
370 signum == SIGSEGV || signum == SIGBUS)) in die_signal_handler()
397 sigaction(SIGSEGV, &sa, 0); in sigcatcher_setup()

12345678910>>...17