KeenSecurityLab / BinAbsInspector

BinAbsInspector: Vulnerability Scanner for Binaries
GNU General Public License v3.0
1.58k stars 231 forks source link

error: BinAbsInspector.java> Unsupported file format. #52

Open studyalone1 opened 2 years ago

studyalone1 commented 2 years ago

image image image ghidra version: 10.1.2 BinAbslnspector: 10.1.2 Z3 version :z3-4.8.17-x64-win 解析文件: $ file NDynSover.exe NDynSover.exe: PE32+ executable (console) x86-64, for MS Windows file test.exe test.exe: PE32+ executable (DLL) (console) x86-64, for MS Windows file PeachValidator.exe PeachValidator.exe: PE32+ executable (GUI) x86-64 Mono/.Net assembly, for MS Windows

这些PE文件都被报错如下:

BinAbsInspector.java> Running... BinAbsInspector.java> [INFO] Preparing the program BinAbsInspector.java> Unsupported file format.

BinAbsInspector.java> Cannot find entry function, maybe unsupported file format or corrupted header.

BinAbsInspector.java> Failed to analyze the program: no entrypoint.

BinAbsInspector.java> Finished! BinAbsInspector.java> Running... BinAbsInspector.java> Finished!

MatthewShao commented 2 years ago

We does not have support for PE file for now.

studyalone1 commented 2 years ago

ok ,thank you for your reply. I try to an elf file, but still have errors: image

MatthewShao commented 2 years ago

Could you please provide the sample to track the issue?

studyalone1 commented 2 years ago

$ file ls ls: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=2f15ad836be3339dec0e2e6a3c637e08e48aacbd, for GNU/Linux 3.2.0, stripped

studyalone1 commented 2 years ago

the system don‘t support to send the ’ls‘ file as link/attach

MatthewShao commented 2 years ago

You can compress it as a zip file and upload.

studyalone1 commented 2 years ago

ls.zip