OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2010 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2010 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 This module contains utilities and constants needed to parse ELF headers. | 7 This module contains utilities and constants needed to parse ELF headers. |
8 """ | 8 """ |
9 | 9 |
10 import exceptions | 10 import exceptions |
11 import struct | 11 import struct |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 print ehdr_machine_name | 395 print ehdr_machine_name |
396 print ehdr_version | 396 print ehdr_version |
397 print ehdr_version_name | 397 print ehdr_version_name |
398 print ehdr_ident | 398 print ehdr_ident |
399 print ehdr_ident_class | 399 print ehdr_ident_class |
400 print ehdr_ident_data | 400 print ehdr_ident_data |
401 print phdr_type | 401 print phdr_type |
402 print phdr_type_name | 402 print phdr_type_name |
403 print phdr_flags | 403 print phdr_flags |
404 print shdr_flags | 404 print shdr_flags |
OLD | NEW |