Home
last modified time | relevance | path

Searched refs:altstack (Results 1 – 20 of 20) sorted by relevance

/external/valgrind/none/tests/solaris/
Dcontext_stack.c22 stack_t altstack; in main() local
54 altstack.ss_sp = altstack_map; in main()
55 altstack.ss_size = sizeof(altstack_map); in main()
56 altstack.ss_flags = 0; in main()
57 if (sigaltstack(&altstack, NULL)) { in main()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix_libcdep.cc144 stack_t altstack, oldstack; in SetAlternateSignalStack() local
153 altstack.ss_sp = (char*) base; in SetAlternateSignalStack()
154 altstack.ss_flags = 0; in SetAlternateSignalStack()
155 altstack.ss_size = kAltStackSize; in SetAlternateSignalStack()
156 CHECK_EQ(0, sigaltstack(&altstack, nullptr)); in SetAlternateSignalStack()
160 stack_t altstack, oldstack; in UnsetAlternateSignalStack() local
161 altstack.ss_sp = nullptr; in UnsetAlternateSignalStack()
162 altstack.ss_flags = SS_DISABLE; in UnsetAlternateSignalStack()
163 altstack.ss_size = kAltStackSize; // Some sane value required on Darwin. in UnsetAlternateSignalStack()
164 CHECK_EQ(0, sigaltstack(&altstack, &oldstack)); in UnsetAlternateSignalStack()
/external/valgrind/coregrind/m_sigframe/
Dsigframe-solaris.c210 vki_stack_t altstack; in VG_() local
213 res = VG_(do_sys_sigaltstack)(tid, NULL, &altstack); in VG_()
217 *tst->os_state.ustack = altstack; in VG_()
Dsigframe-arm64-linux.c94 uc->uc_stack = tst->altstack; in synth_ucontext()
Dsigframe-x86-darwin.c93 uc->uc_stack = tst->altstack; in synthesize_ucontext()
Dsigframe-amd64-darwin.c89 uc->uc_stack = tst->altstack; in synthesize_ucontext()
Dsigframe-arm-linux.c96 uc->uc_stack = tst->altstack; in synth_ucontext()
Dsigframe-ppc64-linux.c198 frame->uc.uc_stack = tst->altstack; in VG_()
Dsigframe-amd64-linux.c339 uc->uc_stack = tst->altstack; in synth_ucontext()
Dsigframe-x86-linux.c362 uc->uc_stack = tst->altstack; in synth_ucontext()
Dsigframe-ppc32-linux.c683 ucp->uc_stack = tst->altstack; in VG_()
Dsigframe-mips64-linux.c162 ucp->uc_stack = tst->altstack; in VG_()
Dsigframe-mips32-linux.c177 ucp->uc_stack = tst->altstack; in VG_()
Dsigframe-tilegx-linux.c191 ucp->uc_stack = tst->altstack; in VG_()
Dsigframe-s390x-linux.c388 frame->uc.uc_stack = tst->altstack; in build_rt_sigframe()
/external/valgrind/coregrind/
Dm_signals.c1127 return (m_SP - (Addr)tst->altstack.ss_sp < (Addr)tst->altstack.ss_size); in on_sig_stack()
1134 return (tst->altstack.ss_size == 0 in sas_ss_flags()
1157 oss->ss_sp = VG_(threads)[tid].altstack.ss_sp; in VG_()
1158 oss->ss_size = VG_(threads)[tid].altstack.ss_size; in VG_()
1159 oss->ss_flags = VG_(threads)[tid].altstack.ss_flags in VG_()
1173 VG_(threads)[tid].altstack.ss_flags = VKI_SS_DISABLE; in VG_()
1179 VG_(threads)[tid].altstack.ss_sp = ss->ss_sp; in VG_()
1180 VG_(threads)[tid].altstack.ss_size = ss->ss_size; in VG_()
1181 VG_(threads)[tid].altstack.ss_flags = 0; in VG_()
1456 = (Addr)(tst->altstack.ss_sp) + tst->altstack.ss_size; in push_signal_frame()
[all …]
Dpub_core_threadstate.h385 vki_stack_t altstack; member
Dm_machine.c471 return (Addr)VG_(threads)[tid].altstack.ss_sp; in VG_()
478 return VG_(threads)[tid].altstack.ss_size; in VG_()
/external/valgrind/coregrind/m_scheduler/
Dscheduler.c545 VG_(threads)[tid].altstack.ss_sp = (void *)0xdeadbeef; in mostly_clear_thread_record()
546 VG_(threads)[tid].altstack.ss_size = 0; in mostly_clear_thread_record()
547 VG_(threads)[tid].altstack.ss_flags = VKI_SS_DISABLE; in mostly_clear_thread_record()
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-solaris.c555 vki_stack_t altstack; in VG_() local
558 res = VG_(do_sys_sigaltstack)(tid, NULL, &altstack); in VG_()
561 if (altstack.ss_flags == VKI_SS_ONSTACK) { in VG_()
563 uc->uc_stack = altstack; in VG_()
632 tst->altstack.ss_sp = uc->uc_stack.ss_sp; in VG_()
633 tst->altstack.ss_size = uc->uc_stack.ss_size; in VG_()