Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Binary.Elf
Contents
Synopsis
- data NamedElf = NamedElf {
- elf :: !Elf
- elf_dir_name :: !String
- elf_file_name :: !String
- elf_sections_info :: !SectionsInfo
- elf_symbol_table :: !SymbolTable
- elf_relocs :: !(Set Relocation)
- sections_ro_data :: [(String, String)]
- sections_data :: [(String, String)]
- sections_bss :: [(String, String)]
- sections_text :: [(String, String)]
- isRelevantElfSection :: ElfSection -> Bool
- isAllocated :: ElfSection -> Bool
- read_bytes_section :: Word64 -> Int -> ElfSection -> [Word8]
- contains_address :: Word64 -> ElfSection -> Bool
- elf_read_bytestring :: Elf -> Word64 -> Int -> Maybe ByteString
- elf_read_ro_data :: Elf -> Word64 -> Int -> Maybe [Word8]
- elf_read_data :: Elf -> Word64 -> Int -> Maybe [Word8]
- elf_get_relocs :: Elf -> Set Relocation
- elf_get_symbol_table :: Elf -> SymbolTable
- get_string_from_steName :: (a, Maybe ByteString) -> String
- elf_min_address :: Elf -> Word64
- elf_max_address :: Elf -> Word64
- elf_read_file :: ByteString -> Elf
- pp_elf_section :: ElfSection -> [Char]
- pp_elf :: Elf -> [Char]
- elf_get_sections_info :: Elf -> SectionsInfo
- elf_text_section_size :: Elf -> Int
Documentation
Constructors
NamedElf | |
Fields
|
Instances
sections_ro_data :: [(String, String)] Source #
Overview of sections with read only data.
sections_data :: [(String, String)] Source #
sections_bss :: [(String, String)] Source #
sections_text :: [(String, String)] Source #
isAllocated :: ElfSection -> Bool Source #
read_bytes_section :: Word64 -> Int -> ElfSection -> [Word8] Source #
contains_address :: Word64 -> ElfSection -> Bool Source #
elf_read_bytestring :: Elf -> Word64 -> Int -> Maybe ByteString Source #
elf_get_relocs :: Elf -> Set Relocation Source #
get_string_from_steName :: (a, Maybe ByteString) -> String Source #
elf_min_address :: Elf -> Word64 Source #
elf_max_address :: Elf -> Word64 Source #
elf_read_file :: ByteString -> Elf Source #
pp_elf_section :: ElfSection -> [Char] Source #
elf_text_section_size :: Elf -> Int Source #