IDA Bits Selector

When analyzing a binary with IDA, you have to determine first whether it is for 32-bit or 64-bit. This tiny script examines a PE or an ELF binary, and opens it in the appropriate version of IDA automatically.