I am currently using Intel XED (Intel's encoder/decoder) to decode and encode an application's instructions within Intel's Pin tool (binary rewriter). When I output disassembly in Pin with the Syntax mode set to XED, I get a lot of extra output than I need.
Example:
TEST DISP_WIDTH:8, EASZ:2, EOSZ:2, HAS_MODRM:1, HSW, IMM_WIDTH:8, IMM0SIGNED, IMM0:0X1
I really would just like the opcode followed by the operands in the XED format so that the XED encoder can read in the disassembly and encode it.Is there any way I can suppress the output? Or get the opcode and operands separately in a relatively pain-free manner?
Any help would be greatly appreciated.
CHEERS,
Danny