Copyright | (c) Aleksey Makarov 2021 |
---|---|
License | BSD 3-Clause License |
Maintainer | aleksey.makarov@gmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Definitions of constants used in ELF files
Synopsis
- newtype ElfOSABI = ElfOSABI Word8
- pattern ELFOSABI_EXT :: Word8 -> ElfOSABI
- pattern ELFOSABI_STANDALONE :: ElfOSABI
- pattern ELFOSABI_ARM :: ElfOSABI
- pattern ELFOSABI_AROS :: ElfOSABI
- pattern ELFOSABI_NSK :: ElfOSABI
- pattern ELFOSABI_OPENVMS :: ElfOSABI
- pattern ELFOSABI_OPENBSD :: ElfOSABI
- pattern ELFOSABI_MODESTO :: ElfOSABI
- pattern ELFOSABI_TRU64 :: ElfOSABI
- pattern ELFOSABI_FREEBSD :: ElfOSABI
- pattern ELFOSABI_IRIX :: ElfOSABI
- pattern ELFOSABI_AIX :: ElfOSABI
- pattern ELFOSABI_SOLARIS :: ElfOSABI
- pattern ELFOSABI_LINUX :: ElfOSABI
- pattern ELFOSABI_NETBSD :: ElfOSABI
- pattern ELFOSABI_HPUX :: ElfOSABI
- pattern ELFOSABI_SYSV :: ElfOSABI
- newtype ElfType = ElfType Word16
- pattern ET_EXT :: Word16 -> ElfType
- pattern ET_CORE :: ElfType
- pattern ET_DYN :: ElfType
- pattern ET_EXEC :: ElfType
- pattern ET_REL :: ElfType
- pattern ET_NONE :: ElfType
- newtype ElfMachine = ElfMachine Word16
- pattern EM_EXT :: Word16 -> ElfMachine
- pattern EM_AARCH64 :: ElfMachine
- pattern EM_UNICORE :: ElfMachine
- pattern EM_ARCA :: ElfMachine
- pattern EM_SEP :: ElfMachine
- pattern EM_SE_C33 :: ElfMachine
- pattern EM_BLACKFIN :: ElfMachine
- pattern EM_MSP430 :: ElfMachine
- pattern EM_F2MC16 :: ElfMachine
- pattern EM_CR :: ElfMachine
- pattern EM_MAX :: ElfMachine
- pattern EM_IP2K :: ElfMachine
- pattern EM_ST200 :: ElfMachine
- pattern EM_SNP1K :: ElfMachine
- pattern EM_TPC :: ElfMachine
- pattern EM_NS32K :: ElfMachine
- pattern EM_TMM_GPP :: ElfMachine
- pattern EM_VIDEOCORE :: ElfMachine
- pattern EM_XTENSA :: ElfMachine
- pattern EM_ARC_A5 :: ElfMachine
- pattern EM_OPENRISC :: ElfMachine
- pattern EM_PJ :: ElfMachine
- pattern EM_MN10200 :: ElfMachine
- pattern EM_MN10300 :: ElfMachine
- pattern EM_M32R :: ElfMachine
- pattern EM_V850 :: ElfMachine
- pattern EM_D30V :: ElfMachine
- pattern EM_D10V :: ElfMachine
- pattern EM_FR30 :: ElfMachine
- pattern EM_AVR :: ElfMachine
- pattern EM_PRISM :: ElfMachine
- pattern EM_HUANY :: ElfMachine
- pattern EM_MMIX :: ElfMachine
- pattern EM_ZSP :: ElfMachine
- pattern EM_FIREPATH :: ElfMachine
- pattern EM_JAVELIN :: ElfMachine
- pattern EM_CRIS :: ElfMachine
- pattern EM_VAX :: ElfMachine
- pattern EM_ST19 :: ElfMachine
- pattern EM_SVX :: ElfMachine
- pattern EM_68HC05 :: ElfMachine
- pattern EM_68HC08 :: ElfMachine
- pattern EM_68HC11 :: ElfMachine
- pattern EM_68HC16 :: ElfMachine
- pattern EM_ST7 :: ElfMachine
- pattern EM_ST9PLUS :: ElfMachine
- pattern EM_FX66 :: ElfMachine
- pattern EM_PDSP :: ElfMachine
- pattern EM_X86_64 :: ElfMachine
- pattern EM_TINYJ :: ElfMachine
- pattern EM_ST100 :: ElfMachine
- pattern EM_ME16 :: ElfMachine
- pattern EM_STARCORE :: ElfMachine
- pattern EM_NDR1 :: ElfMachine
- pattern EM_NCPU :: ElfMachine
- pattern EM_PCP :: ElfMachine
- pattern EM_MMA :: ElfMachine
- pattern EM_68HC12 :: ElfMachine
- pattern EM_COLDFIRE :: ElfMachine
- pattern EM_MIPS_X :: ElfMachine
- pattern EM_IA_64 :: ElfMachine
- pattern EM_H8_500 :: ElfMachine
- pattern EM_H8S :: ElfMachine
- pattern EM_H8_300H :: ElfMachine
- pattern EM_H8_300 :: ElfMachine
- pattern EM_ARC :: ElfMachine
- pattern EM_TRICORE :: ElfMachine
- pattern EM_SPARCV9 :: ElfMachine
- pattern EM_SH :: ElfMachine
- pattern EM_ALPHA :: ElfMachine
- pattern EM_ARM :: ElfMachine
- pattern EM_RCE :: ElfMachine
- pattern EM_RH32 :: ElfMachine
- pattern EM_FR20 :: ElfMachine
- pattern EM_V800 :: ElfMachine
- pattern EM_SPU :: ElfMachine
- pattern EM_S390 :: ElfMachine
- pattern EM_PPC64 :: ElfMachine
- pattern EM_PPC :: ElfMachine
- pattern EM_960 :: ElfMachine
- pattern EM_SPARC32PLUS :: ElfMachine
- pattern EM_VPP500 :: ElfMachine
- pattern EM_PARISC :: ElfMachine
- pattern EM_SPARC64 :: ElfMachine
- pattern EM_MIPS_RS3_LE :: ElfMachine
- pattern EM_S370 :: ElfMachine
- pattern EM_MIPS :: ElfMachine
- pattern EM_860 :: ElfMachine
- pattern EM_486 :: ElfMachine
- pattern EM_88K :: ElfMachine
- pattern EM_68K :: ElfMachine
- pattern EM_386 :: ElfMachine
- pattern EM_SPARC :: ElfMachine
- pattern EM_M32 :: ElfMachine
- pattern EM_NONE :: ElfMachine
- newtype ElfSectionType = ElfSectionType Word32
- pattern SHT_EXT :: Word32 -> ElfSectionType
- pattern SHT_DYNSYM :: ElfSectionType
- pattern SHT_SHLIB :: ElfSectionType
- pattern SHT_REL :: ElfSectionType
- pattern SHT_NOBITS :: ElfSectionType
- pattern SHT_NOTE :: ElfSectionType
- pattern SHT_DYNAMIC :: ElfSectionType
- pattern SHT_HASH :: ElfSectionType
- pattern SHT_RELA :: ElfSectionType
- pattern SHT_STRTAB :: ElfSectionType
- pattern SHT_SYMTAB :: ElfSectionType
- pattern SHT_PROGBITS :: ElfSectionType
- pattern SHT_NULL :: ElfSectionType
- newtype ElfSegmentType = ElfSegmentType Word32
- pattern PT_EXT :: Word32 -> ElfSegmentType
- pattern PT_PHDR :: ElfSegmentType
- pattern PT_SHLIB :: ElfSegmentType
- pattern PT_NOTE :: ElfSegmentType
- pattern PT_INTERP :: ElfSegmentType
- pattern PT_DYNAMIC :: ElfSegmentType
- pattern PT_LOAD :: ElfSegmentType
- pattern PT_NULL :: ElfSegmentType
- newtype ElfSectionFlag = ElfSectionFlag Word64
- pattern SHF_EXT :: Word64 -> ElfSectionFlag
- pattern SHF_EXECINSTR :: ElfSectionFlag
- pattern SHF_ALLOC :: ElfSectionFlag
- pattern SHF_WRITE :: ElfSectionFlag
- newtype ElfSegmentFlag = ElfSegmentFlag Word32
- pattern PF_EXT :: Word32 -> ElfSegmentFlag
- pattern PF_R :: ElfSegmentFlag
- pattern PF_W :: ElfSegmentFlag
- pattern PF_X :: ElfSegmentFlag
- newtype ElfSymbolType = ElfSymbolType Word8
- pattern STT_EXT :: Word8 -> ElfSymbolType
- pattern STT_HiProc :: ElfSymbolType
- pattern STT_LoProc :: ElfSymbolType
- pattern STT_HiOS :: ElfSymbolType
- pattern STT_LoOS :: ElfSymbolType
- pattern STT_TLS :: ElfSymbolType
- pattern STT_Common :: ElfSymbolType
- pattern STT_File :: ElfSymbolType
- pattern STT_Section :: ElfSymbolType
- pattern STT_Func :: ElfSymbolType
- pattern STT_Object :: ElfSymbolType
- pattern STT_NoType :: ElfSymbolType
- newtype ElfSymbolBinding = ElfSymbolBinding Word8
- pattern STB_EXT :: Word8 -> ElfSymbolBinding
- pattern STB_HiProc :: ElfSymbolBinding
- pattern STB_LoProc :: ElfSymbolBinding
- pattern STB_HiOS :: ElfSymbolBinding
- pattern STB_LoOS :: ElfSymbolBinding
- pattern STB_Weak :: ElfSymbolBinding
- pattern STB_Global :: ElfSymbolBinding
- pattern STB_Local :: ElfSymbolBinding
- newtype ElfSectionIndex = ElfSectionIndex Word16
- pattern SHN_EXT :: Word16 -> ElfSectionIndex
- pattern SHN_Common :: ElfSectionIndex
- pattern SHN_Abs :: ElfSectionIndex
- pattern SHN_HiOS :: ElfSectionIndex
- pattern SHN_LoOS :: ElfSectionIndex
- pattern SHN_HiProc :: ElfSectionIndex
- pattern SHN_LoProc :: ElfSectionIndex
- pattern SHN_Undef :: ElfSectionIndex
- newtype ElfRelocationType_AARCH64 = ElfRelocationType_AARCH64 Word32
- pattern R_AARCH64_EXT :: Word32 -> ElfRelocationType_AARCH64
- pattern R_AARCH64_IRELATIVE :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSDESC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLS_TPREL :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLS_DTPREL :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLS_DTPMOD :: ElfRelocationType_AARCH64
- pattern R_AARCH64_RELATIVE :: ElfRelocationType_AARCH64
- pattern R_AARCH64_JUMP_SLOT :: ElfRelocationType_AARCH64
- pattern R_AARCH64_GLOB_DAT :: ElfRelocationType_AARCH64
- pattern R_AARCH64_COPY :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSDESC_CALL :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSDESC_ADD :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSDESC_LDR :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSDESC_OFF_G0_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSDESC_OFF_G1 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSDESC_ADD_LO12 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSDESC_LD64_LO12 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSDESC_ADR_PAGE21 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSDESC_ADR_PREL21 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSDESC_LD_PREL19 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLE_LDST128_TPREL_LO12 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLE_LDST64_TPREL_LO12 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLE_LDST32_TPREL_LO12 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLE_LDST16_TPREL_LO12 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLE_LDST8_TPREL_LO12 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLE_ADD_TPREL_LO12_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLE_ADD_TPREL_LO12 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLE_ADD_TPREL_HI12 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLE_MOVW_TPREL_G0_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLE_MOVW_TPREL_G0 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLE_MOVW_TPREL_G1_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLE_MOVW_TPREL_G1 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLE_MOVW_TPREL_G2 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSIE_LD_GOTTPREL_PREL19 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSIE_MOVW_GOTTPREL_G1 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_LDST128_DTPREL_LO12 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_LDST64_DTPREL_LO12 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_LDST32_DTPREL_LO12 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_LDST16_DTPREL_LO12 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_LDST8_DTPREL_LO12 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_ADD_DTPREL_LO12 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_ADD_DTPREL_HI12 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_MOVW_DTPREL_G0 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_MOVW_DTPREL_G1 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_MOVW_DTPREL_G2 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_LD_PREL19 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_MOVW_G0_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_MOVW_G1 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_ADD_LO12_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_ADR_PAGE21 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TLSLD_ADR_PREL21 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_LD64_GOTPAGE_LO15 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_LD64_GOT_LO12_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_ADR_GOT_PAGE :: ElfRelocationType_AARCH64
- pattern R_AARCH64_LD64_GOTOFF_LO15 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_GOT_LD_PREL19 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_GOTREL32 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_GOTREL64 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_GOTOFF_G3 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_GOTOFF_G2_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_GOTOFF_G2 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_GOTOFF_G1_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_GOTOFF_G1 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_GOTOFF_G0_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_GOTOFF_G0 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_PREL_G3 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_PREL_G2_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_PREL_G2 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_PREL_G1_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_PREL_G1 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_PREL_G0_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_PREL_G0 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_CALL26 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_JUMP26 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_CONDBR19 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_TSTBR14 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_LDST128_ABS_LO12_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_LDST64_ABS_LO12_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_LDST32_ABS_LO12_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_LDST16_ABS_LO12_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_LDST8_ABS_LO12_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_ADD_ABS_LO12_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_ADR_PREL_PG_HI21_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_ADR_PREL_PG_HI21 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_ADR_PREL_LO21 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_LD_PREL_LO19 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_SABS_G2 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_SABS_G1 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_SABS_G0 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_UABS_G3 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_UABS_G2_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_UABS_G2 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_UABS_G1_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_UABS_G1 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_UABS_G0_NC :: ElfRelocationType_AARCH64
- pattern R_AARCH64_MOVW_UABS_G0 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_PLT32 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_PREL16 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_PREL32 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_PREL64 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_ABS16 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_ABS32 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_ABS64 :: ElfRelocationType_AARCH64
- pattern R_AARCH64_NONE_ :: ElfRelocationType_AARCH64
- pattern R_AARCH64_NONE :: ElfRelocationType_AARCH64
Documentation
Constants defined here are declared using Template Haskell so there are no docs. See the sources or the documents describing ELF file format.
Data types, patterns and instances are generated by mkDeclarations
TH macros.
Below is an example of how it works. The code
$(mkDeclarations BaseWord16 "TypeName" "ValuePrefix" "DefaultConstructorName" [ ("_A", 0) , ("_B", 1) ])
produces this:
newtype TypeName = TypeName Word16 deriving (Eq, Ord, Enum, Num, Real, Integral, Bits, FiniteBits) instance Show TypeName where show (TypeName 0) = ("ValuePrefix" ++ "_A") show (TypeName 1) = ("ValuePrefix" ++ "_B") show (TypeName n_a5QI) = ("DefaultConstructorName" ++ (" " ++ show n_a5QI)) pattern ValuePrefix_A :: TypeName pattern ValuePrefix_A = TypeName 0 pattern ValuePrefix_B :: TypeName pattern ValuePrefix_B = TypeName 1 pattern DefaultConstructorName :: Word16 -> TypeName pattern DefaultConstructorName n_a5QJ = TypeName n_a5QJ instance Binary (Le TypeName) where get = (Le <$> (TypeName <$> getWord16le)) put (Le (TypeName n_a5QK)) = putWord16le n_a5QK instance Binary (Be TypeName) where get = (Be <$> (TypeName <$> getWord16be)) put (Be (TypeName n_a5QL)) = putWord16be n_a5QL
Operating system and ABI for which the object is prepared
Instances
pattern ELFOSABI_EXT :: Word8 -> ElfOSABI Source #
pattern ELFOSABI_STANDALONE :: ElfOSABI Source #
pattern ELFOSABI_ARM :: ElfOSABI Source #
pattern ELFOSABI_AROS :: ElfOSABI Source #
pattern ELFOSABI_NSK :: ElfOSABI Source #
pattern ELFOSABI_OPENVMS :: ElfOSABI Source #
pattern ELFOSABI_OPENBSD :: ElfOSABI Source #
pattern ELFOSABI_MODESTO :: ElfOSABI Source #
pattern ELFOSABI_TRU64 :: ElfOSABI Source #
pattern ELFOSABI_FREEBSD :: ElfOSABI Source #
pattern ELFOSABI_IRIX :: ElfOSABI Source #
pattern ELFOSABI_AIX :: ElfOSABI Source #
pattern ELFOSABI_SOLARIS :: ElfOSABI Source #
pattern ELFOSABI_LINUX :: ElfOSABI Source #
pattern ELFOSABI_NETBSD :: ElfOSABI Source #
pattern ELFOSABI_HPUX :: ElfOSABI Source #
pattern ELFOSABI_SYSV :: ElfOSABI Source #
Object file type
Instances
newtype ElfMachine Source #
Target architecture
Instances
pattern EM_EXT :: Word16 -> ElfMachine Source #
pattern EM_AARCH64 :: ElfMachine Source #
pattern EM_UNICORE :: ElfMachine Source #
pattern EM_ARCA :: ElfMachine Source #
pattern EM_SEP :: ElfMachine Source #
pattern EM_SE_C33 :: ElfMachine Source #
pattern EM_BLACKFIN :: ElfMachine Source #
pattern EM_MSP430 :: ElfMachine Source #
pattern EM_F2MC16 :: ElfMachine Source #
pattern EM_CR :: ElfMachine Source #
pattern EM_MAX :: ElfMachine Source #
pattern EM_IP2K :: ElfMachine Source #
pattern EM_ST200 :: ElfMachine Source #
pattern EM_SNP1K :: ElfMachine Source #
pattern EM_TPC :: ElfMachine Source #
pattern EM_NS32K :: ElfMachine Source #
pattern EM_TMM_GPP :: ElfMachine Source #
pattern EM_VIDEOCORE :: ElfMachine Source #
pattern EM_XTENSA :: ElfMachine Source #
pattern EM_ARC_A5 :: ElfMachine Source #
pattern EM_OPENRISC :: ElfMachine Source #
pattern EM_PJ :: ElfMachine Source #
pattern EM_MN10200 :: ElfMachine Source #
pattern EM_MN10300 :: ElfMachine Source #
pattern EM_M32R :: ElfMachine Source #
pattern EM_V850 :: ElfMachine Source #
pattern EM_D30V :: ElfMachine Source #
pattern EM_D10V :: ElfMachine Source #
pattern EM_FR30 :: ElfMachine Source #
pattern EM_AVR :: ElfMachine Source #
pattern EM_PRISM :: ElfMachine Source #
pattern EM_HUANY :: ElfMachine Source #
pattern EM_MMIX :: ElfMachine Source #
pattern EM_ZSP :: ElfMachine Source #
pattern EM_FIREPATH :: ElfMachine Source #
pattern EM_JAVELIN :: ElfMachine Source #
pattern EM_CRIS :: ElfMachine Source #
pattern EM_VAX :: ElfMachine Source #
pattern EM_ST19 :: ElfMachine Source #
pattern EM_SVX :: ElfMachine Source #
pattern EM_68HC05 :: ElfMachine Source #
pattern EM_68HC08 :: ElfMachine Source #
pattern EM_68HC11 :: ElfMachine Source #
pattern EM_68HC16 :: ElfMachine Source #
pattern EM_ST7 :: ElfMachine Source #
pattern EM_ST9PLUS :: ElfMachine Source #
pattern EM_FX66 :: ElfMachine Source #
pattern EM_PDSP :: ElfMachine Source #
pattern EM_X86_64 :: ElfMachine Source #
pattern EM_TINYJ :: ElfMachine Source #
pattern EM_ST100 :: ElfMachine Source #
pattern EM_ME16 :: ElfMachine Source #
pattern EM_STARCORE :: ElfMachine Source #
pattern EM_NDR1 :: ElfMachine Source #
pattern EM_NCPU :: ElfMachine Source #
pattern EM_PCP :: ElfMachine Source #
pattern EM_MMA :: ElfMachine Source #
pattern EM_68HC12 :: ElfMachine Source #
pattern EM_COLDFIRE :: ElfMachine Source #
pattern EM_MIPS_X :: ElfMachine Source #
pattern EM_IA_64 :: ElfMachine Source #
pattern EM_H8_500 :: ElfMachine Source #
pattern EM_H8S :: ElfMachine Source #
pattern EM_H8_300H :: ElfMachine Source #
pattern EM_H8_300 :: ElfMachine Source #
pattern EM_ARC :: ElfMachine Source #
pattern EM_TRICORE :: ElfMachine Source #
pattern EM_SPARCV9 :: ElfMachine Source #
pattern EM_SH :: ElfMachine Source #
pattern EM_ALPHA :: ElfMachine Source #
pattern EM_ARM :: ElfMachine Source #
pattern EM_RCE :: ElfMachine Source #
pattern EM_RH32 :: ElfMachine Source #
pattern EM_FR20 :: ElfMachine Source #
pattern EM_V800 :: ElfMachine Source #
pattern EM_SPU :: ElfMachine Source #
pattern EM_S390 :: ElfMachine Source #
pattern EM_PPC64 :: ElfMachine Source #
pattern EM_PPC :: ElfMachine Source #
pattern EM_960 :: ElfMachine Source #
pattern EM_SPARC32PLUS :: ElfMachine Source #
pattern EM_VPP500 :: ElfMachine Source #
pattern EM_PARISC :: ElfMachine Source #
pattern EM_SPARC64 :: ElfMachine Source #
pattern EM_MIPS_RS3_LE :: ElfMachine Source #
pattern EM_S370 :: ElfMachine Source #
pattern EM_MIPS :: ElfMachine Source #
pattern EM_860 :: ElfMachine Source #
pattern EM_486 :: ElfMachine Source #
pattern EM_88K :: ElfMachine Source #
pattern EM_68K :: ElfMachine Source #
pattern EM_386 :: ElfMachine Source #
pattern EM_SPARC :: ElfMachine Source #
pattern EM_M32 :: ElfMachine Source #
pattern EM_NONE :: ElfMachine Source #
newtype ElfSectionType Source #
Section type
Instances
pattern SHT_EXT :: Word32 -> ElfSectionType Source #
pattern SHT_DYNSYM :: ElfSectionType Source #
pattern SHT_SHLIB :: ElfSectionType Source #
pattern SHT_REL :: ElfSectionType Source #
pattern SHT_NOBITS :: ElfSectionType Source #
pattern SHT_NOTE :: ElfSectionType Source #
pattern SHT_DYNAMIC :: ElfSectionType Source #
pattern SHT_HASH :: ElfSectionType Source #
pattern SHT_RELA :: ElfSectionType Source #
pattern SHT_STRTAB :: ElfSectionType Source #
pattern SHT_SYMTAB :: ElfSectionType Source #
pattern SHT_PROGBITS :: ElfSectionType Source #
pattern SHT_NULL :: ElfSectionType Source #
newtype ElfSegmentType Source #
Segment type
Instances
pattern PT_EXT :: Word32 -> ElfSegmentType Source #
pattern PT_PHDR :: ElfSegmentType Source #
pattern PT_SHLIB :: ElfSegmentType Source #
pattern PT_NOTE :: ElfSegmentType Source #
pattern PT_INTERP :: ElfSegmentType Source #
pattern PT_DYNAMIC :: ElfSegmentType Source #
pattern PT_LOAD :: ElfSegmentType Source #
pattern PT_NULL :: ElfSegmentType Source #
newtype ElfSectionFlag Source #
Attributes of the section
Instances
pattern SHF_EXT :: Word64 -> ElfSectionFlag Source #
pattern SHF_EXECINSTR :: ElfSectionFlag Source #
pattern SHF_ALLOC :: ElfSectionFlag Source #
pattern SHF_WRITE :: ElfSectionFlag Source #
newtype ElfSegmentFlag Source #
Attributes of the segment
Instances
pattern PF_EXT :: Word32 -> ElfSegmentFlag Source #
pattern PF_R :: ElfSegmentFlag Source #
pattern PF_W :: ElfSegmentFlag Source #
pattern PF_X :: ElfSegmentFlag Source #
newtype ElfSymbolType Source #
Symbol type
Instances
pattern STT_EXT :: Word8 -> ElfSymbolType Source #
pattern STT_HiProc :: ElfSymbolType Source #
pattern STT_LoProc :: ElfSymbolType Source #
pattern STT_HiOS :: ElfSymbolType Source #
pattern STT_LoOS :: ElfSymbolType Source #
pattern STT_TLS :: ElfSymbolType Source #
pattern STT_Common :: ElfSymbolType Source #
pattern STT_File :: ElfSymbolType Source #
pattern STT_Section :: ElfSymbolType Source #
pattern STT_Func :: ElfSymbolType Source #
pattern STT_Object :: ElfSymbolType Source #
pattern STT_NoType :: ElfSymbolType Source #
newtype ElfSymbolBinding Source #
Symbol binding
Instances
pattern STB_EXT :: Word8 -> ElfSymbolBinding Source #
pattern STB_HiProc :: ElfSymbolBinding Source #
pattern STB_LoProc :: ElfSymbolBinding Source #
pattern STB_HiOS :: ElfSymbolBinding Source #
pattern STB_LoOS :: ElfSymbolBinding Source #
pattern STB_Weak :: ElfSymbolBinding Source #
pattern STB_Global :: ElfSymbolBinding Source #
pattern STB_Local :: ElfSymbolBinding Source #
newtype ElfSectionIndex Source #
Section index
Instances
pattern SHN_EXT :: Word16 -> ElfSectionIndex Source #
pattern SHN_Common :: ElfSectionIndex Source #
pattern SHN_Abs :: ElfSectionIndex Source #
pattern SHN_HiOS :: ElfSectionIndex Source #
pattern SHN_LoOS :: ElfSectionIndex Source #
pattern SHN_HiProc :: ElfSectionIndex Source #
pattern SHN_LoProc :: ElfSectionIndex Source #
pattern SHN_Undef :: ElfSectionIndex Source #
newtype ElfRelocationType_AARCH64 Source #
AARCH64 relocation type
Instances
pattern R_AARCH64_EXT :: Word32 -> ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_IRELATIVE :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_TLSDESC :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_TLS_TPREL :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_TLS_DTPREL :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_TLS_DTPMOD :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_RELATIVE :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_JUMP_SLOT :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_GLOB_DAT :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_COPY :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_TLSDESC_CALL :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_TLSDESC_ADD :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_TLSDESC_LDR :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_TLSDESC_OFF_G1 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_TLSLD_MOVW_G1 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_ADR_GOT_PAGE :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_GOT_LD_PREL19 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_GOTREL32 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_GOTREL64 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_MOVW_GOTOFF_G3 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_MOVW_GOTOFF_G2 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_MOVW_GOTOFF_G1 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_MOVW_GOTOFF_G0 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_MOVW_PREL_G3 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_MOVW_PREL_G2 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_MOVW_PREL_G1 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_MOVW_PREL_G0 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_CALL26 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_JUMP26 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_CONDBR19 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_TSTBR14 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_ADR_PREL_LO21 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_LD_PREL_LO19 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_MOVW_SABS_G2 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_MOVW_SABS_G1 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_MOVW_SABS_G0 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_MOVW_UABS_G3 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_MOVW_UABS_G2 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_MOVW_UABS_G1 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_MOVW_UABS_G0 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_PLT32 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_PREL16 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_PREL32 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_PREL64 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_ABS16 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_ABS32 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_ABS64 :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_NONE_ :: ElfRelocationType_AARCH64 Source #
pattern R_AARCH64_NONE :: ElfRelocationType_AARCH64 Source #