It would be nice if it was possible to alter the disp member of a cs_x86 object and calculate a new operands string for that instruction. Is it maybe already possible to rebuild the operands string, given some cs_insn or cs_x86 object?
This would be very useful when you use Capstone to change some instructions around and you need to re-locate certain instructions so they match with the correct offsets again.
It would be nice if it was possible to alter the
disp
member of acs_x86
object and calculate a new operands string for that instruction. Is it maybe already possible to rebuild the operands string, given somecs_insn
orcs_x86
object?Example
This would be very useful when you use Capstone to change some instructions around and you need to re-locate certain instructions so they match with the correct offsets again.