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