Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. someclass* hihiclass;
  2. //vtable 2번쨰 함수 호출
  3.  
  4. __asm
  5. {
  6.     MOV ESI, hihiclass;
  7.     MOV EDX, DWORD PTR DS:[ESI];
  8.     MOV EAX, DWORD PTR DS:[EDX+0x4]; // 1*4 = 4, vtable에서의 0-4-8-16등의 메모리 단위
  9.     MOV ECX, ESI;
  10.     CALL EAX; //함수 호출
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement