Home
last modified time | relevance | path

Searched refs:ucontext (Results 1 - 25 of 73) sorted by relevance

123

/third_party/libunwind/libunwind/src/ppc32/
H A DGstep.c34 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 Dunwind_i.h36 #include <ucontext.h>
/third_party/libunwind/libunwind/src/ppc64/
H A DGstep.c35 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 Dunwind_i.h36 #include <ucontext.h>
/third_party/libunwind/libunwind/src/x86_64/
H A DGos-solaris.c53 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 DGos-freebsd.c29 #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 Dsampler.cc24 // 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 Dfailure_signal_handler.cc263 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 DLtest-init-local-signal.c26 /* 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 Dx64-unwind-badjmp-signal-frame.c31 #include <sys/ucontext.h>
45 void handle_sigsegv(int signal, siginfo_t *info, void *ucontext) in handle_sigsegv() argument
H A Dtest-coredump-unwind.c65 #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 Dpidfd_send_signal01.c30 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 Drt_sigqueueinfo01.c33 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 Dmeltdown.c12 #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 Dlibunwind-aarch64.h36 #include <ucontext.h>
204 struct ucontext *uc_link;
H A Dlibunwind-sh.h35 #include <ucontext.h>
H A Dlibunwind-hppa.h33 #include <ucontext.h>
H A Dlibunwind-s390x.h37 #include <ucontext.h>
/third_party/ltp/testcases/kernel/syscalls/clone3/
H A Dclone301.c44 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 Dhandler-inside-posix.cc31 #include <ucontext.h>
33 #include <sys/ucontext.h>
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/
H A D18-1-buildonly.c5 #include <ucontext.h>
H A D17-1-buildonly.c5 #include <ucontext.h>
/third_party/ltp/testcases/kernel/syscalls/getcontext/
H A Dgetcontext01.c21 #include <ucontext.h>
/third_party/libunwind/libunwind/src/s390x/
H A Dunwind_i.h37 #include <sys/ucontext.h>
/third_party/node/test/addons/register-signal-handler/
H A Dbinding.cc13 void Handler(int signo, siginfo_t* siginfo, void* ucontext) { in Handler() argument

Completed in 8 milliseconds

123