On Wed, Jun 24, 2009 at 15:36, Pierre Schmitz<pierre at archlinux.de> wrote: > * check if a file is an elf file > * extract the header > * move to next file I think `file` and `readelf` would help.