Home
last modified time | relevance | path

Searched refs:ucontext_t (Results 1 – 25 of 167) sorted by relevance

1234567

/external/google-breakpad/src/common/linux/
Dbreakpad_getcontext_unittest.cc59 offsetof(ucontext_t,uc_mcontext.arm_r0)); in TEST()
64 offsetof(ucontext_t,uc_mcontext.regs[0])); in TEST()
66 offsetof(ucontext_t,uc_mcontext.sp)); in TEST()
68 offsetof(ucontext_t,uc_mcontext.pc)); in TEST()
70 offsetof(ucontext_t,uc_mcontext.pstate)); in TEST()
72 offsetof(ucontext_t,uc_mcontext.__reserved)); in TEST()
75 offsetof(ucontext_t,uc_mcontext.gregs)); in TEST()
78 offsetof(ucontext_t,uc_mcontext.gregs[REG_##x])) in TEST()
100 offsetof(ucontext_t,uc_mcontext.fpregs)); in TEST()
103 offsetof(ucontext_t,__fpregs_mem)); in TEST()
[all …]
/external/google-breakpad/src/client/linux/dump_writer_common/
Ducontext_reader.h45 static uintptr_t GetStackPointer(const ucontext_t* uc);
47 static uintptr_t GetInstructionPointer(const ucontext_t* uc);
53 static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc,
56 static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc,
59 static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc);
Ducontext_reader.cc43 uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) { in GetStackPointer()
47 uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { in GetInstructionPointer()
51 void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, in FillCPUContext()
91 uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) {
95 uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) {
99 void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc,
148 uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) {
152 uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) {
156 void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc) {
187 uintptr_t UContextReader::GetStackPointer(const ucontext_t* uc) {
[all …]
/external/linux-kselftest/tools/testing/selftests/x86/
Dsyscall_arg_fault.c69 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigsegv_or_sigbus()
93 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigtrap()
110 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigill()
Dsysret_rip.c71 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigsegv_for_sigreturn_test()
87 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigusr1()
115 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigsegv_for_fallthrough()
Dsigreturn.c307 static unsigned short *ssptr(ucontext_t *ctx) in ssptr()
313 static unsigned short *csptr(ucontext_t *ctx) in csptr()
323 static greg_t *ssptr(ucontext_t *ctx) in ssptr()
328 static greg_t *csptr(ucontext_t *ctx) in csptr()
394 static void validate_signal_ss(int sig, ucontext_t *ctx) in validate_signal_ss()
440 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigusr1()
480 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigtrap()
525 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigusr2()
/external/rust/crates/libc/src/fuchsia/
Dx86_64.rs68 pub struct ucontext_t {
70 pub uc_link: *mut ucontext_t,
80 impl PartialEq for ucontext_t {
81 fn eq(&self, other: &ucontext_t) -> bool {
94 impl Eq for ucontext_t {}
95 impl ::fmt::Debug for ucontext_t {
107 impl ::hash::Hash for ucontext_t {
/external/linux-kselftest/tools/testing/selftests/powerpc/tm/
Dtm-signal-context-force-tm.c45 ucontext_t init_context, main_context;
51 ucontext_t *ucp = uc; in usr_signal_handler()
59 ucp->uc_link = mmap(NULL, sizeof(ucontext_t), in usr_signal_handler()
68 ret = madvise(ucp->uc_link, sizeof(ucontext_t), MADV_DONTNEED); in usr_signal_handler()
Dtm-signal-sigreturn-nt.c22 ucontext_t *ucp = (ucontext_t *) uc; in trap_signal_handler()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux.cc1266 static bool Aarch64GetESR(ucontext_t *ucontext, u64 *esr) { in Aarch64GetESR()
1283 ucontext_t *ucontext = (ucontext_t *)context; in GetWriteFlag()
1313 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp()
1318 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp()
1323 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp()
1330 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp()
1335 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp()
1342 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp()
1347 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp()
1353 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp()
[all …]
/external/linux-kselftest/tools/testing/selftests/powerpc/signal/
Dsigfuz.c62 static ucontext_t *tmp_uc;
91 ucontext_t *ucp = uc; in trap_signal_handler()
102 memset(ucp->uc_link, rand(), sizeof(ucontext_t)); in trap_signal_handler()
104 memcpy(ucp->uc_link, uc, sizeof(ucontext_t)); in trap_signal_handler()
110 tmp_uc = malloc(sizeof(ucontext_t)); in trap_signal_handler()
113 madvise(ucp->uc_link, sizeof(ucontext_t), MADV_DONTNEED); in trap_signal_handler()
205 tmp_uc = malloc(sizeof(ucontext_t)); in sigfuz_test()
/external/linux-kselftest/tools/testing/selftests/arm64/signal/
Dtest_signals.h74 ucontext_t saved_uc;
77 ucontext_t *live_uc;
94 int (*run)(struct tdescr *td, siginfo_t *si, ucontext_t *uc);
/external/rust/crates/nix/src/
Ducontext.rs12 context: libc::ucontext_t,
18 let mut context = mem::MaybeUninit::<libc::ucontext_t>::uninit(); in get()
28 libc::setcontext(&self.context as *const libc::ucontext_t) in set()
/external/openscreen/third_party/abseil/src/absl/debugging/internal/
Dexamine_stack.cc46 ucontext_t* context = reinterpret_cast<ucontext_t*>(vuc); in GetProgramCounter()
75 ucontext_t* signal_ucontext = reinterpret_cast<ucontext_t*>(vuc); in GetProgramCounter()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/debugging/internal/
Dexamine_stack.cc46 ucontext_t* context = reinterpret_cast<ucontext_t*>(vuc); in GetProgramCounter()
75 ucontext_t* signal_ucontext = reinterpret_cast<ucontext_t*>(vuc); in GetProgramCounter()
/external/libtextclassifier/abseil-cpp/absl/debugging/internal/
Dexamine_stack.cc46 ucontext_t* context = reinterpret_cast<ucontext_t*>(vuc); in GetProgramCounter()
75 ucontext_t* signal_ucontext = reinterpret_cast<ucontext_t*>(vuc); in GetProgramCounter()
/external/compiler-rt/lib/asan/
Dasan_linux.cc54 #define ucontext_t xucontext_t macro
160 ucontext_t *ucp = (ucontext_t*)context; in ReadContextStack()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux.cpp1796 static bool Aarch64GetESR(ucontext_t *ucontext, u64 *esr) { in Aarch64GetESR()
1812 using Context = ucontext_t;
2021 ucontext_t *ucontext = (ucontext_t *)context; in GetPcSpBp()
2026 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp()
2031 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp()
2036 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp()
2043 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp()
2048 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp()
2055 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp()
2060 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp()
[all …]
/external/rust/crates/libc/src/unix/linux_like/linux/musl/b64/aarch64/
Dalign.rs10 pub struct ucontext_t {
12 pub uc_link: *mut ucontext_t,
/external/rust/crates/libc/src/unix/linux_like/android/b64/aarch64/
Dalign.rs10 pub struct ucontext_t {
12 pub uc_link: *mut ucontext_t,
/external/rust/crates/libc/src/unix/linux_like/linux/gnu/b64/aarch64/
Dalign.rs10 pub struct ucontext_t {
12 pub uc_link: *mut ucontext_t,
/external/ltp/testcases/cve/
Dcve-2015-3290.c148 static unsigned short *ssptr(ucontext_t *ctx) in ssptr()
155 static unsigned short *csptr(ucontext_t *ctx) in csptr()
167 static greg_t *ssptr(ucontext_t *ctx) in ssptr()
173 static greg_t *csptr(ucontext_t *ctx) in csptr()
/external/llvm-project/compiler-rt/test/lsan/TestCases/
Dswapcontext.cpp28 ucontext_t orig_context; in main()
29 ucontext_t child_context; in main()
/external/compiler-rt/test/lsan/TestCases/
Dswapcontext.cc31 ucontext_t orig_context; in main()
32 ucontext_t child_context; in main()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_linux.cpp71 ucontext_t *ucp = (ucontext_t *)context; in ReadContextStack()

1234567