Debug executable with arguments in IDA

Numeri says Reinstate Monica picture Numeri says Reinstate Monica · Sep 15, 2015 · Viewed 8.3k times · Source

In the disassembler and debugger IDA, is there any way to run the currently loaded binary with command line parameters? For instance, say I have the command /bin/ls and want to debug it as /bin/ls test.txt, how could I do that in IDA?

Answer

Seki picture Seki · Sep 15, 2015

Go to the Debugger / Process options... menu item and fill the test.txt argument in the Parameters field.

The path to the executable (including the binary) will be in the Application field.