Project Setting:
1)C/C++:Output Files:Assembler Output:cod file
2)Linker:Generate
Map File & Map File Name;
Record crash address&crash
module
normally, the crash offset address is: crash address -
0x00400000 - 0x1000
1)Find the crashed function & its obj
File
open map file
find crashed FUNCTION ADDRESS: the max
offset address in map file that is less than crash offset address
and
record the FUNCTION name and object file name
2)Find the crashed
Line in the fuction
open the related COD file and find that FUNCTION
the
crash offset address - FUNCTION offset ADDRESS
本文详细阐述了如何通过解析崩溃映射文件找到崩溃函数及其对象文件,进而确定崩溃发生的具体位置。
2274

被折叠的 条评论
为什么被折叠?



