Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Side by Side Diff: sandbox/win/sandbox_poc/pocdll/handles.cc

Issue 2773333002: Remove sandbox/win/tools. (Closed)
Patch Set: reland Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sandbox/win/BUILD.gn ('k') | sandbox/win/sandbox_poc/pocdll/ntundoc.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2010 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/ntundoc.h"
6 #include "sandbox/win/sandbox_poc/pocdll/utils.h" 7 #include "sandbox/win/sandbox_poc/pocdll/utils.h"
7 #include "sandbox/win/tools/finder/ntundoc.h"
8 8
9 // This file contains the tests used to verify the security of handles in 9 // This file contains the tests used to verify the security of handles in
10 // the process 10 // the process
11 11
12 NTQUERYOBJECT NtQueryObject; 12 NTQUERYOBJECT NtQueryObject;
13 NTQUERYINFORMATIONFILE NtQueryInformationFile; 13 NTQUERYINFORMATIONFILE NtQueryInformationFile;
14 NTQUERYSYSTEMINFORMATION NtQuerySystemInformation; 14 NTQUERYSYSTEMINFORMATION NtQuerySystemInformation;
15 15
16 void POCDLL_API TestGetHandle(HANDLE log) { 16 void POCDLL_API TestGetHandle(HANDLE log) {
17 HandleToFile handle2file; 17 HandleToFile handle2file;
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 177
178 if (name) { 178 if (name) {
179 delete [] name; 179 delete [] name;
180 } 180 }
181 } 181 }
182 182
183 if (system_handles) { 183 if (system_handles) {
184 delete [] system_handles; 184 delete [] system_handles;
185 } 185 }
186 } 186 }
OLDNEW
« no previous file with comments | « sandbox/win/BUILD.gn ('k') | sandbox/win/sandbox_poc/pocdll/ntundoc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698