Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 2nd, 2012  |  syntax: ASM (NASM)  |  size: 1.15 KB  |  views: 24  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.   25:valClass.cpp  ****     char const* filePath = "foo\0";
  2.  375                            .loc 1 25 0
  3.  376 ???? 67C745E4              mov     DWORD PTR [ebp-28], OFFSET FLAT:LC0      # filePath,
  4.  376      00000000
  5.   26:valClass.cpp  ****     void* cppObj = ctor_FileName(filePath);
  6.  377                            .loc 1 26 0
  7.  378 ???? 678B45E4              mov     eax, DWORD PTR [ebp-28]  # tmp63, filePath
  8.  379 ???? 67890424              mov     DWORD PTR [esp], eax     #, tmp63
  9.  380 ???? 67C745A8              mov     DWORD PTR [ebp-88], -1   #,
  10.  380      FFFFFFFF
  11.  381 ???? E8000000              call    _ctor_FileName   #
  12.  381      00
  13.  382 ???? 678945E0              mov     DWORD PTR [ebp-32], eax  # cppObj, D.12197
  14.   27:valClass.cpp  ****     FileName fileName = value_FileName(reinterpret_cast<FileName*>(cppObj));
  15.  383                            .loc 1 27 0
  16.  384 ???? 678D45DC              lea     eax, [ebp-36]    # tmp64,
  17.  385 ???? 678B55E0              mov     edx, DWORD PTR [ebp-32]  # tmp65, cppObj
  18.  386 ???? 67895424              mov     DWORD PTR [esp+4], edx   #, tmp65
  19.  386      04
  20.  387 ???? 67890424              mov     DWORD PTR [esp], eax     #, tmp64
  21.  388 ???? E8000000              call    _value_FileName  #
  22.  388      00
  23.  389 ???? 83EC04                sub     esp, 4   #,
  24.   28:valClass.cpp  ****    
  25.   29:valClass.cpp  ****     printf("ok.\n");