Determine version of Eclipse from crash dump

旧街凉风 提交于 2019-12-06 12:42:10

Splash screens to the rescue:

0:048> .foreach (addr {s -[1]u  0000000 L?ffffffff`ffffffff "\splash.bmp"}) {du ${addr}-0n42 L0n31}
00000000`005f82dc  "4.4.2.v20150204-1700\splash.bmp"
00000000`005f97ce  "4.4.2.v20150204-1700\splash.bmp"
00000000`7200de06  "itdata"
00000000`7200de5e  "c%s"
00000000`e0f74a36  ""
00000000`e0f7cd86  "4.4.2.v20150204-1700\splash.bmp"
00000000`e0f9f3e0  "4.4.2.v20150204-1700\splash.bmp"

I found this solution by searching the dump for potential version numbers in a hex editor, then building a command for WinDbg in case anyone else needs to find out the version of Eclipse.

Above script may of course break at any time when the splash screen file is renamed or Eclipse decides to not use a splash screen any more.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!