gdabah / distorm

Powerful Disassembler Library For x86/AMD64
Other
1.26k stars 238 forks source link

new tiny features #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Add a 'registersUsed' field in _DInst, to make it quickly testing if some 
register is used in the 4 potential operands.

This feature will also solve the rip-relative register test on the same go.

Add FC_CMOV for CMOV instruction, and FC_SET for SET instructions.

Original issue reported on code.google.com by distorm@gmail.com on 9 Sep 2010 at 2:22

GoogleCodeExporter commented 9 years ago
Didn't add the FC_SET. But added FC_CMOV. And a RIP_RELATIVE flag. Couldn't add 
registers-used-mask because the registers are an enumeration rather than bit 
flags :(

Original comment by distorm@gmail.com on 10 Sep 2010 at 2:43