Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- readElfSectionByName :: Logger -> DynFlags -> ByteString -> String -> IO (Maybe ByteString)
- readElfNoteAsString :: Logger -> DynFlags -> FilePath -> String -> String -> IO (Maybe String)
- makeElfNote :: Platform -> String -> String -> Word32 -> String -> SDoc
Documentation
readElfSectionByName :: Logger -> 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