Closed GoogleCodeExporter closed 9 years ago
Hi Marius,
The way to do it in the Python bindings is to use the 'print inst' (see the
_toText method).
Since formatting an instruction is way trickier than what you showed, we left
that part for diStorm library to handle.
If you really want to do it inside Python, you can take a look at the source
code of distorm.c, or just use dispValue and dispSize and add your own PTR
prefixes to the operands.
Good luck
Original comment by distorm@gmail.com
on 13 Dec 2014 at 10:31
Original issue reported on code.google.com by
marius.t...@gmail.com
on 11 Oct 2014 at 6:01