/external/google-breakpad/src/processor/ |
D | minidump_unittest.cc | 227 MDRawContextX86 raw_context; in TEST() local 229 raw_context.context_flags = MD_CONTEXT_X86_INTEGER | MD_CONTEXT_X86_CONTROL; in TEST() 230 raw_context.edi = 0x3ecba80d; in TEST() 231 raw_context.esi = 0x382583b9; in TEST() 232 raw_context.ebx = 0x7fccc03f; in TEST() 233 raw_context.edx = 0xf62f8ec2; in TEST() 234 raw_context.ecx = 0x46a6a6a8; in TEST() 235 raw_context.eax = 0x6a5025e2; in TEST() 236 raw_context.ebp = 0xd9fabb4a; in TEST() 237 raw_context.eip = kExpectedEIP; in TEST() [all …]
|
D | stackwalker_mips_unittest.cc | 87 BrandContext(&raw_context); in StackwalkerMIPSFixture() 126 void BrandContext(MDRawContextMIPS* raw_context) { in BrandContext() argument 128 for (size_t i = 0; i < sizeof(*raw_context); ++i) in BrandContext() 129 reinterpret_cast<uint8_t*>(raw_context)[i] = (x += 17); in BrandContext() 133 MDRawContextMIPS raw_context; member in StackwalkerMIPSFixture 148 raw_context.context_flags = raw_context.context_flags | MD_CONTEXT_MIPS_FULL; in TEST_F() 152 raw_context.epc = 0x00400020; in TEST_F() 153 raw_context.iregs[MD_CONTEXT_MIPS_REG_SP] = 0x80000000; in TEST_F() 156 StackwalkerMIPS walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() 171 EXPECT_EQ(0, memcmp(&raw_context, &frame->context, sizeof(raw_context))); in TEST_F() [all …]
|
D | stackwalker_mips64_unittest.cc | 88 BrandContext(&raw_context); in StackwalkerMIPSFixture() 127 void BrandContext(MDRawContextMIPS* raw_context) { in BrandContext() argument 129 for (size_t i = 0; i < sizeof(*raw_context); ++i) in BrandContext() 130 reinterpret_cast<uint8_t*>(raw_context)[i] = (x += 17); in BrandContext() 134 MDRawContextMIPS raw_context; member in StackwalkerMIPSFixture 149 raw_context.context_flags = in TEST_F() 150 raw_context.context_flags | MD_CONTEXT_MIPS64_FULL; in TEST_F() 154 raw_context.epc = 0x00400020; in TEST_F() 155 raw_context.iregs[MD_CONTEXT_MIPS_REG_SP] = 0x80000000; in TEST_F() 158 StackwalkerMIPS walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() [all …]
|
D | stackwalker_amd64_unittest.cc | 86 BrandContext(&raw_context); in StackwalkerAMD64Fixture() 125 void BrandContext(MDRawContextAMD64 *raw_context) { in BrandContext() argument 127 for (size_t i = 0; i < sizeof(*raw_context); i++) in BrandContext() 128 reinterpret_cast<uint8_t *>(raw_context)[i] = (x += 17); in BrandContext() 132 MDRawContextAMD64 raw_context; member in StackwalkerAMD64Fixture 153 raw_context.rip = 0x00007400c0000200ULL; in TEST_F() 154 raw_context.rbp = 0x8000000080000000ULL; in TEST_F() 157 StackwalkerAMD64 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() 172 EXPECT_EQ(0, memcmp(&raw_context, &frame->context, sizeof(raw_context))); in TEST_F() 180 raw_context.rip = 0x00007400c0000200ULL; in TEST_F() [all …]
|
D | stackwalker_arm64_unittest.cc | 87 BrandContext(&raw_context); in StackwalkerARM64Fixture() 126 void BrandContext(MDRawContextARM64 *raw_context) { in BrandContext() argument 128 for (size_t i = 0; i < sizeof(*raw_context); i++) in BrandContext() 129 reinterpret_cast<uint8_t *>(raw_context)[i] = (x += 17); in BrandContext() 133 MDRawContextARM64 raw_context; member in StackwalkerARM64Fixture 151 StackwalkerARM64 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() 165 EXPECT_EQ(0, memcmp(&raw_context, &frame->context, sizeof(raw_context))); in TEST_F() 174 StackwalkerARM64 walker(&system_info, &raw_context, NULL, &modules, in TEST_F() 187 EXPECT_EQ(0, memcmp(&raw_context, &frame->context, sizeof(raw_context))); in TEST_F() 223 raw_context.iregs[MD_CONTEXT_ARM64_REG_PC] = 0x40005510; in TEST_F() [all …]
|
D | stackwalker_arm_unittest.cc | 88 BrandContext(&raw_context); in StackwalkerARMFixture() 127 void BrandContext(MDRawContextARM *raw_context) { in BrandContext() argument 129 for (size_t i = 0; i < sizeof(*raw_context); i++) in BrandContext() 130 reinterpret_cast<uint8_t *>(raw_context)[i] = (x += 17); in BrandContext() 134 MDRawContextARM raw_context; member in StackwalkerARMFixture 153 StackwalkerARM walker(&system_info, &raw_context, -1, &stack_region, &modules, in TEST_F() 167 EXPECT_EQ(0, memcmp(&raw_context, &frame->context, sizeof(raw_context))); in TEST_F() 177 StackwalkerARM walker(&system_info, &raw_context, -1, &stack_region, &modules, in TEST_F() 190 EXPECT_EQ(0, memcmp(&raw_context, &frame->context, sizeof(raw_context))); in TEST_F() 197 StackwalkerARM walker(&system_info, &raw_context, -1, NULL, &modules, in TEST_F() [all …]
|
D | stackwalker_x86_unittest.cc | 91 BrandContext(&raw_context); in StackwalkerX86Fixture() 134 void BrandContext(MDRawContextX86 *raw_context) { in BrandContext() argument 136 for (size_t i = 0; i < sizeof(*raw_context); i++) in BrandContext() 137 reinterpret_cast<uint8_t *>(raw_context)[i] = (x += 17); in BrandContext() 141 MDRawContextX86 raw_context; member in StackwalkerX86Fixture 163 raw_context.eip = 0x40000200; in TEST_F() 164 raw_context.ebp = 0x80000000; in TEST_F() 167 StackwalkerX86 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() 181 EXPECT_EQ(0, memcmp(&raw_context, &frame->context, sizeof(raw_context))); in TEST_F() 190 raw_context.eip = 0x40000200; in TEST_F() [all …]
|
D | exploitability_unittest.cc | 283 MDRawContextAMD64 raw_context; in TEST() local 284 raw_context.rdx = 12345; in TEST() 285 ExploitabilityLinuxTestMinidumpContext context(raw_context); in TEST()
|