| 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 // Definition of MiniDisassembler. | 5 // Definition of MiniDisassembler. |
| 6 | 6 |
| 7 #ifndef SANDBOX_SRC_SIDESTEP_MINI_DISASSEMBLER_H__ | 7 #ifndef SANDBOX_SRC_SIDESTEP_MINI_DISASSEMBLER_H__ |
| 8 #define SANDBOX_SRC_SIDESTEP_MINI_DISASSEMBLER_H__ | 8 #define SANDBOX_SRC_SIDESTEP_MINI_DISASSEMBLER_H__ |
| 9 | 9 |
| 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 // This small disassembler is very limited | 14 // This small disassembler is very limited |
| 15 // in its functionality, and in fact does only the bare minimum required by the | 15 // in its functionality, and in fact does only the bare minimum required by the |
| 16 // preamble patching utility. It may be useful for other purposes, however. | 16 // preamble patching utility. It may be useful for other purposes, however. |
| 17 // | 17 // |
| 18 // The limitations include at least the following: | 18 // The limitations include at least the following: |
| 19 // -# No support for coprocessor opcodes, MMX, etc. | 19 // -# No support for coprocessor opcodes, MMX, etc. |
| 20 // -# No machine-readable identification of opcodes or decoding of | 20 // -# No machine-readable identification of opcodes or decoding of |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 | 147 |
| 148 // Indicators of whether we got certain prefixes that certain | 148 // Indicators of whether we got certain prefixes that certain |
| 149 // silly Intel instructions depend on in nonstandard ways for | 149 // silly Intel instructions depend on in nonstandard ways for |
| 150 // their behaviors. | 150 // their behaviors. |
| 151 bool got_f2_prefix_, got_f3_prefix_, got_66_prefix_; | 151 bool got_f2_prefix_, got_f3_prefix_, got_66_prefix_; |
| 152 }; | 152 }; |
| 153 | 153 |
| 154 }; // namespace sidestep | 154 }; // namespace sidestep |
| 155 | 155 |
| 156 #endif // SANDBOX_SRC_SIDESTEP_MINI_DISASSEMBLER_H__ | 156 #endif // SANDBOX_SRC_SIDESTEP_MINI_DISASSEMBLER_H__ |
| OLD | NEW |