Skip to content

TheAssassin/python-guess-elf-arch

Repository files navigation

python-guess-elf-arch

This little Python tool uses cppyy (which by itself uses Cling, the C++ interpreter) to dynamically interpret the system's elf.h. It reads an ELF binary's e_machine header field and converts it to an AppImage-style architecture name.

AppImage does not use any "standardized" scheme (unlike, for instance, Debian, the Linux kernel), but uses a mix of them.

Currently supported architectures:

  • i686
  • x86_64
  • armhf
  • aarch64

About

Python tool to guess an ELF binary's architecture from its header. Uses cppyy and the current system's elf.h.

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors