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_IN
TERNAL_H__ | 7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER_IN
TERNAL_H__ |
8 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER_IN
TERNAL_H__ | 8 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER_IN
TERNAL_H__ |
9 | 9 |
10 /* Defines the internal data structure for the validator state. */ | 10 /* Defines the internal data structure for the validator state. */ |
11 | 11 |
12 #include "native_client/src/shared/utils/types.h" | 12 #include "native_client/src/shared/utils/types.h" |
13 #include "native_client/src/trusted/validator/x86/nacl_cpuid.h" | 13 #include "native_client/src/trusted/cpu_features/arch/x86/cpu_x86.h" |
14 #include "native_client/src/trusted/validator/x86/ncval_reg_sfi/nc_cpu_checks.h" | 14 #include "native_client/src/trusted/validator/x86/ncval_reg_sfi/nc_cpu_checks.h" |
15 #include "native_client/src/trusted/validator/x86/ncval_reg_sfi/nc_jumps.h" | 15 #include "native_client/src/trusted/validator/x86/ncval_reg_sfi/nc_jumps.h" |
16 #include "native_client/src/trusted/validator/x86/ncval_reg_sfi/nc_opcode_histog
ram.h" | 16 #include "native_client/src/trusted/validator/x86/ncval_reg_sfi/nc_opcode_histog
ram.h" |
17 #include "native_client/src/trusted/validator/x86/ncval_reg_sfi/nc_protect_base.
h" | 17 #include "native_client/src/trusted/validator/x86/ncval_reg_sfi/nc_protect_base.
h" |
18 | 18 |
19 struct NaClDecodeTables; | 19 struct NaClDecodeTables; |
20 struct NaClExpVector; | 20 struct NaClExpVector; |
21 struct NaClInst; | 21 struct NaClInst; |
22 struct NaClInstIter; | 22 struct NaClInstIter; |
23 struct NaClInstState; | 23 struct NaClInstState; |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 NaClOpcodeHistogram opcode_histogram; | 124 NaClOpcodeHistogram opcode_histogram; |
125 #ifdef NCVAL_TESTING | 125 #ifdef NCVAL_TESTING |
126 /* The string containing validator preconditions. */ | 126 /* The string containing validator preconditions. */ |
127 char precond[NCVAL_CONDITION_SIZE]; | 127 char precond[NCVAL_CONDITION_SIZE]; |
128 /* The string containing validator postconditions. */ | 128 /* The string containing validator postconditions. */ |
129 char postcond[NCVAL_CONDITION_SIZE]; | 129 char postcond[NCVAL_CONDITION_SIZE]; |
130 #endif | 130 #endif |
131 }; | 131 }; |
132 | 132 |
133 #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER
_INTERNAL_H__ */ | 133 #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_REG_SFI_NCVALIDATE_ITER
_INTERNAL_H__ */ |
OLD | NEW |