IDA’s .IDS Files Part I
This topic comes up occasionally, so it’s worth a quick investigation. Your IDA directory has a subdirectory called ‘ids’ that contains more directories, which in turn contain .IDS files. .IDS files do two things: they define a mapping between ordinal numbers and symbol names (which may be mangled, and may contain the number of function arguments and their types), and secondly they allow (optional) comments for those functions.
The IDSUTIL package from DataRescue’s website (only available to customers) provides tools to create .IDT files from statically-linked libraries and then to convert those into .IDS files. .IDT files are flat text files whose syntax is described in the readme.txt inside of the IDSUTIL package.
The ‘ar2idt’ tool produces an .IDT file from a .LIB. Its command-line syntax is “ar2idt [filename].[lib/obj/o/etc.]” to produce [filename].IDT. This tool supports several different object-file formats, as different compiler vendors use different ones.
Here’s a sample from an .IDT file:
After you have an .IDT file, the zipids.exe tool is used to turn an .IDT file into an .IDS file. Its command-line is simply “zipids [filename].IDT” to create [filename].IDS.