| OLD | NEW |
| 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 // Table of relevant information about how to decode the ModR/M byte. | 5 // Table of relevant information about how to decode the ModR/M byte. |
| 6 // Based on information in the IA-32 Intel Architecture | 6 // Based on information in the IA-32 Intel Architecture |
| 7 // Software Developer's Manual Volume 2: Instruction Set Reference. | 7 // Software Developer's Manual Volume 2: Instruction Set Reference. |
| 8 | 8 |
| 9 #include "sandbox/src/sidestep/mini_disassembler.h" | 9 #include "sandbox/win/src/sidestep/mini_disassembler.h" |
| 10 #include "sandbox/src/sidestep/mini_disassembler_types.h" | 10 #include "sandbox/win/src/sidestep/mini_disassembler_types.h" |
| 11 | 11 |
| 12 namespace sidestep { | 12 namespace sidestep { |
| 13 | 13 |
| 14 const ModrmEntry MiniDisassembler::s_ia16_modrm_map_[] = { | 14 const ModrmEntry MiniDisassembler::s_ia16_modrm_map_[] = { |
| 15 // mod == 00 | 15 // mod == 00 |
| 16 /* r/m == 000 */ { false, false, OS_ZERO }, | 16 /* r/m == 000 */ { false, false, OS_ZERO }, |
| 17 /* r/m == 001 */ { false, false, OS_ZERO }, | 17 /* r/m == 001 */ { false, false, OS_ZERO }, |
| 18 /* r/m == 010 */ { false, false, OS_ZERO }, | 18 /* r/m == 010 */ { false, false, OS_ZERO }, |
| 19 /* r/m == 011 */ { false, false, OS_ZERO }, | 19 /* r/m == 011 */ { false, false, OS_ZERO }, |
| 20 /* r/m == 100 */ { false, false, OS_ZERO }, | 20 /* r/m == 100 */ { false, false, OS_ZERO }, |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 /* r/m == 001 */ { false, false, OS_ZERO }, | 83 /* r/m == 001 */ { false, false, OS_ZERO }, |
| 84 /* r/m == 010 */ { false, false, OS_ZERO }, | 84 /* r/m == 010 */ { false, false, OS_ZERO }, |
| 85 /* r/m == 011 */ { false, false, OS_ZERO }, | 85 /* r/m == 011 */ { false, false, OS_ZERO }, |
| 86 /* r/m == 100 */ { false, false, OS_ZERO }, | 86 /* r/m == 100 */ { false, false, OS_ZERO }, |
| 87 /* r/m == 101 */ { false, false, OS_ZERO }, | 87 /* r/m == 101 */ { false, false, OS_ZERO }, |
| 88 /* r/m == 110 */ { false, false, OS_ZERO }, | 88 /* r/m == 110 */ { false, false, OS_ZERO }, |
| 89 /* r/m == 111 */ { false, false, OS_ZERO }, | 89 /* r/m == 111 */ { false, false, OS_ZERO }, |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 }; // namespace sidestep | 92 }; // namespace sidestep |
| OLD | NEW |