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 1450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1461 for (index = initial_index; index < argc; ++index) { | 1461 for (index = initial_index; index < argc; ++index) { |
1462 const char *filename = argv[index]; | 1462 const char *filename = argv[index]; |
1463 int rc = DecodeFile(filename, repeat_count); | 1463 int rc = DecodeFile(filename, repeat_count); |
1464 if (rc != 0) { | 1464 if (rc != 0) { |
1465 printf("file '%s' can not be fully decoded\n", filename); | 1465 printf("file '%s' can not be fully decoded\n", filename); |
1466 return 1; | 1466 return 1; |
1467 } | 1467 } |
1468 } | 1468 } |
1469 return 0; | 1469 return 0; |
1470 } | 1470 } |
OLD | NEW |