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

Side by Side Diff: sandbox/win/src/sidestep/ia32_opcode_map.cpp

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
OLDNEW
1 // Copyright (c) 2012 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 // Opcode decoding maps. Based on the IA-32 Intel Architecture 5 // Opcode decoding maps. Based on the IA-32 Intel Architecture
6 // Software Developer's Manual Volume 2: Instruction Set Reference. Idea 6 // Software Developer's Manual Volume 2: Instruction Set Reference. Idea
7 // for how to lay out the tables in memory taken from the implementation 7 // for how to lay out the tables in memory taken from the implementation
8 // in the Bastard disassembly environment. 8 // in the Bastard disassembly environment.
9 9
10 #include "sandbox/src/sidestep/mini_disassembler.h" 10 #include "sandbox/win/src/sidestep/mini_disassembler.h"
11 11
12 namespace sidestep { 12 namespace sidestep {
13 13
14 /* 14 /*
15 * This is the first table to be searched; the first field of each 15 * This is the first table to be searched; the first field of each
16 * Opcode in the table is either 0 to indicate you're in the 16 * Opcode in the table is either 0 to indicate you're in the
17 * right table, or an index to the correct table, in the global 17 * right table, or an index to the correct table, in the global
18 * map g_pentiumOpcodeMap 18 * map g_pentiumOpcodeMap
19 */ 19 */
20 const Opcode s_first_opcode_byte[] = { 20 const Opcode s_first_opcode_byte[] = {
(...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after
1150 /* 18 */ {s_opcode_byte_after_0f18, 3, 0x07, 0, 0x07}, 1150 /* 18 */ {s_opcode_byte_after_0f18, 3, 0x07, 0, 0x07},
1151 /* 19 */ {s_opcode_byte_after_0f71, 3, 0x07, 0, 0x07}, 1151 /* 19 */ {s_opcode_byte_after_0f71, 3, 0x07, 0, 0x07},
1152 /* 20 */ {s_opcode_byte_after_0f72, 3, 0x07, 0, 0x07}, 1152 /* 20 */ {s_opcode_byte_after_0f72, 3, 0x07, 0, 0x07},
1153 /* 21 */ {s_opcode_byte_after_0f73, 3, 0x07, 0, 0x07}, 1153 /* 21 */ {s_opcode_byte_after_0f73, 3, 0x07, 0, 0x07},
1154 /* 22 */ {s_opcode_byte_after_0fae, 3, 0x07, 0, 0x07}, 1154 /* 22 */ {s_opcode_byte_after_0fae, 3, 0x07, 0, 0x07},
1155 /* 23 */ {s_opcode_byte_after_0fba, 3, 0x07, 0, 0x07}, 1155 /* 23 */ {s_opcode_byte_after_0fba, 3, 0x07, 0, 0x07},
1156 /* 24 */ {s_opcode_byte_after_0fc7, 3, 0x07, 0, 0x01} 1156 /* 24 */ {s_opcode_byte_after_0fc7, 3, 0x07, 0, 0x01}
1157 }; 1157 };
1158 1158
1159 }; // namespace sidestep 1159 }; // namespace sidestep
OLDNEW
« no previous file with comments | « sandbox/win/src/sidestep/ia32_modrm_map.cpp ('k') | sandbox/win/src/sidestep/mini_disassembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698