Answers:
识别对于图像也很有用:
标识描述一个或多个图像文件的格式和特征。它还会报告图像是否不完整或损坏。显示的信息包括场景编号,文件名,图像的宽度和高度,是否将图像进行颜色映射,图像中的颜色数量,图像中的字节数,图像格式( JPEG,PNM等),最后是读取和处理图像所需的秒数。
对于ELF文件,我readelf
建议您这样做。
例如:
$ readelf -h ELF_FILE
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: ARM
Version: 0x1
Entry point address: 0x15565
Start of program headers: 52 (bytes into file)
Start of section headers: 2919696 (bytes into file)
Flags: 0x5000402, Version5 EABI, hard-float ABI, <unknown>
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 8
Size of section headers: 40 (bytes)
Number of section headers: 39
Section header string table index: 36
file
命令?