How to get the debuggee's command line in WinDbg?

荒凉一梦 提交于 2020-01-10 19:54:26

问题


Is there any extension command could to do so? I just want to the the whole command line including all parameters.


回答1:


Information like the command line args are stored in the PEB (Process Environment Block).

You can find a list of common commands here.

!peb will display the PEB.




回答2:


try vercommand it's a lot simpler than !peb this is a good place to get you started: http://windbg.info/doc/1-common-cmds.html#2_general_cmds



来源:https://stackoverflow.com/questions/6224834/how-to-get-the-debuggees-command-line-in-windbg

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