0

This seems like a very basic use case and I can't get it to work properly. I'm developing my own test application in Visual Studio c++. I want to test it through several IDA debugging sessions. Every time I modify the code, recompile and try to debug it, IDA warns me that the input has changed and that I should reload the binary, which I do through "File -> Load file -> Reload input file". I then go to "Options -> General -> Analysis -> Reanalyze program".

Is this the correct way to do things?

I'm also quite concerned because sometimes this loop fails as the function window show many (more) functions with (null) name and "sp analysis failed" all over the disassembly. I then have to close the project and start a new one, which is rather annoying.

Any pointers on how to speed this whole thing up are welcome. Please note that I'm much less interested in removing the errors messages than removing the problems associated with them.

0

“Reload input file” only refreshes the byte values, it does not reanalyze the file. So if, for example, you added some functions and the code moved, it may interfere with the existing analysis.

If you don’t actually need to analyze the binary but just debug it, you can used IDA in so called “instant debugging” mode. Open IDA without loading anything, then use the Debug-Run menu to run your compiled program. IDA will start the process and only do minimal analysis necessary to show the currently executing code. After stopping the debugger this execution-only analysis will be discarded and on next run the updated binary (if it changed) from disk will be used again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.