pe.getArchitecture returns null??
yhs0602 opened this issue · comments
Here is the PEFile.java.
Symptom: pe.getArchitecture() returns null value.
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!