Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debug executable with arguments in IDA

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?

like image 258
Numeri Avatar asked Sep 15 '15 12:09

Numeri


1 Answers

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.

like image 175
Seki Avatar answered Oct 22 '22 16:10

Seki