Home
last modified time | relevance | path

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

12345678910>>...16

/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.c52 if (info->si_signo != SIGSEGV) { in handler()
87 ret = sigaction(SIGSEGV, &sa, 0); in main()
100 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()
D18-12.c67 ret = sigaction(SIGSEGV, &sa, 0); in main()
80 ret = raise(SIGSEGV); in main()
D2-12.c40 if (sigaction(SIGSEGV, &act, 0) == -1) { in main()
48 if (sigaction(SIGSEGV, &act, &oact) == -1) { 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/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/linux-kselftest/tools/testing/selftests/x86/
Dmov_ss_trap.c111 [SIGSEGV] = "SIGSEGV",
174 sethandler(SIGSEGV, handle_and_return, SA_RESETHAND); in main()
179 sethandler(SIGSEGV, handle_and_return, SA_RESETHAND); in main()
196 sethandler(SIGSEGV, handle_and_longjmp, SA_RESETHAND); in main()
202 sethandler(SIGSEGV, handle_and_longjmp, SA_RESETHAND); in main()
213 sethandler(SIGSEGV, handle_and_longjmp, SA_RESETHAND); in main()
258 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()
90 sethandler(SIGSEGV, sigsegv, SA_RESETHAND); in try_cli()
97 clearhandler(SIGSEGV); in try_cli()
102 sethandler(SIGSEGV, sigsegv, SA_RESETHAND); in try_sti()
109 clearhandler(SIGSEGV); in try_sti()
/external/llvm-project/compiler-rt/test/asan/TestCases/Linux/
Dpreinstalled_signal.cpp63 int res = InternalSigaction(SIGSEGV, nullptr, &pre_asan); in Init()
69 res = InternalSigaction(SIGSEGV, &pre_asan, nullptr); in Init()
75 res = InternalSigaction(SIGSEGV, &pre_asan, nullptr); in Init()
92 InternalSigaction(SIGSEGV, nullptr, &post_asan); in main()
99 raise(SIGSEGV); in main()
/external/llvm-project/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/
Dparser_json.test17 crash_reason_json = json.loads('{"type" : "EXC_BAD_ACCESS", "signal" : "SIGSEGV", "subtype" : "KERN…
18 assert parser.parse_crash_reason(crash_reason_json) == "EXC_BAD_ACCESS (SIGSEGV) (KERN_INVALID_ADDR…
20 crash_reason_json = json.loads('{"type" : "EXC_BAD_ACCESS", "signal" : "SIGSEGV"}')
21 assert parser.parse_crash_reason(crash_reason_json) == "EXC_BAD_ACCESS (SIGSEGV)"
23 crash_reason_json = json.loads('{"type" : "EXC_BAD_ACCESS", "signal" : "SIGSEGV", "codes" : "0x0000…
24 assert parser.parse_crash_reason(crash_reason_json) == "EXC_BAD_ACCESS (SIGSEGV) (0x000000000000000…
/external/gwp_asan/gwp_asan/optional/
Dsegv_handler_posix.cpp178 signal(SIGSEGV, SIG_DFL); in sigSegvHandler()
179 raise(SIGSEGV); in sigSegvHandler()
185 signal(SIGSEGV, SIG_DFL); in sigSegvHandler()
186 raise(SIGSEGV); in sigSegvHandler()
214 sigaction(SIGSEGV, &Action, &PreviousHandler); in installSignalHandlers()
220 sigaction(SIGSEGV, &PreviousHandler, nullptr); in uninstallSignalHandlers()
/external/llvm-project/compiler-rt/lib/gwp_asan/optional/
Dsegv_handler_posix.cpp51 signal(SIGSEGV, SIG_DFL); in sigSegvHandler()
52 raise(SIGSEGV); in sigSegvHandler()
58 signal(SIGSEGV, SIG_DFL); in sigSegvHandler()
59 raise(SIGSEGV); in sigSegvHandler()
150 sigaction(SIGSEGV, &Action, &PreviousHandler); in installSignalHandlers()
156 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-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/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dsignal_segv_handler.cpp38 sigaction(SIGSEGV, &a, &old); in main()
41 sigaction(SIGSEGV, 0, &a); in main()
51 sigaction(SIGSEGV, &old, 0); in main()
/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/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()

12345678910>>...16