Debug executable with arguments in IDA
Asked Answered
T

1

12

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?

Tarbes answered 15/9, 2015 at 12:32 Comment(1)
I've searched the Internet for an answer, and can't find anything! The best I could find was a forum where a user asked this question, and then was rudely instructed to do some Google-ing on his own first, before asking! Not very helpful...Tarbes
C
21

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.

Culler answered 15/9, 2015 at 14:27 Comment(1)
Thank you, that's just what I need! Now, hopefully, this will be an easier question to Google for!Tarbes

© 2022 - 2024 — McMap. All rights reserved.