/external/valgrind/coregrind/m_sigframe/ |
D | sigframe-solaris.c | 58 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 …]
|
D | sigframe-ppc32-linux.c | 115 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_()
|
D | sigframe-arm-linux.c | 125 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_()
|
D | sigframe-arm64-linux.c | 118 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_()
|
D | sigframe-x86-linux.c | 417 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 …]
|
D | sigframe-amd64-linux.c | 398 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_()
|
D | sigframe-s390x-linux.c | 284 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 …]
|
D | sigframe-mips32-linux.c | 126 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_()
|
D | sigframe-tilegx-linux.c | 141 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_()
|
D | sigframe-mips64-linux.c | 121 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_()
|
D | sigframe-ppc64-linux.c | 139 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_()
|
D | sigframe-x86-darwin.c | 138 const vki_siginfo_t *siginfo, in VG_() 148 Int sigNo = siginfo->si_signo; in VG_() 183 frame->fake_siginfo = *siginfo; in VG_()
|
D | sigframe-amd64-darwin.c | 150 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/ |
D | sigcatcher.c | 333 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/ |
D | exception_handler.cc | 424 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/ |
D | safe-pthread.h | 15 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
|
D | safe-semaphore.h | 13 static void abrt_handler( int signum, siginfo_t *siginfo, void *sigcontext ) { in abrt_handler() argument
|
/external/compiler-rt/lib/asan/ |
D | asan_posix.cc | 36 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/ |
D | ptrace.cc | 95 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/ |
D | allow_user_segv.cc | 14 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/ |
D | signal.h | 7 struct siginfo; 101 void (*_sa_sigaction)(int, struct siginfo *, void *);
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
D | signal.h | 10 struct siginfo; 105 void (*_sa_sigaction)(int, struct siginfo *, void *);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | bgscan_simple.c | 146 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/ |
D | pub_core_sigframe.h | 54 const vki_siginfo_t *siginfo,
|
/external/valgrind/none/tests/darwin/ |
D | bug228343.c | 43 void SignalHandlerWithSpinlock(int sig, siginfo_t *siginfo, void *context) { in SignalHandlerWithSpinlock() argument
|