Open PaoloMonti42 opened 6 years ago
This issue has been automatically marked as stale because it has not had recent activity. Considering a lot has changed since its creation, we kindly ask you to check again if the issue you reported is still relevant in the current version of radare2. If it is, update this issue with a comment, otherwise it will be automatically closed if no further activity occurs. Thank you for your contributions.
This issue is not yet fixed. thats handy for r2wars
$ rasm2 -b 64 'inc qword ptr [ecx]'
48ff01
$ rasm2 -d 48ff01
dec eax
inc dword [ecx]
$
Enabling this functionality would require a rework of the current opcode parsing in this file.
The problem is that op->operand[0].type is only one single variable, while to keep track of sizes in, e.g., "inc dword ptr [rcx]" we would require at least two. At the moment the information about the size is overwritten by parseReg().