Interface to the udis86
disassembler.
This is the simplest, most high-level interface.
See
if you need more control or performance.
Hdis86.IO
- disassemble :: Config -> ByteString -> [Instruction]
- disassembleMetadata :: Config -> ByteString -> [Metadata]
- data Metadata = Metadata {
- mdOffset :: Word64
- mdLength :: Word
- mdHex :: String
- mdBytes :: ByteString
- mdAssembly :: String
- mdInst :: Instruction
Simple disassembly
disassemble :: Config -> ByteString -> [Instruction]Source
Disassembly with full metadata
disassembleMetadata :: Config -> ByteString -> [Metadata]Source
Disassemble machine code, with full metadata.
The output is produced lazily.
An instruction with full metadata.
Metadata | |
|