Home | History | Annotate | Download | only in handler

Lines Matching refs:context_ptr

478   MDRawContextARM *context_ptr = context.get();
479 context_ptr->context_flags = MD_CONTEXT_ARM_FULL;
481 #define AddGPR(a) context_ptr->iregs[a] = REGISTER_FROM_THREADSTATE(machine_state, r[a])
483 context_ptr->iregs[13] = REGISTER_FROM_THREADSTATE(machine_state, sp);
484 context_ptr->iregs[14] = REGISTER_FROM_THREADSTATE(machine_state, lr);
485 context_ptr->iregs[15] = REGISTER_FROM_THREADSTATE(machine_state, pc);
486 context_ptr->cpsr = REGISTER_FROM_THREADSTATE(machine_state, cpsr);
536 MDRawContextARM64 *context_ptr = context.get();
537 context_ptr->context_flags = MD_CONTEXT_ARM64_FULL;
539 #define AddGPR(a) context_ptr->iregs[a] = \
542 context_ptr->iregs[29] = REGISTER_FROM_THREADSTATE(machine_state, fp);
543 context_ptr->iregs[30] = REGISTER_FROM_THREADSTATE(machine_state, lr);
544 context_ptr->iregs[31] = REGISTER_FROM_THREADSTATE(machine_state, sp);
545 context_ptr->iregs[32] = REGISTER_FROM_THREADSTATE(machine_state, pc);
546 context_ptr->cpsr = REGISTER_FROM_THREADSTATE(machine_state, cpsr);
627 MDRawContextPPC *context_ptr = context.get();
628 context_ptr->context_flags = MD_CONTEXT_PPC_BASE;
630 #define AddReg(a) context_ptr->a = static_cast<__typeof__(context_ptr->a)>( \
632 #define AddGPR(a) context_ptr->gpr[a] = \
633 static_cast<__typeof__(context_ptr->a)>( \
693 MDRawContextPPC64 *context_ptr = context.get();
694 context_ptr->context_flags = MD_CONTEXT_PPC_BASE;
696 #define AddReg(a) context_ptr->a = static_cast<__typeof__(context_ptr->a)>( \
698 #define AddGPR(a) context_ptr->gpr[a] = \
699 static_cast<__typeof__(context_ptr->a)>( \
796 MDRawContextX86 *context_ptr = context.get();
798 #define AddReg(a) context_ptr->a = static_cast<__typeof__(context_ptr->a)>( \
801 context_ptr->context_flags = MD_CONTEXT_X86;
836 MDRawContextAMD64 *context_ptr = context.get();
838 #define AddReg(a) context_ptr->a = static_cast<__typeof__(context_ptr->a)>( \
841 context_ptr->context_flags = MD_CONTEXT_AMD64;
863 context_ptr->eflags = static_cast<uint32_t>(REGISTER_FROM_THREADSTATE(machine_state, rflags));