Searched refs:SIGSEGV (Results 1 - 25 of 269) sorted by relevance

1234567891011

/external/ltp/testcases/kernel/mem/vma/
H A Dvma05_vdso.c5 raise(SIGSEGV);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
H A D3-12.c15 2. Set the signal handler for SIGSEGV to handler
17 4. raise SIGSEGV
40 if (sigaction(SIGSEGV, &act, 0) == -1) {
46 if (sigaction(SIGSEGV, 0, &oact) == -1) {
52 if (raise(SIGSEGV) == -1) {
H A D1-12.c17 2. Use sigaction to setup a signal handler for SIGSEGV
18 3. Raise SIGSEGV.
40 if (sigaction(SIGSEGV, &act, 0) == -1) {
46 if (raise(SIGSEGV) == -1) {
H A D28-12.c24 * -> register a signal handler for SIGSEGV with signal().
65 if (signal(SIGSEGV, handler_1) == SIG_ERR) {
85 ret = sigaction(SIGSEGV, &sa, &save);
93 ret = raise(SIGSEGV);
106 ret = sigaction(SIGSEGV, &save, 0);
114 ret = raise(SIGSEGV);
H A D22-12.c18 3. (child) Setup a signal handler for SIGSEGV with SA_NODEFER set
20 4. (child) raise SIGSEGV
22 6. (child, signal handler) if count is 1 then raise SIGSEGV
44 printf("SIGSEGV caught\n");
54 printf("Raising SIGSEGV\n");
55 raise(SIGSEGV);
56 printf("Returning from raising SIGSEGV\n");
72 if (sigaction(SIGSEGV, &act, 0) == -1) {
78 if (raise(SIGSEGV) == -1) {
H A D25-12.c17 3. (child) Setup a signal handler for SIGSEGV
18 4. (child) raise SIGSEGV
20 6. (child, signal handler) if count is 1 then raise SIGSEGV
41 printf("SIGSEGV caught\n");
52 printf("Raising SIGSEGV\n");
53 raise(SIGSEGV);
54 printf("Returning from raising SIGSEGV\n");
70 if (sigaction(SIGSEGV, &act, 0) == -1) {
76 if (raise(SIGSEGV) == -1) {
H A D8-13.c26 printf("Caught SIGSEGV\n");
32 raise(SIGSEGV);
46 sigaddset(&act.sa_mask, SIGSEGV);
56 if (sigaction(SIGSEGV, &act, 0) == -1) {
H A D13-12.c31 printf("Caught SIGSEGV\n");
52 if (sigaction(SIGSEGV, &act, 0) == -1) {
64 if (raise(SIGSEGV) == -1) {
H A D2-12.c14 1. Call sigaction to set handler for SIGSEGV to use handler1
15 2. Call sigaction again to set handler for SIGSEGV to use handler2,
42 if (sigaction(SIGSEGV, &act, 0) == -1) {
50 if (sigaction(SIGSEGV, &act, &oact) == -1) {
H A D4-12.c16 3. (child) Setup a signal handler for SIGSEGV with SIGKILL added to
18 4. (child) raise SIGSEGV
54 if (sigaction(SIGSEGV, &act, 0) == -1) {
60 if (raise(SIGSEGV) == -1) {
H A D6-12.c9 setting the SA_INFO bit in the signal mask for SIGSEGV will result
37 if (sigaction(SIGSEGV, &act, 0) == -1) {
43 if (raise(SIGSEGV) == -1) {
/external/compiler-rt/test/esan/TestCases/
H A Dworkingset-signal-posix.cpp14 if (Sig == SIGSEGV) {
15 fprintf(stderr, "Handling SIGSEGV for signal\n");
22 if (Sig == SIGSEGV) {
23 fprintf(stderr, "Handling SIGSEGV for sigaction\n");
30 __sighandler_t Prior = signal(SIGSEGV, SignalHandler);
33 *((volatile int *)(ssize_t)argc) = 42; // Raise SIGSEGV
36 Prior = signal(SIGSEGV, SIG_DFL);
44 Res = sigaction(SIGSEGV, &SigAct, NULL);
48 *((volatile int *)(ssize_t)argc) = 42; // Raise SIGSEGV
51 Res = sigaction(SIGSEGV, NUL
[all...]
/external/valgrind/none/tests/x86/
H A Dint.stderr.exp3 Process terminating with default action of signal 11 (SIGSEGV)
H A Dssse3_misaligned.c21 assert(signo == SIGSEGV);
28 signal(SIGSEGV, handler);
/external/valgrind/gdbserver_tests/
H A Dmcsignopass.stdoutB.exp2 SIGSEGV Yes Yes No Segmentation fault
8 Program received signal SIGSEGV, Segmentation fault.
12 Program received signal SIGSEGV, Segmentation fault.
16 Program received signal SIGSEGV, Segmentation fault.
20 Program received signal SIGSEGV, Segmentation fault.
24 Program received signal SIGSEGV, Segmentation fault.
28 Program received signal SIGSEGV, Segmentation fault.
32 Program received signal SIGSEGV, Segmentation fault.
36 Program received signal SIGSEGV, Segmentation fault.
40 Program received signal SIGSEGV, Segmentatio
[all...]
H A Dmcsigpass.stdoutB.exp2 Program received signal SIGSEGV, Segmentation fault.
6 Program received signal SIGSEGV, Segmentation fault.
/external/compiler-rt/lib/esan/
H A Dworking_set_posix.cpp35 if (SigNum == SIGSEGV) {
46 if (SigNum == SIGSEGV) {
60 // All we need to do is ensure that SIGSEGV is not blocked.
62 // SIGSEGV is still blocked on app queries: that would require
65 if (internal_sigismember((__sanitizer_sigset_t *)Set, SIGSEGV)) {
66 VPrintf(1, "%s: removing SIGSEGV from the blocked set\n", __FUNCTION__);
67 internal_sigdelset((__sanitizer_sigset_t *)Set, SIGSEGV);
85 if (SigNum == SIGSEGV) {
111 // handling if the app relies on an alternate stack for SIGSEGV.
113 // We require that SIGSEGV i
[all...]
/external/strace/tests/
H A Dpc.test45 ip="$(sed -r -n 's/^\[pid +'"$pid"'\] \[([[:xdigit:]]{'"$len"'})] --- SIGSEGV \{.*\} ---$/\1/p' "$LOG")" &&
53 \\[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/
H A Dpc.test45 ip="$(sed -r -n 's/^\[pid +'"$pid"'\] \[([[:xdigit:]]{'"$len"'})] --- SIGSEGV \{.*\} ---$/\1/p' "$LOG")" &&
53 \\[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/
H A Dpc.test45 ip="$(sed -r -n 's/^\[pid +'"$pid"'\] \[([[:xdigit:]]{'"$len"'})] --- SIGSEGV \{.*\} ---$/\1/p' "$LOG")" &&
53 \\[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/valgrind/none/tests/amd64/
H A Dssse3_misaligned.c21 assert(signo == SIGSEGV);
28 signal(SIGSEGV, handler);
/external/chromium-trace/catapult/devil/devil/android/
H A Ddevice_signal.py21 SIGSEGV = 11 # Segmentation fault variable
/external/libmojo/third_party/catapult/devil/devil/android/
H A Ddevice_signal.py21 SIGSEGV = 11 # Segmentation fault variable
/external/python/cpython2/PC/os2emx/
H A Ddllentry.c29 signal(SIGSEGV, SIG_IGN);
/external/valgrind/memcheck/tests/
H A Dsignal2.c14 signal(SIGSEGV, sig_hdlr);

Completed in 494 milliseconds

1234567891011