When I change/update the disassembled exe (like when I rebuild it) then IDA doesn't update the exe.

Thanks in advance, Best regards, Adi.


IDA loads the file once and creates its DB at load time. After that, it doesn't need the original file, and it has no possibility to detect changes on the loaded file. If you want to see updated changes - you need to load the file again in IDA.

  • The point is that i delete all the database files and load the executable from scratch and the problem persists! – Ady Feb 3 at 18:37
  • 1
    That sounds like an error on your part. Double-check the timestamps on the files you're trying to load to ensure that they have actually been generated since you last built them. – Rolf Rolles Feb 3 at 19:19
  • Yes, the newly built exes have new timestamps, but IDA loads old versions.:-( – Ady Feb 3 at 19:53
  • 1
    In fact, there is “reload file” option which tries to update the IDB from the file on disk, but it may not work properly if the changes were too extensive. – Igor Skochinsky Feb 3 at 20:15
  • Wow, which option? – Ady Feb 3 at 20:16

Ok, The exe UPDATES indeed. I was just looking for an answer for a different kind of problem. When I compile 1) "if" branches disappear when not used 2) functions are collapsed and you can't see them in IDA. So sorry for wrong question and I should seek further :-)

Best regards, Adi

  • Sounds like the optimizer kicking in. Ask your compiler (you don't say which one) to turn off optimization. In this case unused branches should still become code visible in the disassembly. – 0xC0000022L Mar 8 at 8:24

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.