peparser-0.6: A parser for PE object files.

Safe HaskellNone

Data.PE.Tools

Documentation

type Filename = StringSource

type Secname = StringSource

type SectionMeta = (SectionTable, ByteString)Source

getary :: Filename -> UArray Word32 Word8Source

data ImportDirectoryEntry Source

Constructors

ID 

Fields

lookupTableRVA :: Word32
 
timeStamp :: Word32
 
forwarderChain :: Word32
 
nameRVA :: Word32
 
importAddressTableRVA :: Word32
 
IDNull 

data HintNameEntry Source

Constructors

HNE 

Fields

hint :: Word16
 
name :: String
 

Instances

importInfo :: Filename -> [([Char], [String])]Source

importInfo' :: [SectionMeta] -> [DirectoryEntry] -> [([Char], [String])]Source

buildImport :: UArray Word32 Word8 -> [DirectoryEntry] -> ImportDirectorySource

getdllname :: UArray Word32 Word8 -> ImportDirectoryEntry -> [Char]Source

sectoblist :: Num a => (SectionTable, ByteString) -> [(a, Word8)]Source

arrayrep :: [SectionMeta] -> UArray Word32 Word8Source

grabAt :: Int -> UArray Word32 Word8 -> ByteStringSource