| 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_SEG_SFI_NCVALIDATE_H__ | 7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_SEG_SFI_NCVALIDATE_H__ |
| 8 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_SEG_SFI_NCVALIDATE_H__ | 8 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_SEG_SFI_NCVALIDATE_H__ |
| 9 | 9 |
| 10 #include <stdio.h> | 10 #include <stdio.h> |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 */ | 128 */ |
| 129 int NCValidatorGetMaxDiagnostics(); | 129 int NCValidatorGetMaxDiagnostics(); |
| 130 | 130 |
| 131 /* Changes default flag for printing validator error messages. | 131 /* Changes default flag for printing validator error messages. |
| 132 * If zero, no messages are printed. | 132 * If zero, no messages are printed. |
| 133 * If >0, only that many diagnostic errors are printed. | 133 * If >0, only that many diagnostic errors are printed. |
| 134 * If negative, all validator diagnostics are printed. | 134 * If negative, all validator diagnostics are printed. |
| 135 */ | 135 */ |
| 136 void NCValidatorSetMaxDiagnostics(int new_value); | 136 void NCValidatorSetMaxDiagnostics(int new_value); |
| 137 | 137 |
| 138 /* Returns 1 if any code has been overwritten with halts. */ |
| 139 int NCValidatorDidStubOut(struct NCValidatorState *vstate); |
| 140 |
| 138 #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_SEG_SFI_NCVALIDATE_H__
*/ | 141 #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_NCVAL_SEG_SFI_NCVALIDATE_H__
*/ |
| OLD | NEW |