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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 } | 167 } |
168 | 168 |
169 if (CheckJumpTargets(valid_targets, jump_dests, size)) { | 169 if (CheckJumpTargets(valid_targets, jump_dests, size)) { |
170 result = 1; | 170 result = 1; |
171 goto error_detected; | 171 goto error_detected; |
172 } | 172 } |
173 | 173 |
174 error_detected: | 174 error_detected: |
175 return result; | 175 return result; |
176 } | 176 } |
OLD | NEW |