I want to simulate a iret condition on a Linux x86_64 server.
I found there are three instructions
- iret:operand size 16
- iretd:operand size 32
- iretq:operand size 64
I can’t tell the difference of them,and which one to use.
thanks for anyone’s help!!
I have another question about simulate iret,can you have a look?http://stackoverflow.com/questions/11756274/how-to-simulate-a-iret-on-linux-x86-64
From this link:
Very similar is also for IRETQ