| ... | @@ -663,21 +663,24 @@ pub fn int32(need_bswap: bool, int_32: anytype, comptime Int64: anytype) Int64 { | ... | @@ -663,21 +663,24 @@ pub fn int32(need_bswap: bool, int_32: anytype, comptime Int64: anytype) Int64 { |
| 663 | } | 663 | } |
| 664 | } | 664 | } |
| 665 | | 665 | |
| 666 | pub const EI_NIDENT = 16; | | |
| 667 | | | |
| 668 | pub const EI_CLASS = 4; | | |
| 669 | pub const ELFCLASSNONE = 0; | 666 | pub const ELFCLASSNONE = 0; |
| 670 | pub const ELFCLASS32 = 1; | 667 | pub const ELFCLASS32 = 1; |
| 671 | pub const ELFCLASS64 = 2; | 668 | pub const ELFCLASS64 = 2; |
| 672 | pub const ELFCLASSNUM = 3; | 669 | pub const ELFCLASSNUM = 3; |
| 673 | | 670 | |
| 674 | pub const EI_DATA = 5; | | |
| 675 | pub const ELFDATANONE = 0; | 671 | pub const ELFDATANONE = 0; |
| 676 | pub const ELFDATA2LSB = 1; | 672 | pub const ELFDATA2LSB = 1; |
| 677 | pub const ELFDATA2MSB = 2; | 673 | pub const ELFDATA2MSB = 2; |
| 678 | pub const ELFDATANUM = 3; | 674 | pub const ELFDATANUM = 3; |
| 679 | | 675 | |
| | 676 | pub const EI_CLASS = 4; |
| | 677 | pub const EI_DATA = 5; |
| 680 | pub const EI_VERSION = 6; | 678 | pub const EI_VERSION = 6; |
| | 679 | pub const EI_OSABI = 7; |
| | 680 | pub const EI_ABIVERSION = 8; |
| | 681 | pub const EI_PAD = 9; |
| | 682 | |
| | 683 | pub const EI_NIDENT = 16; |
| 681 | | 684 | |
| 682 | pub const Elf32_Half = u16; | 685 | pub const Elf32_Half = u16; |
| 683 | pub const Elf64_Half = u16; | 686 | pub const Elf64_Half = u16; |