Reflexil
Reflexil copied to clipboard
Cannot edit or add CALLI opcode (not supported operand type)
I'm trying to add calli opcode, but it uses operand type which is not supported by Reflexil. So, it's impossible to edit or add such opcode.
When I'm trying to edit calli opcode, the Reflexil shows "Operand type: [Not supported]", so I cannot edit it.
Here is screenshot: http://savepic.su/6942616.png
Please fix it
Can you provide your assembly ? And yes this special opcode needs a 'Callsite', a specific operand not yet supported by Reflexil.
you can get this instruction in assembly with ILASM. Just decompile assembly with ILDASM, add the following line into the body of some method and recompile it back with ILASM. Here is example of such opcode:
calli unmanaged stdcall void(void*)
another example:
calli unmanaged stdcall float32(int32,int32)
It will be great if you will add ability to edit opcode just with text editor instead of using comboboxes. It will significantly improve usability of Reflexil.