kichik / pecoff4j

PE/COFF 4J is a java engineering library for portable executables, the format used by Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pe.getArchitecture returns null??

yhs0602 opened this issue · comments

To eproduce the issue, please refer to the files uploaded above(user32.dll.zips) and this release(Android APK) https://github.com/KYHSGeekCode/Android-Disassembler/releases/tag/v1.2.1

Thank you.

Sounds like your executable just doesn't have the IMAGE_DIRECTORY_ENTRY_ARCHITECTURE directory. What's the issue?

Hmm. How can I find the architecture then..?

Are you looking for is64()?

Thank you for your fast reply! That may be the second best. Thank you! But still can't I find the arch then?

Are you looking for getCoffHeader().getMachine()?

Thank you, I 'll try that.

It works fine! Thank you!