curly-system-0.3.3: System-specific code generation libraries for the Curly compiler

Safe HaskellNone
LanguageHaskell2010

Curly.System.Format.ELF

Documentation

class (Format Bytes (Elf16 sys), Format Bytes (Elf32 sys), Format Bytes (Elf64 sys), Format Bytes (ElfN sys)) => ElfSystem sys where Source #

Minimal complete definition

e_16, e_from16, e_32, e_from32, e_64, e_from64, e_n, e_fromN, e_abi

Associated Types

data Elf16 sys :: * Source #

data Elf32 sys :: * Source #

data Elf64 sys :: * Source #

data ElfN sys :: * Source #

Instances

ElfSystem Linux_ARM Source # 
ElfSystem Linux_X86_64 Source # 
ElfSystem Linux_X86 Source # 

data Linux_X86 Source #

Instances

ElfShow Linux_X86 Source # 
ElfSystem Linux_X86 Source # 
Serializable Bytes (Elf16 Linux_X86) Source # 
Serializable Bytes (Elf32 Linux_X86) Source # 
Serializable Bytes (Elf64 Linux_X86) Source # 
Serializable Bytes (ElfN Linux_X86) Source # 
Format Bytes (Elf16 Linux_X86) Source # 
Format Bytes (Elf32 Linux_X86) Source # 
Format Bytes (Elf64 Linux_X86) Source # 
Format Bytes (ElfN Linux_X86) Source # 
Show (ElfN Linux_X86) Source # 
data Elf16 Linux_X86 Source # 
data Elf32 Linux_X86 Source # 
data Elf64 Linux_X86 Source # 
data ElfN Linux_X86 Source # 

data Linux_X86_64 Source #

Instances

ElfShow Linux_X86_64 Source # 
ElfSystem Linux_X86_64 Source # 
Serializable Bytes (Elf16 Linux_X86_64) Source # 
Serializable Bytes (Elf32 Linux_X86_64) Source # 
Serializable Bytes (Elf64 Linux_X86_64) Source # 
Serializable Bytes (ElfN Linux_X86_64) Source # 
Format Bytes (Elf16 Linux_X86_64) Source # 
Format Bytes (Elf32 Linux_X86_64) Source # 
Format Bytes (Elf64 Linux_X86_64) Source # 
Format Bytes (ElfN Linux_X86_64) Source # 
Show (ElfN Linux_X86_64) Source # 
data Elf16 Linux_X86_64 Source # 
data Elf32 Linux_X86_64 Source # 
data Elf64 Linux_X86_64 Source # 
data ElfN Linux_X86_64 Source # 

data Linux_ARM Source #

Instances

ElfShow Linux_ARM Source # 
ElfSystem Linux_ARM Source # 
Serializable Bytes (Elf16 Linux_ARM) Source # 
Serializable Bytes (Elf32 Linux_ARM) Source # 
Serializable Bytes (Elf64 Linux_ARM) Source # 
Serializable Bytes (ElfN Linux_ARM) Source # 
Format Bytes (Elf16 Linux_ARM) Source # 
Format Bytes (Elf32 Linux_ARM) Source # 
Format Bytes (Elf64 Linux_ARM) Source # 
Format Bytes (ElfN Linux_ARM) Source # 
Show (ElfN Linux_ARM) Source # 
data Elf16 Linux_ARM Source # 
data Elf32 Linux_ARM Source # 
data Elf64 Linux_ARM Source # 
data ElfN Linux_ARM Source # 

data ElfFlags t Source #

Constructors

ElfFlags (Set t) 

Instances

(ElfEnum flags u, HasFlagOps u, Serializable Bytes u) => Serializable Bytes (ElfFlags flags) Source # 
(ElfEnum flags u, Ord flags, HasFlagOps u, Format Bytes u) => Format Bytes (ElfFlags flags) Source # 

Methods

datum :: Parser Bytes (ElfFlags flags) #

Show t => Show (ElfFlags t) Source # 

Methods

showsPrec :: Int -> ElfFlags t -> ShowS #

show :: ElfFlags t -> String #

showList :: [ElfFlags t] -> ShowS #

fromFlagList :: Ord k => [(Bool, k)] -> ElfFlags k Source #

isFlagSet :: Ord k => k -> ElfFlags k -> Bool Source #

class HasFlagOps t where Source #

Minimal complete definition

nullFlag, addFlags, hasFlags

Methods

nullFlag :: t Source #

addFlags :: t -> t -> t Source #

hasFlags :: t -> t -> Bool Source #

Instances

HasFlagOps Word8 Source # 
ElfSystem sys => HasFlagOps (Elf16 sys) Source # 

Methods

nullFlag :: Elf16 sys Source #

addFlags :: Elf16 sys -> Elf16 sys -> Elf16 sys Source #

hasFlags :: Elf16 sys -> Elf16 sys -> Bool Source #

ElfSystem sys => HasFlagOps (Elf32 sys) Source # 

Methods

nullFlag :: Elf32 sys Source #

addFlags :: Elf32 sys -> Elf32 sys -> Elf32 sys Source #

hasFlags :: Elf32 sys -> Elf32 sys -> Bool Source #

ElfSystem sys => HasFlagOps (Elf64 sys) Source # 

Methods

nullFlag :: Elf64 sys Source #

addFlags :: Elf64 sys -> Elf64 sys -> Elf64 sys Source #

hasFlags :: Elf64 sys -> Elf64 sys -> Bool Source #

ElfSystem sys => HasFlagOps (ElfN sys) Source # 

Methods

nullFlag :: ElfN sys Source #

addFlags :: ElfN sys -> ElfN sys -> ElfN sys Source #

hasFlags :: ElfN sys -> ElfN sys -> Bool Source #

toElfEnum_default :: (Eq u, Enum t, Bounded t, ElfEnum t u) => u -> Maybe t Source #

class (Eq u, Ord t, Enum t, Bounded t) => ElfEnum t u | t -> u where Source #

Minimal complete definition

fromElfEnum

Methods

fromElfEnum :: t -> u Source #

toElfEnum :: u -> Maybe t Source #

Instances

ElfEnum ElfSymVisibility Word8 Source # 
ElfEnum ElfSymBind Word8 Source # 
ElfEnum ElfSymType Word8 Source # 
ElfEnum ElfOrder Word8 Source # 
ElfEnum ElfBits Word8 Source # 
ElfEnum ElfABI Word8 Source # 
ElfSystem sys => ElfEnum (ElfRelType sys) Word8 Source # 
ElfSystem sys => ElfEnum (ElfSectionHeaderFlag sys) (ElfN sys) Source # 
ElfSystem sys => ElfEnum (ElfSHType sys) (Elf32 sys) Source # 

Methods

fromElfEnum :: ElfSHType sys -> Elf32 sys Source #

toElfEnum :: Elf32 sys -> Maybe (ElfSHType sys) Source #

ElfSystem sys => ElfEnum (ElfProgramHeaderFlag sys) (Elf32 sys) Source # 
ElfSystem sys => ElfEnum (ElfPHType sys) (Elf32 sys) Source # 

Methods

fromElfEnum :: ElfPHType sys -> Elf32 sys Source #

toElfEnum :: Elf32 sys -> Maybe (ElfPHType sys) Source #

ElfSystem sys => ElfEnum (ElfMachine sys) (Elf16 sys) Source # 

Methods

fromElfEnum :: ElfMachine sys -> Elf16 sys Source #

toElfEnum :: Elf16 sys -> Maybe (ElfMachine sys) Source #

ElfSystem sys => ElfEnum (ElfType sys) (Elf16 sys) Source # 

Methods

fromElfEnum :: ElfType sys -> Elf16 sys Source #

toElfEnum :: Elf16 sys -> Maybe (ElfType sys) Source #

data Elf sys Source #

Constructors

Elf 

Fields

Instances

ElfSystem sys => Serializable Bytes (Elf sys) Source # 

Methods

encode :: Proxy Bytes -> Elf sys -> StreamBuilder Bytes #

(ElfShow sys, ElfSystem sys) => Format Bytes (Elf sys) Source # 

Methods

datum :: Parser Bytes (Elf sys) #

ElfShow sys => Show (Elf sys) Source # 

Methods

showsPrec :: Int -> Elf sys -> ShowS #

show :: Elf sys -> String #

showList :: [Elf sys] -> ShowS #

data ElfSection sys Source #

Constructors

ElfSection 

Instances

ElfShow sys => Show (ElfSection sys) Source # 

Methods

showsPrec :: Int -> ElfSection sys -> ShowS #

show :: ElfSection sys -> String #

showList :: [ElfSection sys] -> ShowS #

data ElfType sys Source #

Constructors

ET_Exec 
ET_Rel 
ET_Dyn 

Instances

ElfSystem sys => Serializable Bytes (ElfType sys) Source # 
ElfSystem sys => Format Bytes (ElfType sys) Source # 

Methods

datum :: Parser Bytes (ElfType sys) #

Bounded (ElfType sys) Source # 

Methods

minBound :: ElfType sys #

maxBound :: ElfType sys #

Enum (ElfType sys) Source # 

Methods

succ :: ElfType sys -> ElfType sys #

pred :: ElfType sys -> ElfType sys #

toEnum :: Int -> ElfType sys #

fromEnum :: ElfType sys -> Int #

enumFrom :: ElfType sys -> [ElfType sys] #

enumFromThen :: ElfType sys -> ElfType sys -> [ElfType sys] #

enumFromTo :: ElfType sys -> ElfType sys -> [ElfType sys] #

enumFromThenTo :: ElfType sys -> ElfType sys -> ElfType sys -> [ElfType sys] #

Eq (ElfType sys) Source # 

Methods

(==) :: ElfType sys -> ElfType sys -> Bool #

(/=) :: ElfType sys -> ElfType sys -> Bool #

Ord (ElfType sys) Source # 

Methods

compare :: ElfType sys -> ElfType sys -> Ordering #

(<) :: ElfType sys -> ElfType sys -> Bool #

(<=) :: ElfType sys -> ElfType sys -> Bool #

(>) :: ElfType sys -> ElfType sys -> Bool #

(>=) :: ElfType sys -> ElfType sys -> Bool #

max :: ElfType sys -> ElfType sys -> ElfType sys #

min :: ElfType sys -> ElfType sys -> ElfType sys #

Show (ElfType sys) Source # 

Methods

showsPrec :: Int -> ElfType sys -> ShowS #

show :: ElfType sys -> String #

showList :: [ElfType sys] -> ShowS #

ElfSystem sys => ElfEnum (ElfType sys) (Elf16 sys) Source # 

Methods

fromElfEnum :: ElfType sys -> Elf16 sys Source #

toElfEnum :: Elf16 sys -> Maybe (ElfType sys) Source #

data ElfMachine sys Source #

Constructors

EM_X86 
EM_X86_64 
EM_ARM 

Instances

ElfSystem sys => Serializable Bytes (ElfMachine sys) Source # 
ElfSystem sys => Format Bytes (ElfMachine sys) Source # 

Methods

datum :: Parser Bytes (ElfMachine sys) #

Bounded (ElfMachine sys) Source # 
Enum (ElfMachine sys) Source # 

Methods

succ :: ElfMachine sys -> ElfMachine sys #

pred :: ElfMachine sys -> ElfMachine sys #

toEnum :: Int -> ElfMachine sys #

fromEnum :: ElfMachine sys -> Int #

enumFrom :: ElfMachine sys -> [ElfMachine sys] #

enumFromThen :: ElfMachine sys -> ElfMachine sys -> [ElfMachine sys] #

enumFromTo :: ElfMachine sys -> ElfMachine sys -> [ElfMachine sys] #

enumFromThenTo :: ElfMachine sys -> ElfMachine sys -> ElfMachine sys -> [ElfMachine sys] #

Eq (ElfMachine sys) Source # 

Methods

(==) :: ElfMachine sys -> ElfMachine sys -> Bool #

(/=) :: ElfMachine sys -> ElfMachine sys -> Bool #

Ord (ElfMachine sys) Source # 

Methods

compare :: ElfMachine sys -> ElfMachine sys -> Ordering #

(<) :: ElfMachine sys -> ElfMachine sys -> Bool #

(<=) :: ElfMachine sys -> ElfMachine sys -> Bool #

(>) :: ElfMachine sys -> ElfMachine sys -> Bool #

(>=) :: ElfMachine sys -> ElfMachine sys -> Bool #

max :: ElfMachine sys -> ElfMachine sys -> ElfMachine sys #

min :: ElfMachine sys -> ElfMachine sys -> ElfMachine sys #

Show (ElfMachine sys) Source # 

Methods

showsPrec :: Int -> ElfMachine sys -> ShowS #

show :: ElfMachine sys -> String #

showList :: [ElfMachine sys] -> ShowS #

ElfSystem sys => ElfEnum (ElfMachine sys) (Elf16 sys) Source # 

Methods

fromElfEnum :: ElfMachine sys -> Elf16 sys Source #

toElfEnum :: Elf16 sys -> Maybe (ElfMachine sys) Source #

natSize :: (ElfSystem sys, Num n) => sys -> n Source #

ehSize :: ElfSystem sys => sys -> Word16 Source #

phEntSize :: ElfSystem sys => sys -> Word16 Source #

shEntSize :: ElfSystem sys => sys -> Word16 Source #

stEntSize :: ElfSystem sys => sys -> Word16 Source #

data ElfIdent Source #

data ElfHeader sys Source #

Instances

ElfSystem sys => Serializable Bytes (ElfHeader sys) Source # 
ElfSystem sys => Format Bytes (ElfHeader sys) Source # 

Methods

datum :: Parser Bytes (ElfHeader sys) #

ElfShow sys => Show (ElfHeader sys) Source # 

Methods

showsPrec :: Int -> ElfHeader sys -> ShowS #

show :: ElfHeader sys -> String #

showList :: [ElfHeader sys] -> ShowS #

Generic (ElfHeader sys) Source # 

Associated Types

type Rep (ElfHeader sys) :: * -> * #

Methods

from :: ElfHeader sys -> Rep (ElfHeader sys) x #

to :: Rep (ElfHeader sys) x -> ElfHeader sys #

type Rep (ElfHeader sys) Source # 
type Rep (ElfHeader sys) = D1 (MetaData "ElfHeader" "Curly.System.Format.ELF" "curly-system-0.3.3-ETJufoDdCOPGC8DRl8mngx" False) (C1 (MetaCons "ElfHeader" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "eh_ident") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ElfIdent)) ((:*:) (S1 (MetaSel (Just Symbol "eh_type") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (ElfType sys))) (S1 (MetaSel (Just Symbol "eh_machine") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (ElfMachine sys))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "eh_fileVersion") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Elf32 sys))) (S1 (MetaSel (Just Symbol "eh_entry") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (ElfN sys)))) ((:*:) (S1 (MetaSel (Just Symbol "eh_phoff") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (ElfN sys))) (S1 (MetaSel (Just Symbol "eh_shoff") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (ElfN sys)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "eh_flags") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Elf32 sys))) ((:*:) (S1 (MetaSel (Just Symbol "eh_ehsize") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Elf16 sys))) (S1 (MetaSel (Just Symbol "eh_phentsize") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Elf16 sys))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "eh_phnum") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Elf16 sys))) (S1 (MetaSel (Just Symbol "eh_shentsize") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Elf16 sys)))) ((:*:) (S1 (MetaSel (Just Symbol "eh_shnum") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Elf16 sys))) (S1 (MetaSel (Just Symbol "eh_shstrndx") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Elf16 sys))))))))

data ElfPHType sys Source #

Instances

ElfSystem sys => Serializable Bytes (ElfPHType sys) Source # 
ElfSystem sys => Format Bytes (ElfPHType sys) Source # 

Methods

datum :: Parser Bytes (ElfPHType sys) #

Bounded (ElfPHType sys) Source # 

Methods

minBound :: ElfPHType sys #

maxBound :: ElfPHType sys #

Enum (ElfPHType sys) Source # 

Methods

succ :: ElfPHType sys -> ElfPHType sys #

pred :: ElfPHType sys -> ElfPHType sys #

toEnum :: Int -> ElfPHType sys #

fromEnum :: ElfPHType sys -> Int #

enumFrom :: ElfPHType sys -> [ElfPHType sys] #

enumFromThen :: ElfPHType sys -> ElfPHType sys -> [ElfPHType sys] #

enumFromTo :: ElfPHType sys -> ElfPHType sys -> [ElfPHType sys] #

enumFromThenTo :: ElfPHType sys -> ElfPHType sys -> ElfPHType sys -> [ElfPHType sys] #

Eq (ElfPHType sys) Source # 

Methods

(==) :: ElfPHType sys -> ElfPHType sys -> Bool #

(/=) :: ElfPHType sys -> ElfPHType sys -> Bool #

Ord (ElfPHType sys) Source # 

Methods

compare :: ElfPHType sys -> ElfPHType sys -> Ordering #

(<) :: ElfPHType sys -> ElfPHType sys -> Bool #

(<=) :: ElfPHType sys -> ElfPHType sys -> Bool #

(>) :: ElfPHType sys -> ElfPHType sys -> Bool #

(>=) :: ElfPHType sys -> ElfPHType sys -> Bool #

max :: ElfPHType sys -> ElfPHType sys -> ElfPHType sys #

min :: ElfPHType sys -> ElfPHType sys -> ElfPHType sys #

Show (ElfPHType sys) Source # 

Methods

showsPrec :: Int -> ElfPHType sys -> ShowS #

show :: ElfPHType sys -> String #

showList :: [ElfPHType sys] -> ShowS #

ElfSystem sys => ElfEnum (ElfPHType sys) (Elf32 sys) Source # 

Methods

fromElfEnum :: ElfPHType sys -> Elf32 sys Source #

toElfEnum :: Elf32 sys -> Maybe (ElfPHType sys) Source #

data ElfProgramHeaderFlag sys Source #

Constructors

EPH_Read 
EPH_Write 
EPH_Exec 

Instances

Bounded (ElfProgramHeaderFlag sys) Source # 
Enum (ElfProgramHeaderFlag sys) Source # 
Eq (ElfProgramHeaderFlag sys) Source # 
Ord (ElfProgramHeaderFlag sys) Source # 
Show (ElfProgramHeaderFlag sys) Source # 
ElfSystem sys => ElfEnum (ElfProgramHeaderFlag sys) (Elf32 sys) Source # 

data ElfSHType sys Source #

Instances

ElfSystem sys => Serializable Bytes (ElfSHType sys) Source # 
ElfSystem sys => Format Bytes (ElfSHType sys) Source # 

Methods

datum :: Parser Bytes (ElfSHType sys) #

Bounded (ElfSHType sys) Source # 

Methods

minBound :: ElfSHType sys #

maxBound :: ElfSHType sys #

Enum (ElfSHType sys) Source # 

Methods

succ :: ElfSHType sys -> ElfSHType sys #

pred :: ElfSHType sys -> ElfSHType sys #

toEnum :: Int -> ElfSHType sys #

fromEnum :: ElfSHType sys -> Int #

enumFrom :: ElfSHType sys -> [ElfSHType sys] #

enumFromThen :: ElfSHType sys -> ElfSHType sys -> [ElfSHType sys] #

enumFromTo :: ElfSHType sys -> ElfSHType sys -> [ElfSHType sys] #

enumFromThenTo :: ElfSHType sys -> ElfSHType sys -> ElfSHType sys -> [ElfSHType sys] #

Eq (ElfSHType sys) Source # 

Methods

(==) :: ElfSHType sys -> ElfSHType sys -> Bool #

(/=) :: ElfSHType sys -> ElfSHType sys -> Bool #

Ord (ElfSHType sys) Source # 

Methods

compare :: ElfSHType sys -> ElfSHType sys -> Ordering #

(<) :: ElfSHType sys -> ElfSHType sys -> Bool #

(<=) :: ElfSHType sys -> ElfSHType sys -> Bool #

(>) :: ElfSHType sys -> ElfSHType sys -> Bool #

(>=) :: ElfSHType sys -> ElfSHType sys -> Bool #

max :: ElfSHType sys -> ElfSHType sys -> ElfSHType sys #

min :: ElfSHType sys -> ElfSHType sys -> ElfSHType sys #

Show (ElfSHType sys) Source # 

Methods

showsPrec :: Int -> ElfSHType sys -> ShowS #

show :: ElfSHType sys -> String #

showList :: [ElfSHType sys] -> ShowS #

ElfSystem sys => ElfEnum (ElfSHType sys) (Elf32 sys) Source # 

Methods

fromElfEnum :: ElfSHType sys -> Elf32 sys Source #

toElfEnum :: Elf32 sys -> Maybe (ElfSHType sys) Source #

data ElfSectionHeaderFlag sys Source #

Instances

Bounded (ElfSectionHeaderFlag sys) Source # 
Enum (ElfSectionHeaderFlag sys) Source # 
Eq (ElfSectionHeaderFlag sys) Source # 
Ord (ElfSectionHeaderFlag sys) Source # 
Show (ElfSectionHeaderFlag sys) Source # 
ElfSystem sys => ElfEnum (ElfSectionHeaderFlag sys) (ElfN sys) Source # 

data ElfSectionHeader sys Source #

Instances

ElfSystem sys => Serializable Bytes (ElfSectionHeader sys) Source # 
ElfSystem sys => Format Bytes (ElfSectionHeader sys) Source # 
ElfShow sys => Show (ElfSectionHeader sys) Source # 
Generic (ElfSectionHeader sys) Source # 

Associated Types

type Rep (ElfSectionHeader sys) :: * -> * #

type Rep (ElfSectionHeader sys) Source # 

data ElfSymVisibility Source #

Instances

Bounded ElfSymVisibility Source # 
Enum ElfSymVisibility Source # 
Eq ElfSymVisibility Source # 
Ord ElfSymVisibility Source # 
Show ElfSymVisibility Source # 
Serializable Bytes ElfSymVisibility Source # 
Format Bytes ElfSymVisibility Source # 
ElfEnum ElfSymVisibility Word8 Source # 

data ElfSym sys Source #

Instances

ElfSystem sys => Serializable Bytes (ElfSym sys) Source # 
ElfSystem sys => Format Bytes (ElfSym sys) Source # 

Methods

datum :: Parser Bytes (ElfSym sys) #

ElfShow sys => Show (ElfSym sys) Source # 

Methods

showsPrec :: Int -> ElfSym sys -> ShowS #

show :: ElfSym sys -> String #

showList :: [ElfSym sys] -> ShowS #

Generic (ElfSym sys) Source # 

Associated Types

type Rep (ElfSym sys) :: * -> * #

Methods

from :: ElfSym sys -> Rep (ElfSym sys) x #

to :: Rep (ElfSym sys) x -> ElfSym sys #

type Rep (ElfSym sys) Source # 

data ElfRelType sys Source #

Instances

Bounded (ElfRelType sys) Source # 
Enum (ElfRelType sys) Source # 

Methods

succ :: ElfRelType sys -> ElfRelType sys #

pred :: ElfRelType sys -> ElfRelType sys #

toEnum :: Int -> ElfRelType sys #

fromEnum :: ElfRelType sys -> Int #

enumFrom :: ElfRelType sys -> [ElfRelType sys] #

enumFromThen :: ElfRelType sys -> ElfRelType sys -> [ElfRelType sys] #

enumFromTo :: ElfRelType sys -> ElfRelType sys -> [ElfRelType sys] #

enumFromThenTo :: ElfRelType sys -> ElfRelType sys -> ElfRelType sys -> [ElfRelType sys] #

Eq (ElfRelType sys) Source # 

Methods

(==) :: ElfRelType sys -> ElfRelType sys -> Bool #

(/=) :: ElfRelType sys -> ElfRelType sys -> Bool #

Ord (ElfRelType sys) Source # 

Methods

compare :: ElfRelType sys -> ElfRelType sys -> Ordering #

(<) :: ElfRelType sys -> ElfRelType sys -> Bool #

(<=) :: ElfRelType sys -> ElfRelType sys -> Bool #

(>) :: ElfRelType sys -> ElfRelType sys -> Bool #

(>=) :: ElfRelType sys -> ElfRelType sys -> Bool #

max :: ElfRelType sys -> ElfRelType sys -> ElfRelType sys #

min :: ElfRelType sys -> ElfRelType sys -> ElfRelType sys #

Show (ElfRelType sys) Source # 

Methods

showsPrec :: Int -> ElfRelType sys -> ShowS #

show :: ElfRelType sys -> String #

showList :: [ElfRelType sys] -> ShowS #

ElfSystem sys => ElfEnum (ElfRelType sys) Word8 Source # 

data ElfRelInfo sys Source #

Constructors

ElfRelInfo 

Fields

data ElfRel sys Source #

Constructors

ElfRel 

Fields

Instances

ElfSystem sys => Serializable Bytes (ElfRel sys) Source # 
ElfSystem sys => Format Bytes (ElfRel sys) Source # 

Methods

datum :: Parser Bytes (ElfRel sys) #

(ElfShow sys, ElfSystem sys) => Show (ElfRel sys) Source # 

Methods

showsPrec :: Int -> ElfRel sys -> ShowS #

show :: ElfRel sys -> String #

showList :: [ElfRel sys] -> ShowS #

Generic (ElfRel sys) Source # 

Associated Types

type Rep (ElfRel sys) :: * -> * #

Methods

from :: ElfRel sys -> Rep (ElfRel sys) x #

to :: Rep (ElfRel sys) x -> ElfRel sys #

type Rep (ElfRel sys) Source # 
type Rep (ElfRel sys) = D1 (MetaData "ElfRel" "Curly.System.Format.ELF" "curly-system-0.3.3-ETJufoDdCOPGC8DRl8mngx" False) (C1 (MetaCons "ElfRel" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "er_offset") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (ElfN sys))) (S1 (MetaSel (Just Symbol "er_info") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (ElfRelInfo sys)))))

data ElfRela sys Source #

Constructors

ElfRela 

Fields

Instances

ElfSystem sys => Serializable Bytes (ElfRela sys) Source # 
ElfSystem sys => Format Bytes (ElfRela sys) Source # 

Methods

datum :: Parser Bytes (ElfRela sys) #

(ElfShow sys, ElfSystem sys) => Show (ElfRela sys) Source # 

Methods

showsPrec :: Int -> ElfRela sys -> ShowS #

show :: ElfRela sys -> String #

showList :: [ElfRela sys] -> ShowS #

Generic (ElfRela sys) Source # 

Associated Types

type Rep (ElfRela sys) :: * -> * #

Methods

from :: ElfRela sys -> Rep (ElfRela sys) x #

to :: Rep (ElfRela sys) x -> ElfRela sys #

type Rep (ElfRela sys) Source # 
type Rep (ElfRela sys) = D1 (MetaData "ElfRela" "Curly.System.Format.ELF" "curly-system-0.3.3-ETJufoDdCOPGC8DRl8mngx" False) (C1 (MetaCons "ElfRela" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "era_offset") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (ElfN sys))) ((:*:) (S1 (MetaSel (Just Symbol "era_info") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (ElfRelInfo sys))) (S1 (MetaSel (Just Symbol "era_addend") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (ElfN sys))))))

sHN_ABS :: Num n => n Source #