What can cause VTable pointer to be 0xffffdffffddd in Win32 debug build?

后端 未结 4 1509
遇见更好的自我
遇见更好的自我 2021-01-11 15:40

I am debugging a defect and have narrowed it down to the vtable pointer for an object being 0xffffdffffddd. This answer indicates that Win32 debug builds will gene

4条回答
  •  感情败类
    2021-01-11 16:31

    Okay wow, so I've been programming in c++ for years and never discovered this until now... There are actually magic numbers/magic debug values that you can lookup to see what's going on with your raw pointers while debugging!

    See here: In Visual Studio C++, what are the memory allocation representations?

    and here: https://en.wikipedia.org/wiki/Magic_number_(programming)#Magic_debug_values

提交回复
热议问题