zydiskell-0.1.0.0: Haskell language binding for the Zydis library, a x86/x86-64 disassembler.
Safe HaskellNone
LanguageHaskell2010

Zydis.Decoder

Synopsis

Documentation

initialize :: MachineMode -> AddressWidth -> IO (Either ZyanStatus Decoder) Source #

Initialize a Zydis decoder, required to decode instructions.

decodeFullBuffer :: Decoder -> ByteString -> IO (Either ZyanStatus (Vector DecodedInstruction)) Source #

Efficiently decode an entire buffer of instructions.