当前位置:   article > 正文

解决“the symbol file *.pdb does not match the module”_ida pdb not match

ida pdb not match
请保证你用的dll,pdb文件是同一次编译出来的
因为每次编译可能导致代码布局不一样。就是说每次编译会导致相同的代码,在不同的pdb里面布局不一致。

原文解释:http://blogs.msdn.com/b/jimgries/archive/2007/07/06/why-does-visual-studio-require-debugger-symbol-files-to-exactly-match-the-binary-files-that-they-were-built-with.aspx

 

the actual layout of the code could be different.

The reason is that compiler writers are far more interested in generating correctly functioning code and generating it quickly than ensuring that whatever is generated is laid out identically on your hard drive.  Due to the numerous and varied methods and implementations for optimizing code, it is always possible that one build ended up with a little more time to do something extra or different than another build did.  Thus, the final result could be a different set of bits for what is the same functionality.

 

以下是我的翻译:

原因是这样的, 相比较于保证每次在你的硬盘上生成相同的功能性代码, 编译器的开发者对如何更准确、更快速的生成代码感兴趣。面对数量庞大的、各种各样的和需要优化的代码,总有可能某个版本是以花些时间去做些额外的或者不同于其他版本做的事情而完结,所以对相同的功能而言,会产生不用集合的比特位.


声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/菜鸟追梦旅行/article/detail/293512
推荐阅读
相关标签
  

闽ICP备14008679号