Lines Matching refs:iregs
245 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40005510; in TEST_F()
246 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = stack_section.start().Value(); in TEST_F()
272 EXPECT_EQ(return_address1, frame1->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
273 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
280 EXPECT_EQ(return_address2, frame2->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
281 EXPECT_EQ(frame2_sp.Value(), frame2->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
309 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40000200; in TEST_F()
310 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = stack_section.start().Value(); in TEST_F()
343 EXPECT_EQ(return_address, frame1->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
344 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
382 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40005510; in TEST_F()
383 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = stack_section.start().Value(); in TEST_F()
409 EXPECT_EQ(return_address1, frame1->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
410 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
444 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40005510; in TEST_F()
445 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = stack_section.start().Value(); in TEST_F()
512 expected.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40005510; in CFIFixture()
513 expected.iregs[MD_CONTEXT_ARM_REG_SP] = 0x80000000; in CFIFixture()
514 expected.iregs[4] = 0xb5d55e68; in CFIFixture()
515 expected.iregs[5] = 0xebd134f3; in CFIFixture()
516 expected.iregs[6] = 0xa31e74bc; in CFIFixture()
517 expected.iregs[7] = 0x2dcb16b3; in CFIFixture()
518 expected.iregs[8] = 0x2ada2137; in CFIFixture()
519 expected.iregs[9] = 0xbbbb557d; in CFIFixture()
520 expected.iregs[10] = 0x48bf8ca7; in CFIFixture()
521 expected.iregs[MD_CONTEXT_ARM_REG_FP] = 0x8112e110; in CFIFixture()
552 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = stack_section.start().Value(); in CheckWalk()
577 EXPECT_EQ(expected.iregs[1], frame1->context.iregs[1]); in CheckWalk()
579 EXPECT_EQ(expected.iregs[4], frame1->context.iregs[4]); in CheckWalk()
581 EXPECT_EQ(expected.iregs[5], frame1->context.iregs[5]); in CheckWalk()
583 EXPECT_EQ(expected.iregs[6], frame1->context.iregs[6]); in CheckWalk()
585 EXPECT_EQ(expected.iregs[7], frame1->context.iregs[7]); in CheckWalk()
587 EXPECT_EQ(expected.iregs[8], frame1->context.iregs[8]); in CheckWalk()
589 EXPECT_EQ(expected.iregs[9], frame1->context.iregs[9]); in CheckWalk()
591 EXPECT_EQ(expected.iregs[10], frame1->context.iregs[10]); in CheckWalk()
593 EXPECT_EQ(expected.iregs[MD_CONTEXT_ARM_REG_FP], in CheckWalk()
594 frame1->context.iregs[MD_CONTEXT_ARM_REG_FP]); in CheckWalk()
598 EXPECT_EQ(expected.iregs[MD_CONTEXT_ARM_REG_SP], in CheckWalk()
599 frame1->context.iregs[MD_CONTEXT_ARM_REG_SP]); in CheckWalk()
600 EXPECT_EQ(expected.iregs[MD_CONTEXT_ARM_REG_PC], in CheckWalk()
601 frame1->context.iregs[MD_CONTEXT_ARM_REG_PC]); in CheckWalk()
602 EXPECT_EQ(expected.iregs[MD_CONTEXT_ARM_REG_PC], in CheckWalk()
620 stack_section.start() = expected.iregs[MD_CONTEXT_ARM_REG_SP]; in TEST_F()
621 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40004000; in TEST_F()
622 raw_context.iregs[MD_CONTEXT_ARM_REG_LR] = 0x40005510; in TEST_F()
627 Label frame1_sp = expected.iregs[MD_CONTEXT_ARM_REG_SP]; in TEST_F()
633 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40004001; in TEST_F()
634 raw_context.iregs[4] = 0x635adc9f; // distinct callee r4 in TEST_F()
635 raw_context.iregs[MD_CONTEXT_ARM_REG_FP] = 0xbe145fc4; // distinct callee fp in TEST_F()
643 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40004001; in TEST_F()
644 raw_context.iregs[MD_CONTEXT_ARM_REG_FP] = 0xbe145fc4; // distinct callee fp in TEST_F()
645 Label frame1_sp = expected.iregs[MD_CONTEXT_ARM_REG_SP]; in TEST_F()
659 Label frame1_sp = expected.iregs[MD_CONTEXT_ARM_REG_SP]; in TEST_F()
665 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40004002; in TEST_F()
666 raw_context.iregs[0] = 0xb5d55e68; // saved r4 in TEST_F()
667 raw_context.iregs[1] = 0xebd134f3; // saved r5 in TEST_F()
668 raw_context.iregs[2] = 0xa31e74bc; // saved r6 in TEST_F()
669 raw_context.iregs[3] = 0x2dcb16b3; // saved r7 in TEST_F()
670 raw_context.iregs[4] = 0xfdd35466; // distinct callee r4 in TEST_F()
671 raw_context.iregs[5] = 0xf18c946c; // distinct callee r5 in TEST_F()
672 raw_context.iregs[6] = 0xac2079e8; // distinct callee r6 in TEST_F()
673 raw_context.iregs[7] = 0xa449829f; // distinct callee r7 in TEST_F()
674 raw_context.iregs[MD_CONTEXT_ARM_REG_FP] = 0xbe145fc4; // distinct callee fp in TEST_F()
679 Label frame1_sp = expected.iregs[MD_CONTEXT_ARM_REG_SP]; in TEST_F()
686 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40004003; in TEST_F()
687 raw_context.iregs[1] = 0xfb756319; // distinct callee r1 in TEST_F()
688 raw_context.iregs[MD_CONTEXT_ARM_REG_FP] = 0x0a2857ea; // distinct callee fp in TEST_F()
689 expected.iregs[1] = 0x48c8dd5a; // caller's r1 in TEST_F()
697 Label frame1_sp = expected.iregs[MD_CONTEXT_ARM_REG_SP]; in TEST_F()
704 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40004004; in TEST_F()
705 raw_context.iregs[1] = 0xfb756319; // distinct callee r1 in TEST_F()
706 expected.iregs[1] = 0x48c8dd5a; // caller's r1 in TEST_F()
714 Label frame1_sp = expected.iregs[MD_CONTEXT_ARM_REG_SP]; in TEST_F()
721 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40004005; in TEST_F()
722 raw_context.iregs[1] = 0xfb756319; // distinct callee r1 in TEST_F()
723 expected.iregs[1] = 0x48c8dd5a; // caller's r1 in TEST_F()
731 Label frame1_sp = expected.iregs[MD_CONTEXT_ARM_REG_SP]; in TEST_F()
739 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40004006; in TEST_F()
740 raw_context.iregs[1] = 0xfb756319; // callee's r1, different from caller's in TEST_F()
741 expected.iregs[1] = 0x48c8dd5a; // caller's r1 in TEST_F()
749 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40006000; in TEST_F()
750 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = 0x80000000; in TEST_F()
751 raw_context.iregs[MD_CONTEXT_ARM_REG_LR] = 0x40005510; in TEST_F()
767 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40007000; in TEST_F()
768 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = 0x80000000; in TEST_F()
826 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40005510; in TEST_F()
827 raw_context.iregs[MD_CONTEXT_ARM_REG_LR] = return_address1; in TEST_F()
828 raw_context.iregs[MD_CONTEXT_ARM_REG_IOS_FP] = frame1_fp.Value(); in TEST_F()
829 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = stack_section.start().Value(); in TEST_F()
858 EXPECT_EQ(return_address1, frame1->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
859 EXPECT_EQ(return_address2, frame1->context.iregs[MD_CONTEXT_ARM_REG_LR]); in TEST_F()
860 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
862 frame1->context.iregs[MD_CONTEXT_ARM_REG_IOS_FP]); in TEST_F()
871 EXPECT_EQ(return_address2, frame2->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
872 EXPECT_EQ(0U, frame2->context.iregs[MD_CONTEXT_ARM_REG_LR]); in TEST_F()
873 EXPECT_EQ(frame2_sp.Value(), frame2->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
874 EXPECT_EQ(0U, frame2->context.iregs[MD_CONTEXT_ARM_REG_IOS_FP]); in TEST_F()
923 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x50000400; in TEST_F()
924 raw_context.iregs[MD_CONTEXT_ARM_REG_LR] = return_address1; in TEST_F()
925 raw_context.iregs[MD_CONTEXT_ARM_REG_IOS_FP] = frame1_fp.Value(); in TEST_F()
926 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = stack_section.start().Value(); in TEST_F()
954 EXPECT_EQ(return_address1, frame1->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
955 EXPECT_EQ(return_address2, frame1->context.iregs[MD_CONTEXT_ARM_REG_LR]); in TEST_F()
956 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
958 frame1->context.iregs[MD_CONTEXT_ARM_REG_IOS_FP]); in TEST_F()
970 EXPECT_EQ(return_address2, frame2->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
971 EXPECT_EQ(0U, frame2->context.iregs[MD_CONTEXT_ARM_REG_LR]); in TEST_F()
972 EXPECT_EQ(frame2_sp.Value(), frame2->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
973 EXPECT_EQ(0U, frame2->context.iregs[MD_CONTEXT_ARM_REG_IOS_FP]); in TEST_F()