OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/win/sandbox_poc/pocdll/exports.h" | 5 #include "sandbox/win/sandbox_poc/pocdll/exports.h" |
6 #include "sandbox/win/sandbox_poc/pocdll/utils.h" | 6 #include "sandbox/win/sandbox_poc/pocdll/utils.h" |
7 | 7 |
8 // This file contains the tests used to verify the security of the file system. | 8 // This file contains the tests used to verify the security of the file system. |
9 | 9 |
10 // Tries to open a file and outputs the result. | 10 // Tries to open a file and outputs the result. |
11 // "path" can contain environment variables. | 11 // "path" can contain environment variables. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 TryOpenFile(L"%SystemRoot%", output); | 45 TryOpenFile(L"%SystemRoot%", output); |
46 TryOpenFile(L"%ProgramFiles%", output); | 46 TryOpenFile(L"%ProgramFiles%", output); |
47 TryOpenFile(L"%SystemRoot%\\System32", output); | 47 TryOpenFile(L"%SystemRoot%\\System32", output); |
48 TryOpenFile(L"%SystemRoot%\\explorer.exe", output); | 48 TryOpenFile(L"%SystemRoot%\\explorer.exe", output); |
49 TryOpenFile(L"%SystemRoot%\\Cursors\\arrow_i.cur", output); | 49 TryOpenFile(L"%SystemRoot%\\Cursors\\arrow_i.cur", output); |
50 TryOpenFile(L"%AllUsersProfile%", output); | 50 TryOpenFile(L"%AllUsersProfile%", output); |
51 TryOpenFile(L"%UserProfile%", output); | 51 TryOpenFile(L"%UserProfile%", output); |
52 TryOpenFile(L"%Temp%", output); | 52 TryOpenFile(L"%Temp%", output); |
53 TryOpenFile(L"%AppData%", output); | 53 TryOpenFile(L"%AppData%", output); |
54 } | 54 } |
OLD | NEW |