I want to be able to parse 32 and 64 bit ELF files - but not create or modify them (e.g. as discussed in this thread). The ELF binaries may possibly come from embedded Linux systems, that is, the library should not be irritated by MIPS, ARM and other non-x86 architectures.
What I have considered:
- pyelftools (my currently favored option)
- Also an option: using a C library and ctypes.
Do I have forgotten something? Which of the above options would you prefer?
For those who had some practical experience with pylibelf or pydeftools: These seem no longer updated (last commit: 2013 and 2012), are they mature enough?