Skip to content
forked from xyproto/ainur

🌌 Detect compiler names and versions from ELF files

License

Notifications You must be signed in to change notification settings

javierhonduco/ainur

 
 

Repository files navigation

Ainur

GoDoc License Go Report Card

Go package for figuring out which compiler and compiler version was used for compiling an executable file for Linux (in the ELF format).

Utilities that uses Ainur

Features and limitations

  • Supports detection of compiler name and version if an executable was built with one of these compilers:
    • GCC
    • Clang
    • FPC
    • OCaml
    • Go
    • TCC (compiler name only, TCC does not store the version number in the executables)
    • Rust (for stripped executables, only the compiler name and GCC version used for linking)
    • GHC
  • Works even with stripped executables.
  • Should work for recent versions of all of the above compilers. Executables produced with old versions of the compilers may need more testing.

General info

About

🌌 Detect compiler names and versions from ELF files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.7%
  • Shell 1.3%