This question sounds rather simple, but I can't seem to find any option for this.

I'm basically re-creating another database instance of the same binary I already reversed and I want to copy some of the structures I previously created in the previous instance to my new fresh IDA database instance. Is there any way of doing so?


1 Answer 1


Classic way:

  1. File-Produce File-Dump typeinfo to IDC...
  2. In the other IDA instance, File-Script File..., choose file from step 1.

"New" way:

  1. View-Subviews-Local Types (Shift+F1)
  2. Select all (Ctrl-A), Right click, Export to header


1+2. File-Produce File-Create C header file...

  1. In the other IDA instance, first make sure Options-Compiler... settings are identical, then:

    3a. File-Load File-Parse C header file..., choose file from previous steps. OR:
    3b. Open Local types, Ins, paste the contents of the header file (or individual structs if you need only specific ones).

P.S. second way does not copy struct attributes which cannot be represented in C (e.g. hex/decimal/binary/string representations, non-0-based pointers etc.)

  • Thank you @Igor for the detailed answer! Will give this a shot soon :) Commented Jun 2, 2019 at 12:49

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.