/external/libunwind/src/ppc32/ |
H A D | ucontext_i.h | 49 #define UC_MCONTEXT_GREGS_R0 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[0] - (void *)&dmy_ctxt) 50 #define UC_MCONTEXT_GREGS_R1 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[1] - (void *)&dmy_ctxt) 51 #define UC_MCONTEXT_GREGS_R2 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[2] - (void *)&dmy_ctxt) 52 #define UC_MCONTEXT_GREGS_R3 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[3] - (void *)&dmy_ctxt) 53 #define UC_MCONTEXT_GREGS_R4 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[4] - (void *)&dmy_ctxt) 54 #define UC_MCONTEXT_GREGS_R5 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[5] - (void *)&dmy_ctxt) 55 #define UC_MCONTEXT_GREGS_R6 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[6] - (void *)&dmy_ctxt) 56 #define UC_MCONTEXT_GREGS_R7 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[7] - (void *)&dmy_ctxt) 57 #define UC_MCONTEXT_GREGS_R8 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[8] - (void *)&dmy_ctxt) 58 #define UC_MCONTEXT_GREGS_R9 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[ [all...] |
/external/valgrind/coregrind/m_sigframe/ |
H A D | sigframe-tilegx-linux.c | 79 sc->gregs[0] = tst->arch.vex.guest_r0; 80 sc->gregs[1] = tst->arch.vex.guest_r1; 81 sc->gregs[2] = tst->arch.vex.guest_r2; 82 sc->gregs[3] = tst->arch.vex.guest_r3; 83 sc->gregs[4] = tst->arch.vex.guest_r4; 84 sc->gregs[5] = tst->arch.vex.guest_r5; 85 sc->gregs[6] = tst->arch.vex.guest_r6; 86 sc->gregs[7] = tst->arch.vex.guest_r7; 87 sc->gregs[8] = tst->arch.vex.guest_r8; 88 sc->gregs[ [all...] |
/external/libunwind/src/sh/ |
H A D | Gresume.c | 44 regs[0] = uc->uc_mcontext.gregs[8]; 45 regs[1] = uc->uc_mcontext.gregs[9]; 46 regs[2] = uc->uc_mcontext.gregs[10]; 47 regs[3] = uc->uc_mcontext.gregs[11]; 48 regs[4] = uc->uc_mcontext.gregs[12]; 49 regs[5] = uc->uc_mcontext.gregs[13]; 50 regs[6] = uc->uc_mcontext.gregs[14]; 51 regs[7] = uc->uc_mcontext.gregs[15]; 81 sc->sc_regs[0] = uc->uc_mcontext.gregs[0]; 82 sc->sc_regs[1] = uc->uc_mcontext.gregs[ [all...] |
/external/valgrind/memcheck/tests/amd64-solaris/ |
H A D | context_gpr.c | 25 ucp->uc_mcontext.gregs[REG_RCX] = x0; 28 *(uintptr_t*)&ucp->uc_mcontext.gregs[REG_RIP] = (uintptr_t)break_out; 79 uc.uc_mcontext.gregs[REG_RAX], uc.uc_mcontext.gregs[REG_RCX], 80 uc.uc_mcontext.gregs[REG_RDX], uc.uc_mcontext.gregs[REG_RSI], 81 uc.uc_mcontext.gregs[REG_RDI]); 83 if (uc.uc_mcontext.gregs[REG_RBX])
|
H A D | context_rflags2.c | 34 *(uintptr_t*)&ucp->uc_mcontext.gregs[REG_RIP] = (uintptr_t)break_out; 80 if (!OBIT(uc.uc_mcontext.gregs[REG_RFL]) || 81 !SBIT(uc.uc_mcontext.gregs[REG_RFL]))
|
H A D | context_rflags.c | 59 OBIT(uc.uc_mcontext.gregs[REG_RFL]), 60 SBIT(uc.uc_mcontext.gregs[REG_RFL]));
|
/external/libunwind/src/x86_64/ |
H A D | Gos-linux.c | 113 case UNW_X86_64_R8: addr = &uc->uc_mcontext.gregs[REG_R8]; break; 114 case UNW_X86_64_R9: addr = &uc->uc_mcontext.gregs[REG_R9]; break; 115 case UNW_X86_64_R10: addr = &uc->uc_mcontext.gregs[REG_R10]; break; 116 case UNW_X86_64_R11: addr = &uc->uc_mcontext.gregs[REG_R11]; break; 117 case UNW_X86_64_R12: addr = &uc->uc_mcontext.gregs[REG_R12]; break; 118 case UNW_X86_64_R13: addr = &uc->uc_mcontext.gregs[REG_R13]; break; 119 case UNW_X86_64_R14: addr = &uc->uc_mcontext.gregs[REG_R14]; break; 120 case UNW_X86_64_R15: addr = &uc->uc_mcontext.gregs[REG_R15]; break; 121 case UNW_X86_64_RDI: addr = &uc->uc_mcontext.gregs[REG_RDI]; break; 122 case UNW_X86_64_RSI: addr = &uc->uc_mcontext.gregs[REG_RS [all...] |
/external/valgrind/coregrind/m_syswrap/ |
H A D | syswrap-amd64-solaris.c | 104 uc->uc_mcontext.gregs[VKI_REG_RDI] = (UWord)tst; /* the parameter */ 105 uc->uc_mcontext.gregs[VKI_REG_RIP] = (UWord)ML_(start_thread_NORETURN); 106 uc->uc_mcontext.gregs[VKI_REG_RSP] = (UWord)stack; 120 uc->uc_mcontext.gregs[VKI_REG_RIP] = tst->arch.vex.guest_RIP; 122 (Addr)&uc->uc_mcontext.gregs[VKI_REG_RIP], sizeof(UWord)); 123 uc->uc_mcontext.gregs[VKI_REG_RAX] = tst->arch.vex.guest_RAX; 125 (Addr)&uc->uc_mcontext.gregs[VKI_REG_RAX], sizeof(UWord)); 126 uc->uc_mcontext.gregs[VKI_REG_RBX] = tst->arch.vex.guest_RBX; 128 (Addr)&uc->uc_mcontext.gregs[VKI_REG_RBX], sizeof(UWord)); 129 uc->uc_mcontext.gregs[VKI_REG_RC [all...] |
H A D | syswrap-x86-solaris.c | 112 uc->uc_mcontext.gregs[VKI_EIP] = (UWord)ML_(start_thread_NORETURN); 113 uc->uc_mcontext.gregs[VKI_UESP] = (UWord)stack; 125 uc->uc_mcontext.gregs[VKI_CS] = cs; 126 uc->uc_mcontext.gregs[VKI_DS] = ds; 127 uc->uc_mcontext.gregs[VKI_SS] = ss; 128 uc->uc_mcontext.gregs[VKI_ES] = es; 129 uc->uc_mcontext.gregs[VKI_FS] = fs; 130 uc->uc_mcontext.gregs[VKI_GS] = gs; 144 uc->uc_mcontext.gregs[VKI_EIP] = tst->arch.vex.guest_EIP; 146 (Addr)&uc->uc_mcontext.gregs[VKI_EI [all...] |
/external/valgrind/memcheck/tests/x86-solaris/ |
H A D | context_gpr.c | 21 ucp->uc_mcontext.gregs[ECX] = x0; 77 uc.uc_mcontext.gregs[EAX], uc.uc_mcontext.gregs[EDX], 78 uc.uc_mcontext.gregs[ESI], uc.uc_mcontext.gregs[EDI]); 80 if (uc.uc_mcontext.gregs[EBX])
|
H A D | context_eflags2.c | 25 *(uintptr_t*)&ucp->uc_mcontext.gregs[EIP] = (uintptr_t)break_out; 71 if (!OBIT(uc.uc_mcontext.gregs[EFL]) || !SBIT(uc.uc_mcontext.gregs[EFL]))
|
H A D | context_eflags.c | 64 OBIT(uc.uc_mcontext.gregs[EFL]), SBIT(uc.uc_mcontext.gregs[EFL]));
|
/external/elfutils/backends/ |
H A D | aarch64_initreg.c | 59 struct user_regs_struct gregs; 61 iovec.iov_base = &gregs; 62 iovec.iov_len = sizeof (gregs); 67 if (! setfunc (0, 32, (Dwarf_Word *) &gregs.regs[0], arg)) 71 if (! setfunc (-1, 1, (Dwarf_Word *) &gregs.pc, arg))
|
H A D | arm_initreg.c | 74 struct user_regs_struct gregs; 76 iovec.iov_base = &gregs; 77 iovec.iov_len = sizeof (gregs); 83 uint32_t *u32_ptr = (uint32_t *) &gregs.regs[0];
|
/external/libchrome/base/debug/ |
H A D | stack_trace_posix.cc | 316 { " gs: ", context->uc_mcontext.gregs[REG_GS] }, 317 { " fs: ", context->uc_mcontext.gregs[REG_FS] }, 318 { " es: ", context->uc_mcontext.gregs[REG_ES] }, 319 { " ds: ", context->uc_mcontext.gregs[REG_DS] }, 320 { " edi: ", context->uc_mcontext.gregs[REG_EDI] }, 321 { " esi: ", context->uc_mcontext.gregs[REG_ESI] }, 322 { " ebp: ", context->uc_mcontext.gregs[REG_EBP] }, 323 { " esp: ", context->uc_mcontext.gregs[REG_ESP] }, 324 { " ebx: ", context->uc_mcontext.gregs[REG_EBX] }, 325 { " edx: ", context->uc_mcontext.gregs[REG_ED [all...] |
/external/libunwind/src/x86/ |
H A D | Gos-linux.c | 258 case UNW_X86_GS: addr = &uc->uc_mcontext.gregs[REG_GS]; break; 259 case UNW_X86_FS: addr = &uc->uc_mcontext.gregs[REG_FS]; break; 260 case UNW_X86_ES: addr = &uc->uc_mcontext.gregs[REG_ES]; break; 261 case UNW_X86_DS: addr = &uc->uc_mcontext.gregs[REG_DS]; break; 262 case UNW_X86_EAX: addr = &uc->uc_mcontext.gregs[REG_EAX]; break; 263 case UNW_X86_EBX: addr = &uc->uc_mcontext.gregs[REG_EBX]; break; 264 case UNW_X86_ECX: addr = &uc->uc_mcontext.gregs[REG_ECX]; break; 265 case UNW_X86_EDX: addr = &uc->uc_mcontext.gregs[REG_EDX]; break; 266 case UNW_X86_ESI: addr = &uc->uc_mcontext.gregs[REG_ESI]; break; 267 case UNW_X86_EDI: addr = &uc->uc_mcontext.gregs[REG_ED [all...] |
/external/valgrind/memcheck/tests/solaris/ |
H A D | thr_daemon_exit_standalone.c | 152 : [STACK_SEG] "=r" (ucontext.uc_mcontext.gregs[SS]) 155 ucontext.uc_mcontext.gregs[EIP] = (greg_t) thread_func; 156 ucontext.uc_mcontext.gregs[UESP] = (greg_t) stack; 157 ucontext.uc_mcontext.gregs[EBP] = (greg_t) stack; 159 ucontext.uc_mcontext.gregs[REG_SS] = UDS_SEL; 160 ucontext.uc_mcontext.gregs[REG_RIP] = (greg_t) thread_func; 161 ucontext.uc_mcontext.gregs[REG_RSP] = (greg_t) stack; 162 ucontext.uc_mcontext.gregs[REG_RBP] = (greg_t) stack;
|
H A D | context_stack_die.c | 12 sp = (int *) &ucp->uc_mcontext.gregs[0];
|
/external/libunwind/src/mips/ |
H A D | gen-offsets.c | 27 UC ("MCONTEXT_GREGS", uc_mcontext.gregs);
|
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/ |
H A D | resumption.c | 155 ctx->uc_mcontext.gregs[REG_ARG0], 156 ctx->uc_mcontext.gregs[REG_ARG1], 157 ctx->uc_mcontext.gregs[REG_ARG2], 158 ctx->uc_mcontext.gregs[REG_ARG3], 159 ctx->uc_mcontext.gregs[REG_ARG4], 160 ctx->uc_mcontext.gregs[REG_ARG5]); 163 if (ctx->uc_mcontext.gregs[REG_IP] >= 0xffffffffff600000ULL && 164 ctx->uc_mcontext.gregs[REG_IP] < 0xffffffffff601000ULL) 168 ctx->uc_mcontext.gregs[REG_SP] -= sizeof(unsigned long); 169 *((unsigned long *)ctx->uc_mcontext.gregs[REG_S [all...] |
H A D | sigsegv.c | 136 ctx->uc_mcontext.gregs[REG_ARG0], 137 ctx->uc_mcontext.gregs[REG_ARG1], 138 ctx->uc_mcontext.gregs[REG_ARG2], 139 ctx->uc_mcontext.gregs[REG_ARG3], 140 ctx->uc_mcontext.gregs[REG_ARG4], 141 ctx->uc_mcontext.gregs[REG_ARG5], 142 ALIGN(ctx->uc_mcontext.gregs[REG_IP], 4096)); 147 local_mprotect((void *)ctx->uc_mcontext.gregs[REG_IP], sysconf(_SC_PAGE_SIZE));
|
/external/valgrind/none/tests/x86-linux/ |
H A D | sigcontext.c | 16 if (uc->uc_mcontext.gregs[REG_EAX] != 0) 17 printf("FAILED: handler2 expected eax == 0, not %d\n", uc->uc_mcontext.gregs[REG_EAX]); 18 uc->uc_mcontext.gregs[REG_EAX] = VAL1;
|
/external/libchrome/sandbox/linux/system_headers/ |
H A D | i386_linux_ucontext.h | 50 uint32_t gregs[19]; member in struct:__anon9271
|
H A D | mips_linux_ucontext.h | 23 uint64_t gregs[32]; member in struct:__anon9274
|
/external/valgrind/memcheck/tests/amd64-linux/ |
H A D | int3-amd64.c | 16 void *pc = (void*)mc->gregs[REG_RIP];
|