OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER_H_
_ | 7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER_H_
_ |
8 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER_H_
_ | 8 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER_H_
_ |
9 | 9 |
10 /* | 10 /* |
(...skipping 20 matching lines...) Expand all Loading... |
31 * if (!NaClValidatesOk(state)) fail; | 31 * if (!NaClValidatesOk(state)) fail; |
32 * NaClValidatorStateDestroy(state); | 32 * NaClValidatorStateDestroy(state); |
33 */ | 33 */ |
34 | 34 |
35 #include "native_client/src/include/portability.h" | 35 #include "native_client/src/include/portability.h" |
36 #include "native_client/src/shared/utils/types.h" | 36 #include "native_client/src/shared/utils/types.h" |
37 #include "native_client/src/trusted/validator/ncvalidate.h" | 37 #include "native_client/src/trusted/validator/ncvalidate.h" |
38 #include "native_client/src/trusted/validator/types_memory_model.h" | 38 #include "native_client/src/trusted/validator/types_memory_model.h" |
39 #include "native_client/src/trusted/validator/x86/decoder/gen/ncopcode_operand_k
ind.h" | 39 #include "native_client/src/trusted/validator/x86/decoder/gen/ncopcode_operand_k
ind.h" |
40 #include "native_client/src/trusted/validator/x86/error_reporter.h" | 40 #include "native_client/src/trusted/validator/x86/error_reporter.h" |
41 #include "native_client/src/trusted/validator/x86/nacl_cpuid.h" | 41 #include "native_client/src/trusted/cpu_features/arch/x86/cpu_x86.h" |
42 | 42 |
43 EXTERN_C_BEGIN | 43 EXTERN_C_BEGIN |
44 | 44 |
45 struct NaClDecodeTables; | 45 struct NaClDecodeTables; |
46 struct NaClInstIter; | 46 struct NaClInstIter; |
47 struct NaClInstState; | 47 struct NaClInstState; |
48 struct NaClValidatorState; | 48 struct NaClValidatorState; |
49 | 49 |
50 /* Control flag that when set to FALSE, turns of the printing of validator | 50 /* Control flag that when set to FALSE, turns of the printing of validator |
51 * messages. | 51 * messages. |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 | 398 |
399 /* Prints out the address of the current instruction, and the pre/post | 399 /* Prints out the address of the current instruction, and the pre/post |
400 * conditions associated with the current instruction. | 400 * conditions associated with the current instruction. |
401 */ | 401 */ |
402 void NaClPrintConditions(NaClValidatorState *state); | 402 void NaClPrintConditions(NaClValidatorState *state); |
403 #endif | 403 #endif |
404 | 404 |
405 EXTERN_C_END | 405 EXTERN_C_END |
406 | 406 |
407 #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER
_H__ */ | 407 #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER
_H__ */ |
OLD | NEW |