OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "chrome_elf/blacklist/blacklist.h" | 5 #include "chrome_elf/blacklist/blacklist.h" |
6 | 6 |
7 #include <assert.h> | 7 #include <assert.h> |
8 #include <string.h> | 8 #include <string.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | |
13 #include "chrome_elf/blacklist/blacklist_interceptions.h" | 12 #include "chrome_elf/blacklist/blacklist_interceptions.h" |
14 #include "chrome_elf/chrome_elf_constants.h" | 13 #include "chrome_elf/chrome_elf_constants.h" |
15 #include "chrome_elf/chrome_elf_util.h" | 14 #include "chrome_elf/chrome_elf_util.h" |
16 #include "chrome_elf/thunk_getter.h" | 15 #include "chrome_elf/thunk_getter.h" |
17 #include "sandbox/win/src/interception_internal.h" | 16 #include "sandbox/win/src/interception_internal.h" |
18 #include "sandbox/win/src/internal_types.h" | 17 #include "sandbox/win/src/internal_types.h" |
19 #include "sandbox/win/src/service_resolver.h" | 18 #include "sandbox/win/src/service_resolver.h" |
20 | 19 |
21 // http://blogs.msdn.com/oldnewthing/archive/2004/10/25/247180.aspx | 20 // http://blogs.msdn.com/oldnewthing/archive/2004/10/25/247180.aspx |
22 extern "C" IMAGE_DOS_HEADER __ImageBase; | 21 extern "C" IMAGE_DOS_HEADER __ImageBase; |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 break; | 448 break; |
450 value_buffer[value_len - 1] = L'\0'; | 449 value_buffer[value_len - 1] = L'\0'; |
451 AddDllToBlacklist(&value_buffer[0]); | 450 AddDllToBlacklist(&value_buffer[0]); |
452 } | 451 } |
453 | 452 |
454 ::RegCloseKey(key); | 453 ::RegCloseKey(key); |
455 return; | 454 return; |
456 } | 455 } |
457 | 456 |
458 } // namespace blacklist | 457 } // namespace blacklist |
OLD | NEW |