diff options
Diffstat (limited to 'sandbox/src/sandbox_policy_base.cc')
-rw-r--r-- | sandbox/src/sandbox_policy_base.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sandbox/src/sandbox_policy_base.cc b/sandbox/src/sandbox_policy_base.cc index d5010af..f50453b 100644 --- a/sandbox/src/sandbox_policy_base.cc +++ b/sandbox/src/sandbox_policy_base.cc @@ -345,6 +345,13 @@ bool PolicyBase::SetupAllInterceptions(TargetProcess* target) { } } + if (!blacklisted_dlls_.empty()) { + std::vector<std::wstring>::iterator it = blacklisted_dlls_.begin(); + for (; it != blacklisted_dlls_.end(); ++it) { + manager.AddToUnloadModules(it->c_str()); + } + } + if (!SetupBasicInterceptions(&manager)) return false; |