ElfUtils is a Ruby gem for parsing ELF files and DWARF debugging information. ElfUtils supports 32-bit & 64-bit ELF format, both big and little endian. It also supports DWARF versions 2, 3, 4, and 5.