Windows程序:如何窥探命令行参数? [英] Windows Program: How to snoop on command line arguments?

查看:148
本文介绍了Windows程序:如何窥探命令行参数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我试图逆向工程一个商用基于Windows的IDE的构建系统,所以我可以使用make来构建我的项目。一个任务,我需要知道什么命令行参数传递给这个程序,当它运行。然而,Windows进程查看器不显示命令行参数。



当程序启动时,有没有什么方法可以看到传递什么命令行参数?



(实际上,我发现我应该替换一个存根程序读取命令行args。但是,我想知道是否有一个简单的方法)。


解决方案

Sysinternals Process Explorer 可让您执行此操作。


I am trying to reverse engineer the build system of a commercial Windows based IDE, so I can use make to build my project.

A program is launched to perform a task, and I need to know what command line arguments are passed to this program when it is run. However the windows process viewer does not show the command line arguments.

Is there any way to see what command line arguments are being passed when the program is launched?

(Actually it just occurred to me that I should substitute a stub program to read the command line args. Still, I'd like to know if there's an easy way).

解决方案

Sysinternals Process Explorer lets you do that.

这篇关于Windows程序:如何窥探命令行参数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆