Retn() public method

public Retn ( ) : void
return void
示例#1
0
 private static byte[] GenerateDetourOpCodes(IntPtr hookAddress)
 {
     // retn sets eip to the the top of the stack -> hook function is being called.
     var assembler = new X86Assembler();
     assembler.Push(hookAddress);
     assembler.Retn();
     return assembler.GetBytes();
 }