crash工具使用
1、下载
Releases · crash-utility/crashhttps://github.com/crash-utility/crash/releases
2、编译前确保必要的组件(ncurese和zlib),如果没有需要:
sudo apt-get install libncurses5-dev
sudo apt-get install zlib1g-dev
3、 解压后编译ARM 32bit的crash:
cd crash-8.0.5
make target=ARM
4、如果是ARM 64bit的,则是:
cd crash-8.0.5
make target=ARM64
5、运行
./crash vmlinux COREDUMP 或者需要加上偏移地址
./crash -m phys_offset=0x80000000 vmlinux COREDUMP
./crash --minimal -m phys_offset=0x80000000 vmlinux COREDUMP
crash-utility.github.io/crash_whitepaper.htmlhttps://crash-utility.github.io/crash_whitepaper.html