Home
last modified time | relevance | path

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

12345678910>>...12

/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.c65 if (signal(SIGSEGV, handler_1) == SIG_ERR) { in main()
85 ret = sigaction(SIGSEGV, &sa, &save); in main()
93 ret = raise(SIGSEGV); in main()
106 ret = sigaction(SIGSEGV, &save, 0); in main()
114 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.c55 raise(SIGSEGV); in handler()
72 if (sigaction(SIGSEGV, &act, 0) == -1) { in main()
78 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()
D25-12.c53 raise(SIGSEGV); in handler()
70 if (sigaction(SIGSEGV, &act, 0) == -1) { in main()
76 if (raise(SIGSEGV) == -1) { in main()
D19-12.c54 if (info->si_signo != SIGSEGV) { in handler()
89 ret = sigaction(SIGSEGV, &sa, 0); in main()
102 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.c37 if (sigaction(SIGSEGV, &act, 0) == -1) { in main()
43 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.c42 if (sigaction(SIGSEGV, &act, 0) == -1) { in main()
50 if (sigaction(SIGSEGV, &act, &oact) == -1) { in main()
D18-12.c69 ret = sigaction(SIGSEGV, &sa, 0); in main()
82 ret = raise(SIGSEGV); in main()
/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/valgrind/gdbserver_tests/
Dmcsignopass.stdinB.gdb9 # For SIGSEGV, we make it continue a few times, till we pass it.
10 handle SIGSEGV nopass print stop
19 # SIGSEGV can't be ignored, so it is re-signaled. We continue many times
31 # Change handling so that we just see the 2nd SIGSEGV
32 handle SIGSEGV pass print nostop
/external/ltp/testcases/kernel/mem/mtest06/
Dmmap1.c80 case SIGSEGV: in sig_handler()
99 case SIGSEGV: in sig_handler_mapped()
163 sigdelset(&sa.sa_mask, SIGSEGV); in map_write_unmap()
167 if (sigaction(SIGSEGV, &sa, NULL)) { in map_write_unmap()
188 sigdelset(&sa.sa_mask, SIGSEGV); in map_write_unmap()
192 if (sigaction(SIGSEGV, &sa, NULL)) { in map_write_unmap()
277 {SIGSEGV, "SIGSEGV"},
365 sigdelset(&sigptr.sa_mask, SIGSEGV); in main()
/external/valgrind/none/tests/x86/
Dfaultstatus.c111 static const int sigs[] = { SIGSEGV, SIGILL, SIGBUS, SIGFPE, SIGTRAP }; in main()
138 T(3, SIGSEGV, 128, 0), in main()
139 T(4, SIGSEGV, 128, 0), in main()
144 T(5, SIGSEGV, 128, 0), in main()
Dssse3_misaligned.c21 assert(signo == SIGSEGV); in handler()
28 signal(SIGSEGV, handler); in main()
/external/valgrind/none/tests/
Dasync-sigs.c141 test(/*non-blocked*/0, /* sync*/SIGSEGV, /* sync*/SIGBUS); in main()
142 test(/*non-blocked*/0, /* sync*/SIGSEGV, /*async*/SIGHUP); in main()
145 test(/* blocked*/1, /* sync*/SIGSEGV, /* sync*/SIGBUS); in main()
146 test(/* blocked*/1, /* sync*/SIGSEGV, /*async*/SIGHUP); in main()
/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/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-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/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/valgrind/none/tests/s390x/
Dtest_sig.c19 if (sig == SIGSEGV) { in handle_SIG()
36 if (sig == SIGSEGV) { in handle_rt_SIG()
55 signal(SIGSEGV, handle_SIG); in main()
/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()
/external/valgrind/none/tests/amd64/
Dssse3_misaligned.c21 assert(signo == SIGSEGV); in handler()
28 signal(SIGSEGV, handler); in main()

12345678910>>...12