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

Unified Diff: syzygy/agent/asan/heap_managers/block_heap_manager.cc

Issue 2508333002: Remove the is_nested bit from the BlockInfo structure. (Closed)
Patch Set: Address Siggi's comments. 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
« no previous file with comments | « syzygy/agent/asan/heap_checker_unittest.cc ('k') | syzygy/agent/asan/heaps/large_block_heap_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: syzygy/agent/asan/heap_managers/block_heap_manager.cc
diff --git a/syzygy/agent/asan/heap_managers/block_heap_manager.cc b/syzygy/agent/asan/heap_managers/block_heap_manager.cc
index 9fbde682fdfb1b3131486b057435a2c7deb51fac..515ab9e7db07e0951237bb45c2d79bec78aabe59 100644
--- a/syzygy/agent/asan/heap_managers/block_heap_manager.cc
+++ b/syzygy/agent/asan/heap_managers/block_heap_manager.cc
@@ -233,7 +233,7 @@ void* BlockHeapManager::Allocate(HeapId heap_id, uint32_t bytes) {
DCHECK_NE(static_cast<void*>(nullptr), alloc);
DCHECK_EQ(0u, reinterpret_cast<size_t>(alloc) % kShadowRatio);
BlockInfo block = {};
- BlockInitialize(block_layout, alloc, false, &block);
+ BlockInitialize(block_layout, alloc, &block);
// Poison the redzones in the shadow memory as early as possible.
shadow_->PoisonAllocatedBlock(block);
« no previous file with comments | « syzygy/agent/asan/heap_checker_unittest.cc ('k') | syzygy/agent/asan/heaps/large_block_heap_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698