/third_party/libunwind/libunwind/src/ppc32/ |
H A D | Gstep.c | 34 our use at the user level in order to locate the ucontext record, which 130 handler was established. If it was not set, the ucontext in unw_step() 135 unw_word_t ucontext = c->dwarf.cfa + __SIGNAL_FRAMESIZE; in unw_step() local 140 c->sigcontext_addr = ucontext; in unw_step() 142 sp_loc = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R1, 0); in unw_step() 143 ip_loc = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_LINK, 0); in unw_step() 163 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R0, 0); in unw_step() 165 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R1, 0); in unw_step() 167 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R2, 0); in unw_step() 169 DWARF_LOC (ucontext in unw_step() [all...] |
H A D | unwind_i.h | 36 #include <ucontext.h>
|
/third_party/libunwind/libunwind/src/ppc64/ |
H A D | Gstep.c | 35 our use at the user level in order to locate the ucontext record, which 130 handler was established. If it was not set, the ucontext in unw_step() 135 unw_word_t ucontext = c->dwarf.cfa + __SIGNAL_FRAMESIZE; in unw_step() local 140 c->sigcontext_addr = ucontext; in unw_step() 142 sp_loc = DWARF_LOC ((ucontext + UC_MCONTEXT_GREGS_R1), 0); in unw_step() 143 ip_loc = DWARF_LOC ((ucontext + UC_MCONTEXT_GREGS_NIP), 0); in unw_step() 163 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R0, 0); in unw_step() 165 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R1, 0); in unw_step() 167 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R2, 0); in unw_step() 169 DWARF_LOC (ucontext in unw_step() [all...] |
H A D | unwind_i.h | 36 #include <ucontext.h>
|
/third_party/libunwind/libunwind/src/x86_64/ |
H A D | Gos-solaris.c | 53 unw_word_t ucontext = c->dwarf.cfa + sizeof (struct sigframe); in x86_64_handle_signal_frame() local 60 Debug(1, "signal frame cfa = %lx ucontext = %lx\n", in x86_64_handle_signal_frame() 61 (uint64_t)c->dwarf.cfa, (uint64_t)ucontext); in x86_64_handle_signal_frame() 63 struct dwarf_loc rsp_loc = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RSP, 0); in x86_64_handle_signal_frame() 72 c->dwarf.loc[RAX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RAX, 0); in x86_64_handle_signal_frame() 73 c->dwarf.loc[RDX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RDX, 0); in x86_64_handle_signal_frame() 74 c->dwarf.loc[RCX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RCX, 0); in x86_64_handle_signal_frame() 75 c->dwarf.loc[RBX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RBX, 0); in x86_64_handle_signal_frame() 76 c->dwarf.loc[RSI] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RSI, 0); in x86_64_handle_signal_frame() 77 c->dwarf.loc[RDI] = DWARF_LOC (ucontext in x86_64_handle_signal_frame() [all...] |
H A D | Gos-freebsd.c | 29 #include <ucontext.h> 94 unw_word_t ucontext; in x86_64_handle_signal_frame() local 99 ucontext = c->dwarf.cfa + offsetof(struct sigframe, sf_uc); in x86_64_handle_signal_frame() 103 struct dwarf_loc rsp_loc = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RSP, 0); in x86_64_handle_signal_frame() 111 c->dwarf.loc[RAX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RAX, 0); in x86_64_handle_signal_frame() 112 c->dwarf.loc[RDX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RDX, 0); in x86_64_handle_signal_frame() 113 c->dwarf.loc[RCX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RCX, 0); in x86_64_handle_signal_frame() 114 c->dwarf.loc[RBX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RBX, 0); in x86_64_handle_signal_frame() 115 c->dwarf.loc[RSI] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RSI, 0); in x86_64_handle_signal_frame() 116 c->dwarf.loc[RDI] = DWARF_LOC (ucontext in x86_64_handle_signal_frame() [all...] |
/third_party/node/deps/v8/src/libsampler/ |
H A D | sampler.cc | 24 // OpenBSD doesn't have <ucontext.h>. ucontext_t lives in <signal.h> 27 #include <ucontext.h> 83 struct ucontext* uc_link; 95 struct ucontext* uc_link; 126 struct ucontext* uc_link; 144 struct ucontext* uc_link; 161 struct ucontext* uc_link; 374 ucontext_t* ucontext = reinterpret_cast<ucontext_t*>(context); in FillRegisterState() local 378 mcontext_t& mcontext = ucontext->uc_mcontext; in FillRegisterState() 424 state->pc = reinterpret_cast<void*>(ucontext in FillRegisterState() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/ |
H A D | failure_signal_handler.cc | 263 void* ucontext, bool symbolize_stacktrace, in WriteStackTrace() 272 ucontext, &min_dropped_frames); in WriteStackTrace() 274 absl::debugging_internal::GetProgramCounter(ucontext), stack, frame_sizes, in WriteStackTrace() 281 static void WriteFailureInfo(int signo, void* ucontext, int cpu, in WriteFailureInfo() argument 285 WriteStackTrace(ucontext, fsh_options.symbolize_stacktrace, WriterFnWrapper, in WriteFailureInfo() 321 void* ucontext = nullptr; in AbslFailureSignalHandler() local 323 static void AbslFailureSignalHandler(int signo, siginfo_t*, void* ucontext) { in AbslFailureSignalHandler() argument 334 signo, absl::debugging_internal::GetProgramCounter(ucontext)); in AbslFailureSignalHandler() 364 WriteFailureInfo(signo, ucontext, my_cpu, WriteToStderr); in AbslFailureSignalHandler() 369 WriteFailureInfo(signo, ucontext, my_cp in AbslFailureSignalHandler() 262 WriteStackTrace( void* ucontext, bool symbolize_stacktrace, void (*writerfn)(const char*, void*), void* writerfn_arg) WriteStackTrace() argument [all...] |
/third_party/libunwind/libunwind/tests/ |
H A D | Ltest-init-local-signal.c | 26 /* Verify that we can step from both ucontext, and from getcontext() 27 * roughly the same. This tests that the IP from ucontext is used 29 void handler(int num, siginfo_t* info, void* ucontext) { in handler() argument 33 int ret = unw_init_local2(&c, ucontext, UNW_INIT_SIGNAL_FRAME); in handler() 44 printf("unw_getcontext steps was %i, ucontext steps was %i, should be %i\n", in handler()
|
H A D | x64-unwind-badjmp-signal-frame.c | 31 #include <sys/ucontext.h> 45 void handle_sigsegv(int signal, siginfo_t *info, void *ucontext) in handle_sigsegv() argument
|
H A D | test-coredump-unwind.c | 65 #include <ucontext.h> 211 void handle_sigsegv(int sig, siginfo_t *info, void *ucontext) in handle_sigsegv() argument 216 uc = ucontext; in handle_sigsegv()
|
/third_party/ltp/testcases/kernel/syscalls/pidfd_send_signal/ |
H A D | pidfd_send_signal01.c | 30 static void received_signal(int sig, siginfo_t *info, void *ucontext) in received_signal() argument 32 if (info && ucontext) { in received_signal()
|
/third_party/ltp/testcases/kernel/syscalls/rt_sigqueueinfo/ |
H A D | rt_sigqueueinfo01.c | 33 static void received_signal(int sig, siginfo_t *info, void *ucontext) in received_signal() argument 35 if (info && ucontext) { in received_signal()
|
/third_party/ltp/testcases/cve/ |
H A D | meltdown.c | 12 #include <ucontext.h> 108 ucontext_t *ucontext = context; in sigsegv() local 109 unsigned long *prip = (unsigned long *)&ucontext->uc_mcontext.gregs[REG_RIP]; in sigsegv()
|
/third_party/libunwind/libunwind/include/ |
H A D | libunwind-aarch64.h | 36 #include <ucontext.h> 204 struct ucontext *uc_link;
|
H A D | libunwind-sh.h | 35 #include <ucontext.h>
|
H A D | libunwind-hppa.h | 33 #include <ucontext.h>
|
H A D | libunwind-s390x.h | 37 #include <ucontext.h>
|
/third_party/ltp/testcases/kernel/syscalls/clone3/ |
H A D | clone301.c | 44 static void child_rx_signal(int sig, siginfo_t *info, void *ucontext) in child_rx_signal() argument 46 (void) ucontext; in child_rx_signal()
|
/third_party/node/deps/v8/src/trap-handler/ |
H A D | handler-inside-posix.cc | 31 #include <ucontext.h> 33 #include <sys/ucontext.h>
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/ |
H A D | 18-1-buildonly.c | 5 #include <ucontext.h>
|
H A D | 17-1-buildonly.c | 5 #include <ucontext.h>
|
/third_party/ltp/testcases/kernel/syscalls/getcontext/ |
H A D | getcontext01.c | 21 #include <ucontext.h>
|
/third_party/libunwind/libunwind/src/s390x/ |
H A D | unwind_i.h | 37 #include <sys/ucontext.h>
|
/third_party/node/test/addons/register-signal-handler/ |
H A D | binding.cc | 13 void Handler(int signo, siginfo_t* siginfo, void* ucontext) { in Handler() argument
|