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 // Implementation of MiniDisassembler. | 5 // Implementation of MiniDisassembler. |
6 | 6 |
7 #ifdef _WIN64 | 7 #ifdef _WIN64 |
8 #error The code in this file should not be used on 64-bit Windows. | 8 #error The code in this file should not be used on 64-bit Windows. |
9 #endif | 9 #endif |
10 | 10 |
11 #include "sandbox/src/sidestep/mini_disassembler.h" | 11 #include "sandbox/win/src/sidestep/mini_disassembler.h" |
12 | 12 |
13 namespace sidestep { | 13 namespace sidestep { |
14 | 14 |
15 MiniDisassembler::MiniDisassembler(bool operand_default_is_32_bits, | 15 MiniDisassembler::MiniDisassembler(bool operand_default_is_32_bits, |
16 bool address_default_is_32_bits) | 16 bool address_default_is_32_bits) |
17 : operand_default_is_32_bits_(operand_default_is_32_bits), | 17 : operand_default_is_32_bits_(operand_default_is_32_bits), |
18 address_default_is_32_bits_(address_default_is_32_bits) { | 18 address_default_is_32_bits_(address_default_is_32_bits) { |
19 Initialize(); | 19 Initialize(); |
20 } | 20 } |
21 | 21 |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 default: | 386 default: |
387 break; | 387 break; |
388 } | 388 } |
389 } | 389 } |
390 | 390 |
391 (*size)++; | 391 (*size)++; |
392 return true; | 392 return true; |
393 } | 393 } |
394 | 394 |
395 }; // namespace sidestep | 395 }; // namespace sidestep |
OLD | NEW |