Lines Matching refs:iregs
246 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40005510; in TEST_F()
247 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = stack_section.start().Value(); in TEST_F()
273 EXPECT_EQ(return_address1, frame1->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
274 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
281 EXPECT_EQ(return_address2, frame2->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
282 EXPECT_EQ(frame2_sp.Value(), frame2->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
310 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40000200; in TEST_F()
311 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = stack_section.start().Value(); in TEST_F()
344 EXPECT_EQ(return_address, frame1->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
345 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
383 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40005510; in TEST_F()
384 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = stack_section.start().Value(); in TEST_F()
410 EXPECT_EQ(return_address1, frame1->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
411 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
445 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40005510; in TEST_F()
446 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = stack_section.start().Value(); in TEST_F()
513 expected.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40005510; in CFIFixture()
514 expected.iregs[MD_CONTEXT_ARM_REG_SP] = 0x80000000; in CFIFixture()
515 expected.iregs[4] = 0xb5d55e68; in CFIFixture()
516 expected.iregs[5] = 0xebd134f3; in CFIFixture()
517 expected.iregs[6] = 0xa31e74bc; in CFIFixture()
518 expected.iregs[7] = 0x2dcb16b3; in CFIFixture()
519 expected.iregs[8] = 0x2ada2137; in CFIFixture()
520 expected.iregs[9] = 0xbbbb557d; in CFIFixture()
521 expected.iregs[10] = 0x48bf8ca7; in CFIFixture()
522 expected.iregs[MD_CONTEXT_ARM_REG_FP] = 0x8112e110; in CFIFixture()
553 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = stack_section.start().Value(); in CheckWalk()
578 EXPECT_EQ(expected.iregs[1], frame1->context.iregs[1]); in CheckWalk()
580 EXPECT_EQ(expected.iregs[4], frame1->context.iregs[4]); in CheckWalk()
582 EXPECT_EQ(expected.iregs[5], frame1->context.iregs[5]); in CheckWalk()
584 EXPECT_EQ(expected.iregs[6], frame1->context.iregs[6]); in CheckWalk()
586 EXPECT_EQ(expected.iregs[7], frame1->context.iregs[7]); in CheckWalk()
588 EXPECT_EQ(expected.iregs[8], frame1->context.iregs[8]); in CheckWalk()
590 EXPECT_EQ(expected.iregs[9], frame1->context.iregs[9]); in CheckWalk()
592 EXPECT_EQ(expected.iregs[10], frame1->context.iregs[10]); in CheckWalk()
594 EXPECT_EQ(expected.iregs[MD_CONTEXT_ARM_REG_FP], in CheckWalk()
595 frame1->context.iregs[MD_CONTEXT_ARM_REG_FP]); in CheckWalk()
599 EXPECT_EQ(expected.iregs[MD_CONTEXT_ARM_REG_SP], in CheckWalk()
600 frame1->context.iregs[MD_CONTEXT_ARM_REG_SP]); in CheckWalk()
601 EXPECT_EQ(expected.iregs[MD_CONTEXT_ARM_REG_PC], in CheckWalk()
602 frame1->context.iregs[MD_CONTEXT_ARM_REG_PC]); in CheckWalk()
603 EXPECT_EQ(expected.iregs[MD_CONTEXT_ARM_REG_PC], in CheckWalk()
621 stack_section.start() = expected.iregs[MD_CONTEXT_ARM_REG_SP]; in TEST_F()
622 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40004000; in TEST_F()
623 raw_context.iregs[MD_CONTEXT_ARM_REG_LR] = 0x40005510; in TEST_F()
628 Label frame1_sp = expected.iregs[MD_CONTEXT_ARM_REG_SP]; in TEST_F()
634 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40004001; in TEST_F()
635 raw_context.iregs[4] = 0x635adc9f; // distinct callee r4 in TEST_F()
636 raw_context.iregs[MD_CONTEXT_ARM_REG_FP] = 0xbe145fc4; // distinct callee fp in TEST_F()
644 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40004001; in TEST_F()
645 raw_context.iregs[MD_CONTEXT_ARM_REG_FP] = 0xbe145fc4; // distinct callee fp in TEST_F()
646 Label frame1_sp = expected.iregs[MD_CONTEXT_ARM_REG_SP]; in TEST_F()
660 Label frame1_sp = expected.iregs[MD_CONTEXT_ARM_REG_SP]; in TEST_F()
666 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40004002; in TEST_F()
667 raw_context.iregs[0] = 0xb5d55e68; // saved r4 in TEST_F()
668 raw_context.iregs[1] = 0xebd134f3; // saved r5 in TEST_F()
669 raw_context.iregs[2] = 0xa31e74bc; // saved r6 in TEST_F()
670 raw_context.iregs[3] = 0x2dcb16b3; // saved r7 in TEST_F()
671 raw_context.iregs[4] = 0xfdd35466; // distinct callee r4 in TEST_F()
672 raw_context.iregs[5] = 0xf18c946c; // distinct callee r5 in TEST_F()
673 raw_context.iregs[6] = 0xac2079e8; // distinct callee r6 in TEST_F()
674 raw_context.iregs[7] = 0xa449829f; // distinct callee r7 in TEST_F()
675 raw_context.iregs[MD_CONTEXT_ARM_REG_FP] = 0xbe145fc4; // distinct callee fp in TEST_F()
680 Label frame1_sp = expected.iregs[MD_CONTEXT_ARM_REG_SP]; in TEST_F()
687 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40004003; in TEST_F()
688 raw_context.iregs[1] = 0xfb756319; // distinct callee r1 in TEST_F()
689 raw_context.iregs[MD_CONTEXT_ARM_REG_FP] = 0x0a2857ea; // distinct callee fp in TEST_F()
690 expected.iregs[1] = 0x48c8dd5a; // caller's r1 in TEST_F()
698 Label frame1_sp = expected.iregs[MD_CONTEXT_ARM_REG_SP]; in TEST_F()
705 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40004004; in TEST_F()
706 raw_context.iregs[1] = 0xfb756319; // distinct callee r1 in TEST_F()
707 expected.iregs[1] = 0x48c8dd5a; // caller's r1 in TEST_F()
715 Label frame1_sp = expected.iregs[MD_CONTEXT_ARM_REG_SP]; in TEST_F()
722 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40004005; in TEST_F()
723 raw_context.iregs[1] = 0xfb756319; // distinct callee r1 in TEST_F()
724 expected.iregs[1] = 0x48c8dd5a; // caller's r1 in TEST_F()
732 Label frame1_sp = expected.iregs[MD_CONTEXT_ARM_REG_SP]; in TEST_F()
740 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40004006; in TEST_F()
741 raw_context.iregs[1] = 0xfb756319; // callee's r1, different from caller's in TEST_F()
742 expected.iregs[1] = 0x48c8dd5a; // caller's r1 in TEST_F()
750 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40006000; in TEST_F()
751 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = 0x80000000; in TEST_F()
752 raw_context.iregs[MD_CONTEXT_ARM_REG_LR] = 0x40005510; in TEST_F()
768 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40007000; in TEST_F()
769 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = 0x80000000; in TEST_F()
831 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40005510; in TEST_F()
832 raw_context.iregs[MD_CONTEXT_ARM_REG_LR] = return_address1; in TEST_F()
833 raw_context.iregs[MD_CONTEXT_ARM_REG_IOS_FP] = frame1_fp.Value(); in TEST_F()
834 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = stack_section.start().Value(); in TEST_F()
863 EXPECT_EQ(return_address1, frame1->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
864 EXPECT_EQ(return_address2, frame1->context.iregs[MD_CONTEXT_ARM_REG_LR]); in TEST_F()
865 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
867 frame1->context.iregs[MD_CONTEXT_ARM_REG_IOS_FP]); in TEST_F()
876 EXPECT_EQ(return_address2, frame2->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
877 EXPECT_EQ(0U, frame2->context.iregs[MD_CONTEXT_ARM_REG_LR]); in TEST_F()
878 EXPECT_EQ(frame2_sp.Value(), frame2->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
879 EXPECT_EQ(0U, frame2->context.iregs[MD_CONTEXT_ARM_REG_IOS_FP]); in TEST_F()
928 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x50000400; in TEST_F()
929 raw_context.iregs[MD_CONTEXT_ARM_REG_LR] = return_address1; in TEST_F()
930 raw_context.iregs[MD_CONTEXT_ARM_REG_IOS_FP] = frame1_fp.Value(); in TEST_F()
931 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = stack_section.start().Value(); in TEST_F()
959 EXPECT_EQ(return_address1, frame1->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
960 EXPECT_EQ(return_address2, frame1->context.iregs[MD_CONTEXT_ARM_REG_LR]); in TEST_F()
961 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
963 frame1->context.iregs[MD_CONTEXT_ARM_REG_IOS_FP]); in TEST_F()
975 EXPECT_EQ(return_address2, frame2->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
976 EXPECT_EQ(0U, frame2->context.iregs[MD_CONTEXT_ARM_REG_LR]); in TEST_F()
977 EXPECT_EQ(frame2_sp.Value(), frame2->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
978 EXPECT_EQ(0U, frame2->context.iregs[MD_CONTEXT_ARM_REG_IOS_FP]); in TEST_F()