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

Unified Diff: syzygy/agent/asan/registry_cache.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 | « syzygy/agent/asan/heap_managers/block_heap_manager.cc ('k') | syzygy/agent/asan/registry_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: syzygy/agent/asan/registry_cache.h
diff --git a/syzygy/agent/asan/registry_cache.h b/syzygy/agent/asan/registry_cache.h
index 5455255cdb45b5942ca402f8defc2f0c609e23cb..1e2e2468f702bc8e24cf441c152ef3ee3020cb08 100644
--- a/syzygy/agent/asan/registry_cache.h
+++ b/syzygy/agent/asan/registry_cache.h
@@ -96,6 +96,10 @@ class RegistryCache {
size_t max_modules,
size_t max_versions);
+ // Returns true if the registry is available, false otherwise. On Chrome
+ // renderer processes the sandbox prevents access to the registry.
+ static bool RegistryAvailable();
+
// Initializes the registry cache and prunes old values in the registry. This
// must be called once, before any other method. Note that this function is
// not thread-safe.
« no previous file with comments | « syzygy/agent/asan/heap_managers/block_heap_manager.cc ('k') | syzygy/agent/asan/registry_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698