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

Side by Side Diff: sandbox/win/src/heap_helper.h

Issue 2726733003: CSRSS lockdown: destroy CSRSS heap (Closed)
Patch Set: Merge branch 'master' of https://chromium.googlesource.com/chromium/src into destroy_heap Created 3 years, 7 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
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include <windows.h>
6
7 #include "base/win/windows_version.h"
8
9 namespace sandbox {
10 // These helper functions are not expected to be used generally, but are exposed
11 // only to allow direct testing of this functionality.
12
13 // Return the flags for this heap handle. Limited verification of the handle is
14 // performed. No verification of the flags is performed.
15 bool HeapFlags(HANDLE handle, DWORD* flags);
16
17 // Return the handle to the CSR Port Heap, return nullptr if none or more than
18 // one candidate was found.
19 HANDLE FindCsrPortHeap();
20
21 } // namespace sandbox
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698