Can anyone help me interpret this simple disassembly from WinDbg?

前端 未结 5 1124
野性不改
野性不改 2020-12-23 08:34

I got the following simple C++ code:

#include 
int main(void)
{
    ::printf(\"\\nHello,debugger!\\n\");
}

And from WinDbg,

5条回答
  •  悲&欢浪女
    2020-12-23 09:12

    That is code that is inserted by the compiler when you build with runtime checking (/RTC). Disable those options and it should be clearer. /GZ could also be causing this depending on your VS version.

提交回复
热议问题