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

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

Issue 2378743002: [SyzyAsan] Disable registry filter for sandboxed processes. (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | syzygy/agent/asan/heap_managers/block_heap_manager.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.h
diff --git a/syzygy/agent/asan/heap_managers/block_heap_manager.h b/syzygy/agent/asan/heap_managers/block_heap_manager.h
index 4116f2b9e7b4f35e6c599303c9b6026951ed27e3..a445522f58387bd4f075d3106bc324494a7495ee 100644
--- a/syzygy/agent/asan/heap_managers/block_heap_manager.h
+++ b/syzygy/agent/asan/heap_managers/block_heap_manager.h
@@ -433,8 +433,9 @@ class BlockHeapManager : public HeapManagerInterface {
bool enable_page_protections_;
// The registry cache that we use to store the allocation stack ID of the
- // corrupt block for which we've already reported an error.
- RegistryCache corrupt_block_registry_cache_;
+ // corrupt block for which we've already reported an error. This isn't used
+ // in processes where registry access is blocked (ie, Chrome renderers).
+ std::unique_ptr<RegistryCache> corrupt_block_registry_cache_;
private:
// Background thread that takes care of trimming the quarantine
« no previous file with comments | « no previous file | syzygy/agent/asan/heap_managers/block_heap_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698