Search code examples
c++cwindowsobjdump

How do I send objdump result to a file?


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)


Solution

  • Doesn't the shell's normal output redirection work for you? Example:

    objdump -d file.o > file.txt