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

Side by Side Diff: sandbox/win/src/resolver_64.cc

Issue 10783004: Move Windows Sandbox, trybots version (don't commit me!) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to top of tree Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « sandbox/win/src/resolver_32.cc ('k') | sandbox/win/src/restricted_token.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/src/resolver.h" 5 #include "sandbox/win/src/resolver.h"
6 6
7 #include "sandbox/src/sandbox_nt_util.h" 7 #include "sandbox/win/src/sandbox_nt_util.h"
8 8
9 namespace { 9 namespace {
10 10
11 const BYTE kPushRax = 0x50; 11 const BYTE kPushRax = 0x50;
12 const USHORT kMovRax = 0xB848; 12 const USHORT kMovRax = 0xB848;
13 const ULONG kMovRspRax = 0x24048948; 13 const ULONG kMovRspRax = 0x24048948;
14 const BYTE kRetNp = 0xC3; 14 const BYTE kRetNp = 0xC3;
15 15
16 #pragma pack(push, 1) 16 #pragma pack(push, 1)
17 struct InternalThunk { 17 struct InternalThunk {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 } 60 }
61 61
62 NTSTATUS ResolverThunk::ResolveTarget(const void* module, 62 NTSTATUS ResolverThunk::ResolveTarget(const void* module,
63 const char* function_name, 63 const char* function_name,
64 void** address) { 64 void** address) {
65 // We don't support sidestep & co. 65 // We don't support sidestep & co.
66 return STATUS_NOT_IMPLEMENTED; 66 return STATUS_NOT_IMPLEMENTED;
67 } 67 }
68 68
69 } // namespace sandbox 69 } // namespace sandbox
OLDNEW
« no previous file with comments | « sandbox/win/src/resolver_32.cc ('k') | sandbox/win/src/restricted_token.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698