Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(482)

Unified Diff: syzygy/agent/asan/block_unittest.cc

Issue 2363733003: Make syzyasan_rtl compile in 64 bit (Closed)
Patch Set: Nits. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « syzygy/agent/asan/block.cc ('k') | syzygy/agent/asan/error_info_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: syzygy/agent/asan/block_unittest.cc
diff --git a/syzygy/agent/asan/block_unittest.cc b/syzygy/agent/asan/block_unittest.cc
index 2a9d0759b1d5b36b9b051d3c697b120eabca7937..06b4c29fc75863ea03b3e7c0099befb4a0f0d57a 100644
--- a/syzygy/agent/asan/block_unittest.cc
+++ b/syzygy/agent/asan/block_unittest.cc
@@ -178,23 +178,23 @@ TEST_F(BlockTest, BlockPlanLayout) {
#else
// Zero sized allocations should work fine.
EXPECT_TRUE(BlockPlanLayout(8, 8, 0, 0, 0, &layout));
- EXPECT_EQ(BuildBlockLayout(8, 48, 24, 0, 0, 4, 20), layout);
+ EXPECT_EQ(BuildBlockLayout(8, 56, 24, 0, 0, 4, 28), layout);
EXPECT_TRUE(BlockPlanLayout(8, 8, 60, 32, 32, &layout));
- EXPECT_EQ(BuildBlockLayout(8, 128, 24, 8, 60, 16, 20), layout);
+ EXPECT_EQ(BuildBlockLayout(8, 128, 24, 8, 60, 8, 28), layout);
EXPECT_TRUE(BlockPlanLayout(8, 8, 60, 0, 0, &layout));
- EXPECT_EQ(BuildBlockLayout(8, 104, 24, 0, 60, 0, 20), layout);
+ EXPECT_EQ(BuildBlockLayout(8, 112, 24, 0, 60, 0, 28), layout);
EXPECT_TRUE(BlockPlanLayout(8, 8, 64, 0, 0, &layout));
- EXPECT_EQ(BuildBlockLayout(8, 112, 24, 0, 64, 4, 20), layout);
+ EXPECT_EQ(BuildBlockLayout(8, 120, 24, 0, 64, 4, 28), layout);
EXPECT_TRUE(BlockPlanLayout(8, 8, 61, 0, 0, &layout));
- EXPECT_EQ(BuildBlockLayout(8, 112, 24, 0, 61, 7, 20), layout);
+ EXPECT_EQ(BuildBlockLayout(8, 120, 24, 0, 61, 7, 28), layout);
// Plan a layout that would use guard pages.
EXPECT_TRUE(BlockPlanLayout(4096, 8, 100, 4096, 4096, &layout));
- EXPECT_EQ(BuildBlockLayout(4096, 3 * 4096, 24, 8064, 100, 4080, 20), layout);
+ EXPECT_EQ(BuildBlockLayout(4096, 3 * 4096, 24, 8064, 100, 4072, 28), layout);
#endif
// Plan a layout with an invalid size, this should fail.
« no previous file with comments | « syzygy/agent/asan/block.cc ('k') | syzygy/agent/asan/error_info_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698