windows 如何将 objdump 结果发送到文件?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5385227/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How do I send objdump result to a file?
提问by paseena
I want to run objdump on an execuatble file in windows XP, and want to observe the details. However, I am unable to find option to output the result in a text file - since the output display in console is chopped off (I also tried using the options -o or /out to specify ooutfilename, but do not seem to exist)
我想在 Windows XP 中的一个可执行文件上运行 objdump,并想观察细节。但是,我无法找到在文本文件中输出结果的选项 - 因为控制台中的输出显示被切断(我也尝试使用选项 -o 或 /out 来指定 ooutfilename,但似乎不存在)
回答by Carl Norum
Doesn't the shell's normal output redirection work for you? Example:
shell 的正常输出重定向对您不起作用吗?例子:
objdump -d file.o > file.txt