/external/ltp/testcases/kernel/syscalls/pipe/ |
pipe05.c | 78 sigaction(SIGSEGV, NULL, &osa); 79 sigaction(SIGSEGV, &sa, NULL); 87 sigaction(SIGSEGV, &osa, NULL);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
19-12.c | 25 * -> register a handler for SIGSEGV with SA_SIGINFO, and a known function 27 * -> raise SIGSEGV, and check the function has been called. 54 if (info->si_signo != SIGSEGV) { 88 /* Install the signal handler for SIGSEGV */ 89 ret = sigaction(SIGSEGV, &sa, 0); 102 ret = raise(SIGSEGV); 105 perror("Failed to raise SIGSEGV");
|
17-12.c | 10 errno set to EINTR if a handler for the SIGSEGV signal is setup with 32 printf("Caught SIGSEGV\n"); 48 sigaction(SIGSEGV, &act, 0); 67 process sending the SIGSEGV signal, and the 82 kill(pid, SIGSEGV);
|
/external/valgrind/none/tests/s390x/ |
test_sig.c | 19 if (sig == SIGSEGV) { 20 printf("SIGSEGV, exiting...\n"); 36 if (sig == SIGSEGV) { 37 printf("SIGSEGV, exiting...\n"); 55 signal(SIGSEGV, handle_SIG);
|
/art/sigchainlib/ |
sigchain_test.cc | 58 art::AddSpecialSignalHandlerFn(SIGSEGV, &action); 62 art::RemoveSpecialSignalHandlerFn(SIGSEGV, action.sc_sigaction); 74 // Unblock SIGSEGV, make sure it stays unblocked. 83 ASSERT_FALSE(sigismember64(&mask, SIGSEGV)); 157 sigset(SIGSEGV, SIG_HOLD); 163 sighold(SIGSEGV);
|
/prebuilts/go/darwin-x86/misc/cgo/testsigfwd/ |
main.go | 20 static void sigsegv() { 22 fprintf(stderr, "ERROR: C SIGSEGV not thrown on caught?.\n"); 27 if (signum == SIGSEGV) { 82 sigaction(SIGSEGV, &act, NULL); 95 fmt.Errorf("ERROR: couldn't raise SIGSEGV in Go.") 107 fmt.Errorf("couldn't recover from SIGSEGV in Go.") 112 C.sigsegv()
|
/prebuilts/go/linux-x86/misc/cgo/testsigfwd/ |
main.go | 20 static void sigsegv() { 22 fprintf(stderr, "ERROR: C SIGSEGV not thrown on caught?.\n"); 27 if (signum == SIGSEGV) { 82 sigaction(SIGSEGV, &act, NULL); 95 fmt.Errorf("ERROR: couldn't raise SIGSEGV in Go.") 107 fmt.Errorf("couldn't recover from SIGSEGV in Go.") 112 C.sigsegv()
|
/device/linaro/bootloader/edk2/StdLib/Include/ |
signal.h | 57 #define SIGSEGV __SigSegv ///< an invalid access to storage
|
/external/valgrind/none/tests/ |
async-sigs.c | 141 test(/*non-blocked*/0, /* sync*/SIGSEGV, /* sync*/SIGBUS); 142 test(/*non-blocked*/0, /* sync*/SIGSEGV, /*async*/SIGHUP); 145 test(/* blocked*/1, /* sync*/SIGSEGV, /* sync*/SIGBUS); 146 test(/* blocked*/1, /* sync*/SIGSEGV, /*async*/SIGHUP);
|
/external/valgrind/none/tests/linux/ |
blockfault.c | 13 /* Blocking a fault, ie SIGSEGV, won't work, and is the same as having 25 sigaction(SIGSEGV, &sa, NULL);
|
/external/valgrind/none/tests/solaris/ |
blockfault.c | 13 /* Blocking a fault (for example SIGSEGV) won't work, 25 sigaction(SIGSEGV, &sa, NULL);
|
/external/valgrind/none/tests/x86/ |
faultstatus.c | 111 static const int sigs[] = { SIGSEGV, SIGILL, SIGBUS, SIGFPE, SIGTRAP }; 138 T(3, SIGSEGV, 128, 0), 139 T(4, SIGSEGV, 128, 0), 144 T(5, SIGSEGV, 128, 0),
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/bits/ |
signum.h | 44 #define SIGSEGV 11 /* Segmentation violation (ANSI). */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/bits/ |
signum.h | 44 #define SIGSEGV 11 /* Segmentation violation (ANSI). */
|
/system/core/libnativebridge/tests/ |
DummyNativeBridge2.cpp | 60 if (signal == SIGSEGV) {
|
/cts/tests/tests/os/jni/ |
android_os_cts_TaggedPointer.cpp | 52 err = sigaction(SIGSEGV, &sigsegv_act, &oldact); 68 sigaction(SIGSEGV, &oldact, NULL);
|
/external/linux-kselftest/tools/testing/selftests/prctl/ |
disable-tsc-ctxt-sw-stress-test.c | 28 # define PR_TSC_SIGSEGV 2 /* throw a SIGSEGV instead of reading the TSC */ 51 signal(SIGSEGV, sigsegv_expect); 72 signal(SIGSEGV, sigsegv_fail);
|
/external/ltp/testcases/kernel/mem/ksm/ |
ksm05.c | 69 TEST(sigaction(SIGSEGV, &sa, NULL)); 72 "SIGSEGV signal setup failed"); 81 *(char *)NULL = 0; /* SIGSEGV occurs as expected. */ 92 _exit((sig == SIGSEGV) ? 0 : sig);
|
/external/ltp/testcases/kernel/mem/mtest06/ |
mmap1.c | 80 case SIGSEGV: 91 * SIGSEGV to be delivered. 99 case SIGSEGV: 163 sigdelset(&sa.sa_mask, SIGSEGV); 167 if (sigaction(SIGSEGV, &sa, NULL)) { 188 sigdelset(&sa.sa_mask, SIGSEGV); 192 if (sigaction(SIGSEGV, &sa, NULL)) { 277 {SIGSEGV, "SIGSEGV"}, 344 * test pattern or read must fail with SIGSEGV. Find an are [all...] |
/external/valgrind/helgrind/tests/ |
safe-pthread.h | 55 sigaction( SIGSEGV, &sa_segv, &oldsa_segv ); 64 sigaction( SIGSEGV, &oldsa_segv, NULL );
|
/external/valgrind/none/tests/amd64-solaris/ |
coredump_single_thread_sse.post.exp | 4 status: process terminated by SIGSEGV (Segmentation Fault), addr=........
|
/art/test/004-SignalTest/ |
signaltest.cc | 121 sigaction(SIGSEGV, &action, &oldaction); 123 sigaction(SIGSEGV, nullptr, &check); 139 sigaction(SIGSEGV, &oldaction, nullptr); 162 kill(getpid(), SIGSEGV);
|
/bionic/libc/private/ |
bionic_sigdefs.h | 50 __BIONIC_SIGDEF(SIGSEGV, "Segmentation fault")
|
/external/compiler-rt/test/tsan/ |
signal_longjmp.cc | 22 #define SIGNAL_TO_HANDLE SIGSEGV
|
/external/ltp/testcases/kernel/syscalls/setrlimit/ |
setrlimit05.c | 59 if (WIFSIGNALED(status) && WTERMSIG(status) == SIGSEGV) { 60 tst_res(TPASS, "setrlimit() caused SIGSEGV");
|