- type Target = Ptr Target'
- type TargetName = String
- listSupported :: IO [TargetName]
- setDefault :: TargetName -> IO Bool
- getByteorder :: Target -> IO Endian
- getHeaderByteorder :: Target -> IO Endian
- getObjectFlags :: Target -> IO [Flags]
- getSectionFlags :: Target -> IO [Flags]
- getFlavour :: Target -> IO Flavour
- getName :: Target -> IO TargetName
- getSymtabUpperBound :: Target -> Bfd -> IO Int
- canonicalizeSymtab :: Target -> Bfd -> Ptr Symbol -> IO Int
- getDynamicSymtabUpperBound :: Target -> Bfd -> IO Int
- canonicalizeDynamicSymtab :: Target -> Bfd -> Ptr Symbol -> IO Int
- getSyntheticSymtab :: Target -> Bfd -> SymbolTable -> SymbolTable -> Ptr Symbol -> IO Int
- getDynamicRelocUpperBound :: Target -> Bfd -> IO Int
- canonicalizeDynamicReloc :: Target -> Bfd -> Ptr (Ptr Relocation) -> Ptr Symbol -> IO Int
- isBigEndian :: Target -> IO Bool
- isLittleEndian :: Target -> IO Bool
- isHeaderBigEndian :: Target -> IO Bool
- isHeaderLittleEndian :: Target -> IO Bool
- isCoffFamily :: Target -> IO Bool
- getPrintSymbol :: Target -> Bfd -> File -> Symbol -> IO (IO ())
- data Target'
Types
type TargetName = StringSource
Platform
listSupported :: IO [TargetName]Source
Return a list of target names that can possibly be interpreted by this particular platform.
setDefault :: TargetName -> IO BoolSource
Set the default target name for use with open
etc. when TargetName
is
equal to "default" or empty. Returns True
if successful.
Possible exceptions: InvalidTarget
Byte Order
getByteorder :: Target -> IO EndianSource
getObjectFlags :: Target -> IO [Flags]Source
getSectionFlags :: Target -> IO [Flags]Source
getFlavour :: Target -> IO FlavourSource
getName :: Target -> IO TargetNameSource
Symtabs
getSyntheticSymtab :: Target -> Bfd -> SymbolTable -> SymbolTable -> Ptr Symbol -> IO IntSource
Relocations
Testing
Byte Order
isBigEndian :: Target -> IO BoolSource
Returns True
if the Target
s byte order (see getByteorder
) is Big
.
Otherwise False
.
isLittleEndian :: Target -> IO BoolSource
Returns True
if the Target
s byte order (see getByteorder
) is Little
.
Otherwise False
.
isHeaderBigEndian :: Target -> IO BoolSource
Coff Family
isCoffFamily :: Target -> IO BoolSource