utilities for reading elf files