Home
last modified time | relevance | path

Searched refs:siginfo (Results 1 – 25 of 56) sorted by relevance

123

/external/valgrind/coregrind/m_sigframe/
Dsigframe-solaris.c58 Addr sp_top_of_frame, const vki_siginfo_t *siginfo, in VG_()
66 Int signo = siginfo->si_signo; in VG_()
88 frame->siginfo = *siginfo; in VG_()
116 switch (siginfo->si_code) { in VG_()
123 frame->siginfo.si_code = VKI_SEGV_MAPERR; in VG_()
132 frame->siginfo.si_addr = (void*)VG_(get_IP)(tid); in VG_()
135 frame->siginfo.si_faddr = (void*)VG_(get_IP)(tid); in VG_()
140 VG_TRACK(post_mem_write, Vg_CoreSignal, tid, (Addr)&frame->siginfo, in VG_()
141 sizeof(frame->siginfo)); in VG_()
174 frame->a2_siginfo = &frame->siginfo; in VG_()
[all …]
Dsigframe-ppc32-linux.c115 vki_siginfo_t siginfo; member
629 const vki_siginfo_t *siginfo, in VG_()
639 Int sigNo = siginfo->si_signo; in VG_()
665 faultaddr = (Addr)siginfo->_sifields._sigfault._addr; in VG_()
666 if (sigNo == VKI_SIGILL && siginfo->si_code > 0) in VG_()
674 (Addr)&frame->siginfo, sizeof(frame->siginfo) ); in VG_()
675 VG_(memcpy)(&frame->siginfo, siginfo, sizeof(*siginfo)); in VG_()
677 (Addr)&frame->siginfo, sizeof(frame->siginfo) ); in VG_()
699 SET_SIGNAL_GPR(tid, 4, (Addr) &frame->siginfo); in VG_()
702 SET_SIGNAL_GPR(tid, 6, (Addr) &frame->siginfo); in VG_()
Dsigframe-arm-linux.c125 const vki_siginfo_t *siginfo, in build_sigframe() argument
133 Int sigNo = siginfo->si_signo; in build_sigframe()
147 synth_ucontext(tst->tid, siginfo, trapno, err, mask, &frame->uc); in build_sigframe()
166 const vki_siginfo_t *siginfo, in VG_()
176 Int sigNo = siginfo->si_signo; in VG_()
200 VG_(memcpy)(&rsf->info, siginfo, sizeof(vki_siginfo_t)); in VG_()
202 if(sigNo == VKI_SIGILL && siginfo->si_code > 0) { in VG_()
208 build_sigframe(tst, &rsf->sig, siginfo, siguc, in VG_()
214 build_sigframe(tst, (struct sigframe *)sp, siginfo, siguc, in VG_()
Dsigframe-arm64-linux.c118 const vki_siginfo_t *siginfo, in build_sigframe() argument
126 Int sigNo = siginfo->si_signo; in build_sigframe()
140 synth_ucontext(tst->tid, siginfo, trapno, err, mask, &frame->uc); in build_sigframe()
157 const vki_siginfo_t *siginfo, in VG_()
166 Int sigNo = siginfo->si_signo; in VG_()
186 VG_(memcpy)(&rsf->info, siginfo, sizeof(vki_siginfo_t)); in VG_()
188 if (sigNo == VKI_SIGILL && siginfo->si_code > 0) { in VG_()
195 build_sigframe(tst, &rsf->sig, siginfo, siguc, in VG_()
Dsigframe-x86-linux.c417 const vki_siginfo_t *siginfo, in build_sigframe() argument
425 Int sigNo = siginfo->si_signo; in build_sigframe()
458 synth_ucontext(tst->tid, siginfo, trapno, err, mask, &uc, &frame->fpstate); in build_sigframe()
475 const vki_siginfo_t *siginfo, in build_rt_sigframe() argument
483 Int sigNo = siginfo->si_signo; in build_rt_sigframe()
517 VG_(memcpy)(&frame->sigInfo, siginfo, sizeof(vki_siginfo_t)); in build_rt_sigframe()
520 if (sigNo == VKI_SIGILL && siginfo->si_code > 0) in build_rt_sigframe()
524 synth_ucontext(tst->tid, siginfo, trapno, err, mask, in build_rt_sigframe()
540 const vki_siginfo_t *siginfo, in VG_()
551 esp = build_rt_sigframe(tst, esp_top_of_frame, siginfo, siguc, in VG_()
[all …]
Dsigframe-amd64-linux.c398 const vki_siginfo_t *siginfo, in build_rt_sigframe() argument
406 Int sigNo = siginfo->si_signo; in build_rt_sigframe()
434 VG_(memcpy)(&frame->sigInfo, siginfo, sizeof(vki_siginfo_t)); in build_rt_sigframe()
437 if (sigNo == VKI_SIGILL && siginfo->si_code > 0) in build_rt_sigframe()
441 synth_ucontext(tst->tid, siginfo, trapno, err, mask, in build_rt_sigframe()
456 const vki_siginfo_t *siginfo, in VG_()
467 rsp = build_rt_sigframe(tst, rsp_top_of_frame, siginfo, siguc, in VG_()
478 tst->arch.vex.guest_RDI = (ULong) siginfo->si_signo; in VG_()
Dsigframe-s390x-linux.c284 const vki_siginfo_t *siginfo, in build_sigframe() argument
309 frame->sigNo = siginfo->si_signo; in build_sigframe()
326 SET_SIGNAL_GPR(tst, 2, siginfo->si_signo); in build_sigframe()
336 build_vg_sigframe(&frame->vg, tst, flags, siginfo->si_signo); in build_sigframe()
343 const vki_siginfo_t *siginfo, in build_rt_sigframe() argument
351 Int sigNo = siginfo->si_signo; in build_rt_sigframe()
384 VG_(memcpy)(&frame->info, siginfo, sizeof(vki_siginfo_t)); in build_rt_sigframe()
390 SET_SIGNAL_GPR(tst, 2, siginfo->si_signo); in build_rt_sigframe()
408 const vki_siginfo_t *siginfo, in VG_()
419 sp = build_rt_sigframe(tst, sp_top_of_frame, siginfo, siguc, in VG_()
[all …]
Dsigframe-mips32-linux.c126 const vki_siginfo_t *siginfo, in VG_()
135 Int sigNo = siginfo->si_signo; in VG_()
166 VG_(memcpy)(&frame->rs_info, siginfo, sizeof(*siginfo)); in VG_()
183 setup_sigcontext2(tst, &(scp), siginfo); in VG_()
200 tst->arch.vex.guest_r4 = siginfo->si_signo; in VG_()
222 setup_sigcontext2(tst, &(scp), siginfo); in VG_()
235 tst->arch.vex.guest_r4 = siginfo->si_signo; in VG_()
Dsigframe-tilegx-linux.c141 const vki_siginfo_t *siginfo, in VG_()
151 Int sigNo = siginfo->si_signo; in VG_()
167 faultaddr = (Addr)siginfo->_sifields._sigfault._addr; in VG_()
168 if (sigNo == VKI_SIGILL && siginfo->si_code > 0) in VG_()
180 VG_(memcpy)(&frame->rs_info, siginfo, sizeof(*siginfo)); in VG_()
197 setup_sigcontext2(tst, &(scp), siginfo); in VG_()
213 tst->arch.vex.guest_r0 = siginfo->si_signo; in VG_()
Dsigframe-mips64-linux.c121 const vki_siginfo_t *siginfo, in VG_()
130 Int sigNo = siginfo->si_signo; in VG_()
151 VG_(memcpy)(&frame->rs_info, siginfo, sizeof(*siginfo)); in VG_()
168 setup_sigcontext(tst, &(scp), siginfo); in VG_()
181 tst->arch.vex.guest_r4 = siginfo->si_signo; in VG_()
Dsigframe-ppc64-linux.c139 const vki_siginfo_t *siginfo, in VG_()
149 Int sigNo = siginfo->si_signo; in VG_()
192 VG_(memcpy)(&frame->info, siginfo, sizeof(*siginfo)); in VG_()
Dsigframe-x86-darwin.c138 const vki_siginfo_t *siginfo, in VG_()
148 Int sigNo = siginfo->si_signo; in VG_()
183 frame->fake_siginfo = *siginfo; in VG_()
Dsigframe-amd64-darwin.c150 const vki_siginfo_t *siginfo, in VG_()
160 Int sigNo = siginfo->si_signo; in VG_()
195 frame->fake_siginfo = *siginfo; in VG_()
/external/e2fsprogs/e2fsck/
Dsigcatcher.c333 static void die_signal_handler(int signum, siginfo_t *siginfo, in die_signal_handler() argument
342 if (siginfo->si_code == SI_USER) in die_signal_handler()
343 fprintf(stderr, "(sent from pid %u) ", siginfo->si_pid); in die_signal_handler()
344 cp = lookup_table(siginfo->si_code, generic_code_table); in die_signal_handler()
349 lookup_table_fallback(siginfo->si_code, in die_signal_handler()
353 lookup_table_fallback(siginfo->si_code, in die_signal_handler()
357 lookup_table_fallback(siginfo->si_code, in die_signal_handler()
361 lookup_table_fallback(siginfo->si_code, in die_signal_handler()
365 lookup_table_fallback(siginfo->si_code, in die_signal_handler()
368 fprintf(stderr, "si code=%d ", siginfo->si_code); in die_signal_handler()
[all …]
/external/google-breakpad/src/client/linux/handler/
Dexception_handler.cc424 memcpy(&context.siginfo, info, sizeof(siginfo_t)); in HandleSignal()
456 siginfo_t siginfo = {}; in SimulateSignalDelivery() local
459 siginfo.si_code = SI_USER; in SimulateSignalDelivery()
460 siginfo.si_pid = getpid(); in SimulateSignalDelivery()
463 return HandleSignal(sig, &siginfo, &context); in SimulateSignalDelivery()
664 memset(&context.siginfo, 0, sizeof(context.siginfo)); in WriteMinidump()
665 context.siginfo.si_signo = MD_EXCEPTION_CODE_LIN_DUMP_REQUESTED; in WriteMinidump()
667 context.siginfo.si_addr = in WriteMinidump()
670 context.siginfo.si_addr = in WriteMinidump()
673 context.siginfo.si_addr = in WriteMinidump()
[all …]
/external/valgrind/helgrind/tests/
Dsafe-pthread.h15 static void sigill_handler( int signum, siginfo_t *siginfo, void *sigcontext ) { in sigill_handler() argument
16 unsigned char *pc = siginfo->si_addr; in sigill_handler()
27 static void segv_handler( int signum, siginfo_t *siginfo, void *sigcontext ) { in segv_handler() argument
Dsafe-semaphore.h13 static void abrt_handler( int signum, siginfo_t *siginfo, void *sigcontext ) { in abrt_handler() argument
/external/compiler-rt/lib/asan/
Dasan_posix.cc36 void AsanOnDeadlySignal(int signo, void *siginfo, void *context) { in AsanOnDeadlySignal() argument
38 int code = (int)((siginfo_t*)siginfo)->si_code; in AsanOnDeadlySignal()
41 SignalContext sig = SignalContext::Create(siginfo, context); in AsanOnDeadlySignal()
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dptrace.cc95 siginfo_t siginfo; in main() local
96 res = ptrace(PTRACE_GETSIGINFO, pid, NULL, &siginfo); in main()
98 assert(siginfo.si_pid == pid); in main()
/external/compiler-rt/test/asan/TestCases/Posix/
Dallow_user_segv.cc14 void User_OnSIGSEGV(int signum, siginfo_t *siginfo, void *context) { in User_OnSIGSEGV() argument
26 original_sigaction.sa_sigaction(signum, siginfo, context); in User_OnSIGSEGV()
/external/kernel-headers/original/uapi/asm-arm/asm/
Dsignal.h7 struct siginfo;
101 void (*_sa_sigaction)(int, struct siginfo *, void *);
/external/kernel-headers/original/uapi/asm-x86/asm/
Dsignal.h10 struct siginfo;
105 void (*_sa_sigaction)(int, struct siginfo *, void *);
/external/wpa_supplicant_8/wpa_supplicant/
Dbgscan_simple.c146 struct wpa_signal_info siginfo; in bgscan_simple_init() local
147 if (wpa_drv_signal_poll(wpa_s, &siginfo) == 0 && in bgscan_simple_init()
148 siginfo.current_signal >= data->signal_threshold) in bgscan_simple_init()
/external/valgrind/coregrind/
Dpub_core_sigframe.h54 const vki_siginfo_t *siginfo,
/external/valgrind/none/tests/darwin/
Dbug228343.c43 void SignalHandlerWithSpinlock(int sig, siginfo_t *siginfo, void *context) { in SignalHandlerWithSpinlock() argument

123