| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // For information about interceptions as a whole see | 5 // For information about interceptions as a whole see |
| 6 // http://dev.chromium.org/developers/design-documents/sandbox . | 6 // http://dev.chromium.org/developers/design-documents/sandbox . |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "sandbox/src/interception.h" | 10 #include "sandbox/src/interception.h" |
| 11 | 11 |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/pe_image.h" |
| 13 #include "base/scoped_ptr.h" | 14 #include "base/scoped_ptr.h" |
| 14 #include "sandbox/src/interception_internal.h" | 15 #include "sandbox/src/interception_internal.h" |
| 15 #include "sandbox/src/pe_image.h" | |
| 16 #include "sandbox/src/sandbox.h" | 16 #include "sandbox/src/sandbox.h" |
| 17 #include "sandbox/src/sandbox_utils.h" | 17 #include "sandbox/src/sandbox_utils.h" |
| 18 #include "sandbox/src/service_resolver.h" | 18 #include "sandbox/src/service_resolver.h" |
| 19 #include "sandbox/src/target_interceptions.h" | 19 #include "sandbox/src/target_interceptions.h" |
| 20 #include "sandbox/src/target_process.h" | 20 #include "sandbox/src/target_process.h" |
| 21 #include "sandbox/src/wow64.h" | 21 #include "sandbox/src/wow64.h" |
| 22 | 22 |
| 23 namespace { | 23 namespace { |
| 24 | 24 |
| 25 const char kMapViewOfSectionName[] = "NtMapViewOfSection"; | 25 const char kMapViewOfSectionName[] = "NtMapViewOfSection"; |
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 ::FreeLibrary(local_interceptor); | 479 ::FreeLibrary(local_interceptor); |
| 480 #endif | 480 #endif |
| 481 | 481 |
| 482 if (it != interceptions_.end()) | 482 if (it != interceptions_.end()) |
| 483 return false; | 483 return false; |
| 484 | 484 |
| 485 return true; | 485 return true; |
| 486 } | 486 } |
| 487 | 487 |
| 488 } // namespace sandbox | 488 } // namespace sandbox |
| OLD | NEW |