autodetect architecture from elf file