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

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

Issue 2508333002: Remove the is_nested bit from the BlockInfo structure. (Closed)
Patch Set: Created 4 years, 1 month 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
Index: syzygy/agent/asan/error_info_unittest.cc
diff --git a/syzygy/agent/asan/error_info_unittest.cc b/syzygy/agent/asan/error_info_unittest.cc
index 8145391049fc1e55a796a665b524c974e58abe5d..7c1450931ca533ed5a8f4b6e34555bfb64d0fd88 100644
--- a/syzygy/agent/asan/error_info_unittest.cc
+++ b/syzygy/agent/asan/error_info_unittest.cc
@@ -53,7 +53,7 @@ class AsanErrorInfoTest : public testing::TestWithAsanRuntime {
BlockPlanLayout(kShadowRatio, kShadowRatio, 8, 0, 0, &layout);
dummy_block_data_.resize(layout.block_size);
BlockInfo info = {};
- BlockInitialize(layout, &dummy_block_data_.at(0), false, &info);
+ BlockInitialize(layout, &dummy_block_data_.at(0), &info);
runtime_->shadow()->PoisonAllocatedBlock(info);
// Normalize a handful of fields to make the comparison simpler.
@@ -156,7 +156,7 @@ TEST_F(AsanErrorInfoTest, GetBadAccessInformationNestedBlock) {
0,
&inner_block_layout));
BlockInfo inner_block_info = {};
- BlockInitialize(inner_block_layout, fake_block.block_info.body, true,
+ BlockInitialize(inner_block_layout, fake_block.block_info.body,
&inner_block_info);
ASSERT_NE(reinterpret_cast<void*>(NULL), inner_block_info.body);
runtime_->shadow()->PoisonAllocatedBlock(inner_block_info);

Powered by Google App Engine
This is Rietveld 408576698