Instantiation.BinaryElf
Contents
elf_read_file :: ByteString -> Elf Source #
Associated Types
type Rep Elf :: Type -> Type #
Methods
from :: Elf -> Rep Elf x #
to :: Rep Elf x -> Elf #
type Rep ElfSection :: Type -> Type #
from :: ElfSection -> Rep ElfSection x #
to :: Rep ElfSection x -> ElfSection #
type Rep ElfSectionType :: Type -> Type #
from :: ElfSectionType -> Rep ElfSectionType x #
to :: Rep ElfSectionType x -> ElfSectionType #
type Rep ElfSectionFlags :: Type -> Type #
from :: ElfSectionFlags -> Rep ElfSectionFlags x #
to :: Rep ElfSectionFlags x -> ElfSectionFlags #
type Rep ElfClass :: Type -> Type #
from :: ElfClass -> Rep ElfClass x #
to :: Rep ElfClass x -> ElfClass #
type Rep ElfData :: Type -> Type #
from :: ElfData -> Rep ElfData x #
to :: Rep ElfData x -> ElfData #
type Rep ElfOSABI :: Type -> Type #
from :: ElfOSABI -> Rep ElfOSABI x #
to :: Rep ElfOSABI x -> ElfOSABI #
type Rep ElfType :: Type -> Type #
from :: ElfType -> Rep ElfType x #
to :: Rep ElfType x -> ElfType #
type Rep ElfMachine :: Type -> Type #
from :: ElfMachine -> Rep ElfMachine x #
to :: Rep ElfMachine x -> ElfMachine #
type Rep ElfSegment :: Type -> Type #
from :: ElfSegment -> Rep ElfSegment x #
to :: Rep ElfSegment x -> ElfSegment #
type Rep ElfSegmentType :: Type -> Type #
from :: ElfSegmentType -> Rep ElfSegmentType x #
to :: Rep ElfSegmentType x -> ElfSegmentType #
type Rep ElfSegmentFlag :: Type -> Type #
from :: ElfSegmentFlag -> Rep ElfSegmentFlag x #
to :: Rep ElfSegmentFlag x -> ElfSegmentFlag #
put :: Putter Elf #
get :: Get Elf #
put :: Putter ElfSection #
get :: Get ElfSection #
put :: Putter ElfSectionType #
get :: Get ElfSectionType #
put :: Putter ElfSectionFlags #
get :: Get ElfSectionFlags #
put :: Putter ElfClass #
get :: Get ElfClass #
put :: Putter ElfData #
get :: Get ElfData #
put :: Putter ElfOSABI #
get :: Get ElfOSABI #
put :: Putter ElfType #
get :: Get ElfType #
put :: Putter ElfMachine #
get :: Get ElfMachine #
put :: Putter ElfSegment #
get :: Get ElfSegment #
put :: Putter ElfSegmentType #
get :: Get ElfSegmentType #
put :: Putter ElfSegmentFlag #
get :: Get ElfSegmentFlag #
binary_read_ro_data :: Elf -> Word64 -> Int -> Maybe [Word8] Source #
binary_read_data :: Elf -> Word64 -> Int -> Maybe [Word8] Source #
binary_get_sections_info :: Elf -> SectionsInfo Source #
binary_get_symbols :: Elf -> SymbolTable Source #
binary_get_relocations :: Elf -> Set Relocation Source #
binary_pp :: Elf -> String Source #
binary_entry :: Elf -> Word64 Source #
binary_text_section_size :: Elf -> Int Source #