ida加载pdb文件出错的解决方法

本文最后更新于:2 年前

环境

ida pro 7.5

vs2022 pre

缘由

突然心血来潮想试试 ida 加载 vs 生成的 pdb 文件, 来解析程序符号

file -> load file -> pdb file

然后:

image-20210926105354223

1
2
3
4
5
6
Please confirm

: failed to load pdb info.

Do you want to browse for the pdb file on disk?
Dont't display this message again

排错过程

看雪先辈求助帖

得到了 程序名和pdb 文件名有中文吗

我就想起了, ida 对中文路径的支持不好, 可能是 我放在 中文目录下执行的原因。

image-20210926110415722

最后换个没有中文的路径 直接加载成功

image-20210926105846843

函数名称全部识别出来了

image-20210926105931459

pdb 文件还是挺好使的