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 #include "sandbox/src/sandbox_nt_util.h" | 5 #include "sandbox/src/sandbox_nt_util.h" |
6 | 6 |
7 #include "sandbox/src/pe_image.h" | 7 #include "base/pe_image.h" |
8 #include "sandbox/src/sandbox_factory.h" | 8 #include "sandbox/src/sandbox_factory.h" |
9 #include "sandbox/src/target_services.h" | 9 #include "sandbox/src/target_services.h" |
10 | 10 |
11 namespace sandbox { | 11 namespace sandbox { |
12 | 12 |
13 // Handle for our private heap. | 13 // Handle for our private heap. |
14 void* g_heap = NULL; | 14 void* g_heap = NULL; |
15 | 15 |
16 // This is the list of all imported symbols from ntdll.dll. | 16 // This is the list of all imported symbols from ntdll.dll. |
17 SANDBOX_INTERCEPT NtExports g_nt = { NULL }; | 17 SANDBOX_INTERCEPT NtExports g_nt = { NULL }; |
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 UNREFERENCED_PARAMETER(type); | 494 UNREFERENCED_PARAMETER(type); |
495 return buffer; | 495 return buffer; |
496 } | 496 } |
497 | 497 |
498 void __cdecl operator delete(void* memory, void* buffer, | 498 void __cdecl operator delete(void* memory, void* buffer, |
499 sandbox::AllocationType type) { | 499 sandbox::AllocationType type) { |
500 UNREFERENCED_PARAMETER(memory); | 500 UNREFERENCED_PARAMETER(memory); |
501 UNREFERENCED_PARAMETER(buffer); | 501 UNREFERENCED_PARAMETER(buffer); |
502 UNREFERENCED_PARAMETER(type); | 502 UNREFERENCED_PARAMETER(type); |
503 } | 503 } |
OLD | NEW |