分类目录归档:编译*调试*逆向
debug c++之 vector or list
为什么 vector::front()的值在 push_back 之后不再正确? class CMyClass { public: int m_first; CMyClass( ) { m_first = 3; } }; int vector_or_List() { CMyClass temp; vector<CMyClass> vecInt; cout << “temp:” << temp.m_first << endl; vecInt.push_back( temp ); const CMyClass& shadow_vec_front= vecInt.front(); cout … 继续阅读
OllyDbg 2.01有了更好的源码调试功能
在 OllyDbg 1.x中,查看源码的功能(view->source)的功能是不尽完美。今天发现 OllyDbg 2.x 中已经在这方面有更新了。 查看 od 作者主页 的表述: Source debugging is here again, a bit incomplete. It supports only Microsoft compilers via dbghelp.dll. New is support for symbol server, stack walking using dbghelp and names of procedure parameters. … 继续阅读