OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2011 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 #include <assert.h> | 7 #include <assert.h> |
8 #include <elf.h> | 8 #include <elf.h> |
9 #include <inttypes.h> | 9 #include <inttypes.h> |
10 #include <stdio.h> | 10 #include <stdio.h> |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 for (index = initial_index; index < argc; ++index) { | 164 for (index = initial_index; index < argc; ++index) { |
165 const char *filename = argv[index]; | 165 const char *filename = argv[index]; |
166 int rc = ValidateFile(filename, repeat_count); | 166 int rc = ValidateFile(filename, repeat_count); |
167 if (rc != 0) { | 167 if (rc != 0) { |
168 printf("file '%s' can not be fully validated\n", filename); | 168 printf("file '%s' can not be fully validated\n", filename); |
169 return 1; | 169 return 1; |
170 } | 170 } |
171 } | 171 } |
172 return 0; | 172 return 0; |
173 } | 173 } |
OLD | NEW |