great is a simple executable/library analyzer. It's pretty incomplete as of right now.
What's great so far?
| Header | Relocations | Sections | Symbols | |
|---|---|---|---|---|
| MZ | ✔️ | ✔️ | N/A | N/A |
| NE | ❌ | ❌ | ❌ | ❌ |
| LE | ❌ | ❌ | ❌ | ❌ |
| LX | ❌ | ❌ | ❌ | ❌ |
| PE32 | ✔️ | ❌ | ✔️ | ❌ |
| PE32+ | ✔️ | ❌ | ✔️ | ❌ |
| ELF32 | ✔️ | ❌ | ❌ | ❌ |
| ELF64 | ✔️ | ❌ | ❌ | ❌ |
| Switch | Descriptions |
|---|---|
| -H | Show detailed header info |
| -R | Show relocations |
| -S | Show sections |
| -Y | Show symbols |
| -D | (PE32) Show directories |
| -A | Show all |
You must pack structs by 1-byte. /Zp on cl and -fpack-struct=1 on gcc platforms.