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 <stddef.h> | 10 #include <stddef.h> |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 } | 481 } |
482 | 482 |
483 if (CheckJumpTargets(valid_targets, jump_dests, size)) { | 483 if (CheckJumpTargets(valid_targets, jump_dests, size)) { |
484 result = 1; | 484 result = 1; |
485 goto error_detected; | 485 goto error_detected; |
486 } | 486 } |
487 | 487 |
488 error_detected: | 488 error_detected: |
489 return result; | 489 return result; |
490 } | 490 } |
OLD | NEW |