4

I'm working on a certain executable to which I add additional binary files from time to time. A few hours ago, I added an additional binary file to the idb I was working on like this:

Dialog Box

The additional binary file is about 60k in size.

When I next pressed ctrl+W, it took a long while for IDA to save, and then I noticed the .idb file grew to 16GB in size. It couldn't have been more than a few megabytes before that.

I tried editing the sections and deleting the one I just added and re-saving but it doesn't seem to change anything.

I have no backup. What can I do at this point?

edit: I forgot to mention, when I try to close and tell IDA to collect garbage, it still saves 16GB worth of idb file. Telling it to deflate the database causes the resulting idb file to be 16 -MB- but when I open it again it inflates to 16GB. Specifically, the .id1 file is the heavy one.

4
  • The file may well be a sort of zip bomb
    – 0xec
    Commented Nov 5, 2014 at 15:51
  • It's a really big HTML file, practically all text
    – Sleeptime
    Commented Nov 5, 2014 at 16:00
  • Just curious- what version of IDA are you using? Commented Nov 7, 2014 at 16:18
  • 1
    6.6.140613 (32-bit)
    – Sleeptime
    Commented Nov 9, 2014 at 17:06

1 Answer 1

2

Eventually what I did was start fresh. Opened the original binary, added the additional binaries again (including that 60kb one), exported the database and typeinfo from the 16gb one (file->produce file->dump database to IDC file) and imported them into the fresh copy.

Took 2 minutes, everything's okay now and the new .idb weighs 2.5mb

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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