Searched refs:altstack (Results 1 – 20 of 20) sorted by relevance
/external/valgrind/none/tests/solaris/ |
D | context_stack.c | 22 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/ |
D | sanitizer_posix_libcdep.cc | 144 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/ |
D | sigframe-solaris.c | 210 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_()
|
D | sigframe-arm64-linux.c | 94 uc->uc_stack = tst->altstack; in synth_ucontext()
|
D | sigframe-x86-darwin.c | 93 uc->uc_stack = tst->altstack; in synthesize_ucontext()
|
D | sigframe-amd64-darwin.c | 89 uc->uc_stack = tst->altstack; in synthesize_ucontext()
|
D | sigframe-arm-linux.c | 96 uc->uc_stack = tst->altstack; in synth_ucontext()
|
D | sigframe-ppc64-linux.c | 198 frame->uc.uc_stack = tst->altstack; in VG_()
|
D | sigframe-amd64-linux.c | 339 uc->uc_stack = tst->altstack; in synth_ucontext()
|
D | sigframe-x86-linux.c | 362 uc->uc_stack = tst->altstack; in synth_ucontext()
|
D | sigframe-ppc32-linux.c | 683 ucp->uc_stack = tst->altstack; in VG_()
|
D | sigframe-mips64-linux.c | 162 ucp->uc_stack = tst->altstack; in VG_()
|
D | sigframe-mips32-linux.c | 177 ucp->uc_stack = tst->altstack; in VG_()
|
D | sigframe-tilegx-linux.c | 191 ucp->uc_stack = tst->altstack; in VG_()
|
D | sigframe-s390x-linux.c | 388 frame->uc.uc_stack = tst->altstack; in build_rt_sigframe()
|
/external/valgrind/coregrind/ |
D | m_signals.c | 1127 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 …]
|
D | pub_core_threadstate.h | 385 vki_stack_t altstack; member
|
D | m_machine.c | 471 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/ |
D | scheduler.c | 545 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/ |
D | syswrap-solaris.c | 555 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_()
|