Search code examples
linuxidadisassembly

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?


Solution

  • 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.