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

Unified Diff: syzygy/agent/asan/runtime.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/page_protection_helpers_unittest.cc ('k') | syzygy/agent/asan/shadow.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: syzygy/agent/asan/runtime.cc
diff --git a/syzygy/agent/asan/runtime.cc b/syzygy/agent/asan/runtime.cc
index a29be0b1adc29257cb025388d4130977f597d314..b6d240eeeadd8a77b3f6d5ce2b83cb958b7f460b 100644
--- a/syzygy/agent/asan/runtime.cc
+++ b/syzygy/agent/asan/runtime.cc
@@ -924,8 +924,7 @@ void AsanRuntime::WriteCorruptHeapInfo(
// copy its metadata. It's fine for the upper bound address calculation to
// overflow to 0, as this represents the end of the 4GB address space.
ShadowWalker shadow_walker(
- shadow(), false,
- reinterpret_cast<const uint8_t*>(corrupt_ranges[i].address),
+ shadow(), reinterpret_cast<const uint8_t*>(corrupt_ranges[i].address),
reinterpret_cast<const uint8_t*>(corrupt_ranges[i].address) +
corrupt_ranges[i].length);
BlockInfo block_info = {};
« no previous file with comments | « syzygy/agent/asan/page_protection_helpers_unittest.cc ('k') | syzygy/agent/asan/shadow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698