I wanted to better understand how debug symbols work in relation with the PE.

As I understand the pdb file holds symbol information on its PE. But how exactly can a debugger take a PE and its pdb file and display code?

For instance:

  • What information can be stored in the pdb file that will link to the symbols of the PE
  • How does a debugger know to transform an optimized for loop in binary to a for loop in code?

Thanks!

有帮助吗?

解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top