Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. #pragma comment(linker, "/SUBSYSTEM:WINDOWS")
  2. #pragma comment(linker, "/ENTRY:main")
  3. #pragma comment(linker, "/INCLUDE:mainCRTStartup")
  4.  
  5. int main(int argc, char** argv)
  6. {
  7.  
  8. int* a = new int;
  9. delete a;
  10.  
  11. return 0;
  12. }
  13.  
  14. ntdll.dll!RtlpWaitOnCriticalSection() Inconnu
  15. ntdll.dll!RtlpEnterCriticalSectionContended() Inconnu
  16. ntdll.dll!RtlEnterCriticalSection() Inconnu
  17. Application.exe!__acrt_lock(__acrt_lock_id _Lock) Ligne 55 C++
  18. Application.exe!heap_alloc_dbg_internal(const unsigned __int64 size, const int block_use, const char * const file_name, const int line_number) Ligne 309 C++
  19. Application.exe!heap_alloc_dbg(const unsigned __int64 size, const int block_use, const char * const file_name, const int line_number) Ligne 450 C++
  20. Application.exe!_malloc_dbg(unsigned __int64 size, int block_use, const char * file_name, int line_number) Ligne 496 C++
  21. Application.exe!malloc(unsigned __int64 size) Ligne 27 C++
  22. [Code externe]
  23. Application.exe!main(int argc, char * * argv) Ligne 9 C++
  24. [Code externe]
  25.  
  26. #pragma comment(linker, "/SUBSYSTEM:WINDOWS")
  27.  
  28. int main(int argc, char** argv)
  29. {
  30.  
  31. int* a = new int;
  32. delete a;
  33.  
  34. return 0;
  35. }
  36.  
  37. INT WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR lpCmdLine, INT nCmdShow)
  38. {
  39. return main(1, reinterpret_cast<char**>(&lpCmdLine));
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement