Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- readElfSectionByName :: DynFlags -> ByteString -> String -> IO (Maybe ByteString)
- readElfNoteAsString :: DynFlags -> FilePath -> String -> String -> IO (Maybe String)
- makeElfNote :: Platform -> String -> String -> Word32 -> String -> SDoc
Documentation
readElfSectionByName :: DynFlags -> ByteString -> String -> IO (Maybe ByteString) Source #
Given a section name, read its contents as a ByteString.
If the section isn't found or if there is any parsing error, we return Nothing