• Home
  • Raw
  • Download

Lines Matching refs:raw_context

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()
238 raw_context.cs = 0xbffe6eda; in TEST()
239 raw_context.eflags = 0xb2ce1e2d; in TEST()
240 raw_context.esp = 0x659caaa4; in TEST()
241 raw_context.ss = 0x2e951ef7; in TEST()
242 Context context(dump, raw_context); in TEST()
299 EXPECT_EQ(0x3ecba80dU, raw_context.edi); in TEST()
300 EXPECT_EQ(0x382583b9U, raw_context.esi); in TEST()
301 EXPECT_EQ(0x7fccc03fU, raw_context.ebx); in TEST()
302 EXPECT_EQ(0xf62f8ec2U, raw_context.edx); in TEST()
303 EXPECT_EQ(0x46a6a6a8U, raw_context.ecx); in TEST()
304 EXPECT_EQ(0x6a5025e2U, raw_context.eax); in TEST()
305 EXPECT_EQ(0xd9fabb4aU, raw_context.ebp); in TEST()
306 EXPECT_EQ(kExpectedEIP, raw_context.eip); in TEST()
307 EXPECT_EQ(0xbffe6edaU, raw_context.cs); in TEST()
308 EXPECT_EQ(0xb2ce1e2dU, raw_context.eflags); in TEST()
309 EXPECT_EQ(0x659caaa4U, raw_context.esp); in TEST()
310 EXPECT_EQ(0x2e951ef7U, raw_context.ss); in TEST()
318 MDRawContextX86 raw_context; in TEST() local
319 memset(&raw_context, 0, sizeof(raw_context)); in TEST()
320 raw_context.context_flags = MD_CONTEXT_X86_INTEGER | MD_CONTEXT_X86_CONTROL; in TEST()
321 Context context(dump, raw_context); in TEST()
1052 MDRawContextX86 raw_context; in TEST() local
1053 raw_context.context_flags = MD_CONTEXT_X86_INTEGER | MD_CONTEXT_X86_CONTROL; in TEST()
1054 raw_context.edi = 0x3ecba80d; in TEST()
1055 raw_context.esi = 0x382583b9; in TEST()
1056 raw_context.ebx = 0x7fccc03f; in TEST()
1057 raw_context.edx = 0xf62f8ec2; in TEST()
1058 raw_context.ecx = 0x46a6a6a8; in TEST()
1059 raw_context.eax = 0x6a5025e2; in TEST()
1060 raw_context.ebp = 0xd9fabb4a; in TEST()
1061 raw_context.eip = 0x6913f540; in TEST()
1062 raw_context.cs = 0xbffe6eda; in TEST()
1063 raw_context.eflags = 0xb2ce1e2d; in TEST()
1064 raw_context.esp = 0x659caaa4; in TEST()
1065 raw_context.ss = 0x2e951ef7; in TEST()
1066 Context context(dump, raw_context); in TEST()
1108 EXPECT_EQ(0x3ecba80dU, raw_context.edi); in TEST()
1109 EXPECT_EQ(0x382583b9U, raw_context.esi); in TEST()
1110 EXPECT_EQ(0x7fccc03fU, raw_context.ebx); in TEST()
1111 EXPECT_EQ(0xf62f8ec2U, raw_context.edx); in TEST()
1112 EXPECT_EQ(0x46a6a6a8U, raw_context.ecx); in TEST()
1113 EXPECT_EQ(0x6a5025e2U, raw_context.eax); in TEST()
1114 EXPECT_EQ(0xd9fabb4aU, raw_context.ebp); in TEST()
1115 EXPECT_EQ(0x6913f540U, raw_context.eip); in TEST()
1116 EXPECT_EQ(0xbffe6edaU, raw_context.cs); in TEST()
1117 EXPECT_EQ(0xb2ce1e2dU, raw_context.eflags); in TEST()
1118 EXPECT_EQ(0x659caaa4U, raw_context.esp); in TEST()
1119 EXPECT_EQ(0x2e951ef7U, raw_context.ss); in TEST()
1125 MDRawContextX86 raw_context; in TEST() local
1126 raw_context.context_flags = MD_CONTEXT_X86_INTEGER | in TEST()
1128 raw_context.edi = 0x3ecba80d; in TEST()
1129 raw_context.esi = 0x382583b9; in TEST()
1130 raw_context.ebx = 0x7fccc03f; in TEST()
1131 raw_context.edx = 0xf62f8ec2; in TEST()
1132 raw_context.ecx = 0x46a6a6a8; in TEST()
1133 raw_context.eax = 0x6a5025e2; in TEST()
1134 raw_context.ebp = 0xd9fabb4a; in TEST()
1135 raw_context.eip = 0x6913f540; in TEST()
1136 raw_context.cs = 0xbffe6eda; in TEST()
1137 raw_context.eflags = 0xb2ce1e2d; in TEST()
1138 raw_context.esp = 0x659caaa4; in TEST()
1139 raw_context.ss = 0x2e951ef7; in TEST()
1140 Context context(dump, raw_context); in TEST()
1182 EXPECT_EQ(0x3ecba80dU, raw_context.edi); in TEST()
1183 EXPECT_EQ(0x382583b9U, raw_context.esi); in TEST()
1184 EXPECT_EQ(0x7fccc03fU, raw_context.ebx); in TEST()
1185 EXPECT_EQ(0xf62f8ec2U, raw_context.edx); in TEST()
1186 EXPECT_EQ(0x46a6a6a8U, raw_context.ecx); in TEST()
1187 EXPECT_EQ(0x6a5025e2U, raw_context.eax); in TEST()
1188 EXPECT_EQ(0xd9fabb4aU, raw_context.ebp); in TEST()
1189 EXPECT_EQ(0x6913f540U, raw_context.eip); in TEST()
1190 EXPECT_EQ(0xbffe6edaU, raw_context.cs); in TEST()
1191 EXPECT_EQ(0xb2ce1e2dU, raw_context.eflags); in TEST()
1192 EXPECT_EQ(0x659caaa4U, raw_context.esp); in TEST()
1193 EXPECT_EQ(0x2e951ef7U, raw_context.ss); in TEST()
1201 MDRawContextX86 raw_context; in TEST() local
1203 raw_context.context_flags = 0; in TEST()
1204 raw_context.edi = 0x3ecba80d; in TEST()
1205 raw_context.esi = 0x382583b9; in TEST()
1206 raw_context.ebx = 0x7fccc03f; in TEST()
1207 raw_context.edx = 0xf62f8ec2; in TEST()
1208 raw_context.ecx = 0x46a6a6a8; in TEST()
1209 raw_context.eax = 0x6a5025e2; in TEST()
1210 raw_context.ebp = 0xd9fabb4a; in TEST()
1211 raw_context.eip = 0x6913f540; in TEST()
1212 raw_context.cs = 0xbffe6eda; in TEST()
1213 raw_context.eflags = 0xb2ce1e2d; in TEST()
1214 raw_context.esp = 0x659caaa4; in TEST()
1215 raw_context.ss = 0x2e951ef7; in TEST()
1216 Context context(dump, raw_context); in TEST()
1271 EXPECT_EQ(0x3ecba80dU, raw_context.edi); in TEST()
1272 EXPECT_EQ(0x382583b9U, raw_context.esi); in TEST()
1273 EXPECT_EQ(0x7fccc03fU, raw_context.ebx); in TEST()
1274 EXPECT_EQ(0xf62f8ec2U, raw_context.edx); in TEST()
1275 EXPECT_EQ(0x46a6a6a8U, raw_context.ecx); in TEST()
1276 EXPECT_EQ(0x6a5025e2U, raw_context.eax); in TEST()
1277 EXPECT_EQ(0xd9fabb4aU, raw_context.ebp); in TEST()
1278 EXPECT_EQ(0x6913f540U, raw_context.eip); in TEST()
1279 EXPECT_EQ(0xbffe6edaU, raw_context.cs); in TEST()
1280 EXPECT_EQ(0xb2ce1e2dU, raw_context.eflags); in TEST()
1281 EXPECT_EQ(0x659caaa4U, raw_context.esp); in TEST()
1282 EXPECT_EQ(0x2e951ef7U, raw_context.ss); in TEST()
1292 MDRawContextX86 raw_context; in TEST() local
1294 raw_context.context_flags = 0; in TEST()
1295 raw_context.edi = 0x3ecba80d; in TEST()
1296 raw_context.esi = 0x382583b9; in TEST()
1297 raw_context.ebx = 0x7fccc03f; in TEST()
1298 raw_context.edx = 0xf62f8ec2; in TEST()
1299 raw_context.ecx = 0x46a6a6a8; in TEST()
1300 raw_context.eax = 0x6a5025e2; in TEST()
1301 raw_context.ebp = 0xd9fabb4a; in TEST()
1302 raw_context.eip = 0x6913f540; in TEST()
1303 raw_context.cs = 0xbffe6eda; in TEST()
1304 raw_context.eflags = 0xb2ce1e2d; in TEST()
1305 raw_context.esp = 0x659caaa4; in TEST()
1306 raw_context.ss = 0x2e951ef7; in TEST()
1307 Context context(dump, raw_context); in TEST()
1351 MDRawContextARM raw_context; in TEST() local
1352 raw_context.context_flags = MD_CONTEXT_ARM_INTEGER; in TEST()
1353 raw_context.iregs[0] = 0x3ecba80d; in TEST()
1354 raw_context.iregs[1] = 0x382583b9; in TEST()
1355 raw_context.iregs[2] = 0x7fccc03f; in TEST()
1356 raw_context.iregs[3] = 0xf62f8ec2; in TEST()
1357 raw_context.iregs[4] = 0x46a6a6a8; in TEST()
1358 raw_context.iregs[5] = 0x6a5025e2; in TEST()
1359 raw_context.iregs[6] = 0xd9fabb4a; in TEST()
1360 raw_context.iregs[7] = 0x6913f540; in TEST()
1361 raw_context.iregs[8] = 0xbffe6eda; in TEST()
1362 raw_context.iregs[9] = 0xb2ce1e2d; in TEST()
1363 raw_context.iregs[10] = 0x659caaa4; in TEST()
1364 raw_context.iregs[11] = 0xf0e0d0c0; in TEST()
1365 raw_context.iregs[12] = 0xa9b8c7d6; in TEST()
1366 raw_context.iregs[13] = 0x12345678; in TEST()
1367 raw_context.iregs[14] = 0xabcd1234; in TEST()
1368 raw_context.iregs[15] = 0x10203040; in TEST()
1369 raw_context.cpsr = 0x2e951ef7; in TEST()
1370 Context context(dump, raw_context); in TEST()
1412 EXPECT_EQ(0x3ecba80dU, raw_context.iregs[0]); in TEST()
1413 EXPECT_EQ(0x382583b9U, raw_context.iregs[1]); in TEST()
1414 EXPECT_EQ(0x7fccc03fU, raw_context.iregs[2]); in TEST()
1415 EXPECT_EQ(0xf62f8ec2U, raw_context.iregs[3]); in TEST()
1416 EXPECT_EQ(0x46a6a6a8U, raw_context.iregs[4]); in TEST()
1417 EXPECT_EQ(0x6a5025e2U, raw_context.iregs[5]); in TEST()
1418 EXPECT_EQ(0xd9fabb4aU, raw_context.iregs[6]); in TEST()
1419 EXPECT_EQ(0x6913f540U, raw_context.iregs[7]); in TEST()
1420 EXPECT_EQ(0xbffe6edaU, raw_context.iregs[8]); in TEST()
1421 EXPECT_EQ(0xb2ce1e2dU, raw_context.iregs[9]); in TEST()
1422 EXPECT_EQ(0x659caaa4U, raw_context.iregs[10]); in TEST()
1423 EXPECT_EQ(0xf0e0d0c0U, raw_context.iregs[11]); in TEST()
1424 EXPECT_EQ(0xa9b8c7d6U, raw_context.iregs[12]); in TEST()
1425 EXPECT_EQ(0x12345678U, raw_context.iregs[13]); in TEST()
1426 EXPECT_EQ(0xabcd1234U, raw_context.iregs[14]); in TEST()
1427 EXPECT_EQ(0x10203040U, raw_context.iregs[15]); in TEST()
1428 EXPECT_EQ(0x2e951ef7U, raw_context.cpsr); in TEST()
1434 MDRawContextARM raw_context; in TEST() local
1436 raw_context.context_flags = MD_CONTEXT_ARM_OLD | 0x00000002; in TEST()
1437 raw_context.iregs[0] = 0x3ecba80d; in TEST()
1438 raw_context.iregs[1] = 0x382583b9; in TEST()
1439 raw_context.iregs[2] = 0x7fccc03f; in TEST()
1440 raw_context.iregs[3] = 0xf62f8ec2; in TEST()
1441 raw_context.iregs[4] = 0x46a6a6a8; in TEST()
1442 raw_context.iregs[5] = 0x6a5025e2; in TEST()
1443 raw_context.iregs[6] = 0xd9fabb4a; in TEST()
1444 raw_context.iregs[7] = 0x6913f540; in TEST()
1445 raw_context.iregs[8] = 0xbffe6eda; in TEST()
1446 raw_context.iregs[9] = 0xb2ce1e2d; in TEST()
1447 raw_context.iregs[10] = 0x659caaa4; in TEST()
1448 raw_context.iregs[11] = 0xf0e0d0c0; in TEST()
1449 raw_context.iregs[12] = 0xa9b8c7d6; in TEST()
1450 raw_context.iregs[13] = 0x12345678; in TEST()
1451 raw_context.iregs[14] = 0xabcd1234; in TEST()
1452 raw_context.iregs[15] = 0x10203040; in TEST()
1453 raw_context.cpsr = 0x2e951ef7; in TEST()
1454 Context context(dump, raw_context); in TEST()
1496 EXPECT_EQ(0x3ecba80dU, raw_context.iregs[0]); in TEST()
1497 EXPECT_EQ(0x382583b9U, raw_context.iregs[1]); in TEST()
1498 EXPECT_EQ(0x7fccc03fU, raw_context.iregs[2]); in TEST()
1499 EXPECT_EQ(0xf62f8ec2U, raw_context.iregs[3]); in TEST()
1500 EXPECT_EQ(0x46a6a6a8U, raw_context.iregs[4]); in TEST()
1501 EXPECT_EQ(0x6a5025e2U, raw_context.iregs[5]); in TEST()
1502 EXPECT_EQ(0xd9fabb4aU, raw_context.iregs[6]); in TEST()
1503 EXPECT_EQ(0x6913f540U, raw_context.iregs[7]); in TEST()
1504 EXPECT_EQ(0xbffe6edaU, raw_context.iregs[8]); in TEST()
1505 EXPECT_EQ(0xb2ce1e2dU, raw_context.iregs[9]); in TEST()
1506 EXPECT_EQ(0x659caaa4U, raw_context.iregs[10]); in TEST()
1507 EXPECT_EQ(0xf0e0d0c0U, raw_context.iregs[11]); in TEST()
1508 EXPECT_EQ(0xa9b8c7d6U, raw_context.iregs[12]); in TEST()
1509 EXPECT_EQ(0x12345678U, raw_context.iregs[13]); in TEST()
1510 EXPECT_EQ(0xabcd1234U, raw_context.iregs[14]); in TEST()
1511 EXPECT_EQ(0x10203040U, raw_context.iregs[15]); in TEST()
1512 EXPECT_EQ(0x2e951ef7U, raw_context.cpsr); in TEST()
1518 MDRawContextMIPS raw_context; in TEST() local
1519 raw_context.context_flags = MD_CONTEXT_MIPS_INTEGER; in TEST()
1520 raw_context.iregs[0] = 0x3ecba80d; in TEST()
1521 raw_context.iregs[1] = 0x382583b9; in TEST()
1522 raw_context.iregs[2] = 0x7fccc03f; in TEST()
1523 raw_context.iregs[3] = 0xf62f8ec2; in TEST()
1524 raw_context.iregs[4] = 0x46a6a6a8; in TEST()
1525 raw_context.iregs[5] = 0x6a5025e2; in TEST()
1526 raw_context.iregs[6] = 0xd9fabb4a; in TEST()
1527 raw_context.iregs[7] = 0x6913f540; in TEST()
1528 raw_context.iregs[8] = 0xbffe6eda; in TEST()
1529 raw_context.iregs[9] = 0xb2ce1e2d; in TEST()
1530 raw_context.iregs[10] = 0x659caaa4; in TEST()
1531 raw_context.iregs[11] = 0xf0e0d0c0; in TEST()
1532 raw_context.iregs[12] = 0xa9b8c7d6; in TEST()
1533 raw_context.iregs[13] = 0x12345678; in TEST()
1534 raw_context.iregs[14] = 0xabcd1234; in TEST()
1535 raw_context.iregs[15] = 0x10203040; in TEST()
1536 raw_context.iregs[16] = 0xa80d3ecb; in TEST()
1537 raw_context.iregs[17] = 0x83b93825; in TEST()
1538 raw_context.iregs[18] = 0xc03f7fcc; in TEST()
1539 raw_context.iregs[19] = 0x8ec2f62f; in TEST()
1540 raw_context.iregs[20] = 0xa6a846a6; in TEST()
1541 raw_context.iregs[21] = 0x25e26a50; in TEST()
1542 raw_context.iregs[22] = 0xbb4ad9fa; in TEST()
1543 raw_context.iregs[23] = 0xf5406913; in TEST()
1544 raw_context.iregs[24] = 0x6edabffe; in TEST()
1545 raw_context.iregs[25] = 0x1e2db2ce; in TEST()
1546 raw_context.iregs[26] = 0xaaa4659c; in TEST()
1547 raw_context.iregs[27] = 0xd0c0f0e0; in TEST()
1548 raw_context.iregs[28] = 0xc7d6a9b8; in TEST()
1549 raw_context.iregs[29] = 0x56781234; in TEST()
1550 raw_context.iregs[30] = 0x1234abcd; in TEST()
1551 raw_context.iregs[31] = 0x30401020; in TEST()
1553 Context context(dump, raw_context); in TEST()
1594 EXPECT_EQ(0x3ecba80dU, raw_context.iregs[0]); in TEST()
1595 EXPECT_EQ(0x382583b9U, raw_context.iregs[1]); in TEST()
1596 EXPECT_EQ(0x7fccc03fU, raw_context.iregs[2]); in TEST()
1597 EXPECT_EQ(0xf62f8ec2U, raw_context.iregs[3]); in TEST()
1598 EXPECT_EQ(0x46a6a6a8U, raw_context.iregs[4]); in TEST()
1599 EXPECT_EQ(0x6a5025e2U, raw_context.iregs[5]); in TEST()
1600 EXPECT_EQ(0xd9fabb4aU, raw_context.iregs[6]); in TEST()
1601 EXPECT_EQ(0x6913f540U, raw_context.iregs[7]); in TEST()
1602 EXPECT_EQ(0xbffe6edaU, raw_context.iregs[8]); in TEST()
1603 EXPECT_EQ(0xb2ce1e2dU, raw_context.iregs[9]); in TEST()
1604 EXPECT_EQ(0x659caaa4U, raw_context.iregs[10]); in TEST()
1605 EXPECT_EQ(0xf0e0d0c0U, raw_context.iregs[11]); in TEST()
1606 EXPECT_EQ(0xa9b8c7d6U, raw_context.iregs[12]); in TEST()
1607 EXPECT_EQ(0x12345678U, raw_context.iregs[13]); in TEST()
1608 EXPECT_EQ(0xabcd1234U, raw_context.iregs[14]); in TEST()
1609 EXPECT_EQ(0x10203040U, raw_context.iregs[15]); in TEST()
1610 EXPECT_EQ(0xa80d3ecbU, raw_context.iregs[16]); in TEST()
1611 EXPECT_EQ(0x83b93825U, raw_context.iregs[17]); in TEST()
1612 EXPECT_EQ(0xc03f7fccU, raw_context.iregs[18]); in TEST()
1613 EXPECT_EQ(0x8ec2f62fU, raw_context.iregs[19]); in TEST()
1614 EXPECT_EQ(0xa6a846a6U, raw_context.iregs[20]); in TEST()
1615 EXPECT_EQ(0x25e26a50U, raw_context.iregs[21]); in TEST()
1616 EXPECT_EQ(0xbb4ad9faU, raw_context.iregs[22]); in TEST()
1617 EXPECT_EQ(0xf5406913U, raw_context.iregs[23]); in TEST()
1618 EXPECT_EQ(0x6edabffeU, raw_context.iregs[24]); in TEST()
1619 EXPECT_EQ(0x1e2db2ceU, raw_context.iregs[25]); in TEST()
1620 EXPECT_EQ(0xaaa4659cU, raw_context.iregs[26]); in TEST()
1621 EXPECT_EQ(0xd0c0f0e0U, raw_context.iregs[27]); in TEST()
1622 EXPECT_EQ(0xc7d6a9b8U, raw_context.iregs[28]); in TEST()
1623 EXPECT_EQ(0x56781234U, raw_context.iregs[29]); in TEST()
1624 EXPECT_EQ(0x1234abcdU, raw_context.iregs[30]); in TEST()
1625 EXPECT_EQ(0x30401020U, raw_context.iregs[31]); in TEST()