A pure Dart library for parsing ELF binary files.


This library makes fairly heavy use of records and enums to represent the core data structures.

  • Basic parsing of common ELF structures
  • Reasonable abstractions for dealing with the various OS and CPU specific data
  • A partial clone of readelf


Look at the sample in the /example folder for more detail.

ElfParser reader = ElfParser.fromRandomAccessFile(file.openSync());

Additional information

For more information look at the various ELF parsing descriptions. For example:


Support for parsing ELF binary files in Dart