horsicq/XELFViewer

Clarify the scope

greenrobot opened this issue ยท 7 comments

I was trying to open a static library (.a) and 0.05 (latest release as of today) it just said "It's not a valid file". It's Linux ELF so I was surprised. Also, I did not see description what exactly the app is supporting.

Are you sure that it is ELF? Could you please open your file in any HEX viewer and see the first 4 bytes? It should be '.ELF'.
You could use Detect It Easy open file -> HEX
https://github.com/horsicq/DIE-engine/releases/tag/3.06

A static library (.a) is an archive and thus has a different file header. I take it that this is not supported. Maybe update the readme?

Ok. Thanks a lot for testing. I will take a look.

You could unpack your archive with an archive manager(For Windows you can use 7zip).
Then you can open every *.o file with XELFViewer.

Or, XELFViewercould read the archive ๐Ÿ˜ (feature request). E.g. "merge" the data of the .o files.

For inspiration also: https://apps.kde.org/de/elf-dissector/ I love the idea of treemaps for elf/libs. But I had trouble with KDE on Ubuntu...

Thanks for the good idea! I will add support of ".a" files in the next version. :)

For inspiration also: https://apps.kde.org/de/elf-dissector/

It looks just super! I should steal some ideas for my projects. Sure steal like an Artist :) https://en.wikipedia.org/wiki/Steal_Like_an_Artist