Home
last modified time | relevance | path

Searched refs:sigNo (Results 1 – 21 of 21) sorted by relevance

/external/valgrind/main/coregrind/
Dm_signals.c236 static void sync_signalhandler ( Int sigNo, vki_siginfo_t *info,
238 static void async_signalhandler ( Int sigNo, vki_siginfo_t *info,
240 static void sigvgkill_handler ( Int sigNo, vki_siginfo_t *info,
243 static const Char *signame(Int sigNo);
598 static Bool is_sig_ign(Int sigNo, ThreadId tid) in is_sig_ign() argument
600 vg_assert(sigNo >= 1 && sigNo <= _VKI_NSIG); in is_sig_ign()
602 return scss.scss_per_sig[sigNo].scss_handler == VKI_SIG_IGN in is_sig_ign()
603 || !VG_(gdbserver_report_signal) (sigNo, tid); in is_sig_ign()
1214 Int sigNo = siginfo->si_signo; in push_signal_frame() local
1216 vg_assert(sigNo >= 1 && sigNo <= VG_(max_signal)); in push_signal_frame()
[all …]
Dpub_core_tooliface.h233 void (*track_pre_deliver_signal) (ThreadId, Int sigNo, Bool);
234 void (*track_post_deliver_signal)(ThreadId, Int sigNo);
Dpub_core_signals.h66 extern void VG_(kill_self)(Int sigNo);
Dm_tooliface.c415 DEF0(track_pre_deliver_signal, ThreadId, Int sigNo, Bool)
416 DEF0(track_post_deliver_signal, ThreadId, Int sigNo)
/external/valgrind/main/coregrind/m_sigframe/
Dsigframe-x86-linux.c124 Int sigNo; member
136 Int sigNo; member
445 Int sigNo) in build_vg_sigframe() argument
447 frame->sigNo_private = sigNo; in build_vg_sigframe()
470 Int sigNo = siginfo->si_signo; in build_sigframe() local
488 frame->sigNo = sigNo; in build_sigframe()
512 build_vg_sigframe(&frame->vg, tst, flags, sigNo); in build_sigframe()
528 Int sigNo = siginfo->si_signo; in build_rt_sigframe() local
545 frame->sigNo = sigNo; in build_rt_sigframe()
565 if (sigNo == VKI_SIGILL && siginfo->si_code > 0) in build_rt_sigframe()
[all …]
Dsigframe-amd64-linux.c425 Int sigNo) in build_vg_sigframe() argument
427 frame->sigNo_private = sigNo; in build_vg_sigframe()
450 Int sigNo = siginfo->si_signo; in build_rt_sigframe() local
481 if (sigNo == VKI_SIGILL && siginfo->si_code > 0) in build_rt_sigframe()
491 build_vg_sigframe(&frame->vg, tst, mask, flags, sigNo); in build_rt_sigframe()
542 struct vg_sigframe *frame, Int *sigNo ) in restore_vg_sigframe() argument
551 *sigNo = VKI_SIGSEGV; in restore_vg_sigframe()
561 *sigNo = frame->sigNo_private; in restore_vg_sigframe()
599 struct rt_sigframe *frame, Int *sigNo ) in restore_rt_sigframe() argument
601 if (restore_vg_sigframe(tst, &frame->vg, sigNo)) in restore_rt_sigframe()
[all …]
Dsigframe-x86-darwin.c124 Int sigNo = siginfo->si_signo; in VG_() local
151 frame->sigNo_private = sigNo; in VG_()
157 frame->fake_siginfo.si_signo = sigNo; in VG_()
173 frame->a1_signo = sigNo; in VG_()
196 Int sigNo; in VG_() local
220 sigNo = frame->sigNo_private; in VG_()
232 VG_TRACK( post_deliver_signal, tid, sigNo ); in VG_()
Dsigframe-amd64-darwin.c121 Int sigNo = siginfo->si_signo; in VG_() local
148 frame->sigNo_private = sigNo; in VG_()
154 frame->fake_siginfo.si_signo = sigNo; in VG_()
172 tst->arch.vex.guest_RDI = (ULong) sigNo; in VG_()
196 Int sigNo; in VG_() local
220 sigNo = frame->sigNo_private; in VG_()
232 VG_TRACK( post_deliver_signal, tid, sigNo ); in VG_()
Dsigframe-s390x-linux.c124 Int sigNo; member
310 Int sigNo) in build_vg_sigframe() argument
312 frame->sigNo_private = sigNo; in build_vg_sigframe()
352 frame->sigNo = siginfo->si_signo; in build_sigframe()
394 Int sigNo = siginfo->si_signo; in build_rt_sigframe() local
443 build_vg_sigframe(&frame->vg, tst, flags, sigNo); in build_rt_sigframe()
490 struct vg_sigframe *frame, Int *sigNo ) in restore_vg_sigframe() argument
499 *sigNo = VKI_SIGSEGV; in restore_vg_sigframe()
509 *sigNo = frame->sigNo_private; in restore_vg_sigframe()
515 struct sigframe *frame, Int *sigNo ) in restore_sigframe() argument
[all …]
Dsigframe-arm-linux.c172 Int sigNo = siginfo->si_signo; in build_sigframe() local
192 priv->sigNo_private = sigNo; in build_sigframe()
214 Int sigNo = siginfo->si_signo; in VG_() local
240 if(sigNo == VKI_SIGILL && siginfo->si_code > 0) { in VG_()
259 tst->arch.vex.guest_R0 = sigNo; in VG_()
280 Int sigNo; in VG_() local
308 sigNo = priv->sigNo_private; in VG_()
346 VG_TRACK( post_deliver_signal, tid, sigNo ); in VG_()
Dsigframe-ppc32-linux.c681 Int sigNo = siginfo->si_signo; in VG_() local
708 if (sigNo == VKI_SIGILL && siginfo->si_code > 0) in VG_()
753 scp->signal = sigNo; in VG_()
767 priv->sigNo_private = sigNo; in VG_()
772 SET_SIGNAL_GPR(tid, 3, sigNo); in VG_()
885 Int sigNo; in VG_() local
919 sigNo = priv->sigNo_private; in VG_()
951 VG_TRACK( post_deliver_signal, tid, sigNo ); in VG_()
Dsigframe-ppc64-linux.c192 Int sigNo = siginfo->si_signo; in VG_() local
297 SET_SIGNAL_GPR(tid, 3, sigNo); in VG_()
310 priv->sigNo_private = sigNo; in VG_()
333 Int sigNo; in VG_() local
356 sigNo = priv->sigNo_private; in VG_()
388 VG_TRACK( post_deliver_signal, tid, sigNo ); in VG_()
/external/valgrind/main/coregrind/m_gdbserver/
Dvalgrind-low.c443 void gdbserver_signal_encountered (Int sigNo) in gdbserver_signal_encountered() argument
445 signal_to_report = sigNo; in gdbserver_signal_encountered()
449 Bool gdbserver_deliver_signal (Int sigNo) in gdbserver_deliver_signal() argument
451 return sigNo == signal_to_deliver; in gdbserver_deliver_signal()
Dserver.h233 extern void gdbserver_signal_encountered (Int sigNo);
237 extern Bool gdbserver_deliver_signal (Int sigNo);
Dm_gdbserver.c838 Bool VG_(gdbserver_report_signal) (Int sigNo, ThreadId tid) in VG_()
840 dlog(1, "signal %d tid %d\n", sigNo, tid); in VG_()
851 if (pass_signals[sigNo]) { in VG_()
857 gdbserver_signal_encountered (sigNo); in VG_()
863 if (gdbserver_deliver_signal (sigNo)) { in VG_()
/external/valgrind/main/include/
Dpub_tool_tooliface.h677 void VG_(track_pre_deliver_signal) (void(*f)(ThreadId tid, Int sigNo,
681 void VG_(track_post_deliver_signal)(void(*f)(ThreadId tid, Int sigNo));
/external/valgrind/main/memcheck/
Dmc_leakcheck.c709 void scan_all_valid_memory_catcher ( Int sigNo, Addr addr ) in scan_all_valid_memory_catcher() argument
712 VG_(printf)("OUCH! sig=%d addr=%#lx\n", sigNo, addr); in scan_all_valid_memory_catcher()
713 if (sigNo == VKI_SIGSEGV || sigNo == VKI_SIGBUS) in scan_all_valid_memory_catcher()
/external/valgrind/main/drd/
Ddrd_main.c508 void drd_pre_deliver_signal(const ThreadId vg_tid, const Int sigNo, in drd_pre_deliver_signal() argument
532 void drd_post_deliver_signal(const ThreadId vg_tid, const Int sigNo) in drd_post_deliver_signal() argument
/external/valgrind/main/coregrind/m_syswrap/
Dpriv_syswrap-generic.h49 extern Bool ML_(client_signal_OK)(Int sigNo);
Dsyswrap-generic.c102 Bool ML_(client_signal_OK)(Int sigNo) in ML_()
105 Bool ret = sigNo >= 0 && sigNo <= VG_SIGVGRTUSERMAX; in ML_()
/external/valgrind/tsan/
Dts_valgrind.cc789 static void SignalIn(ThreadId vg_tid, Int sigNo, Bool alt_stack) { in SignalIn() argument
796 static void SignalOut(ThreadId vg_tid, Int sigNo) { in SignalOut() argument