ELF 檔案資訊

读取 ELF 檔案的头部、程序段、节區和符號表資訊。

輸入: 文本 (UTF-8) / 檔案結果: 文本

文本輸入

範例

ELF Info 32-bit ELF Big Endian.

輸入

3148c07dc852dc17a96ca77c.bin

249 bytes

下載

Expected answer

============================== ELF Header ==============================
Magic:                        ELF
Format:                       32-bit
Endianness:                   Big
Version:                      1
ABI:                          System V
ABI Version:                  0
Type:                         Executable File
Instruction Set Architecture: x86
ELF Version:                  1
Entry Point:                  0x8062150
Entry PHOFF:                  0x34
Entry SHOFF:                  0x54
Flags:                        00000000
ELF Header Size:              52 bytes
Program Header Size:          32 bytes
Program Header Entries:       1
Section Header Size:          40 bytes
Section Header Entries:       3
Section Header Names:         0

============================== Program Header ==============================
Program Header Type:          Program Header Table
Offset Of Segment:            52
Virtual Address of Segment:   134512692
Physical Address of Segment:  134512692
Size of Segment:              256 bytes
Size of Segment in Memory:    256 bytes
Flags:                        Execute,Read

============================== Section Header ==============================
Type:                         String Table
Section Name:                 .shstrab
Flags:                        
Section Vaddr in memory:      0
Offset of the section:        204
Section Size:                 28
Associated Section:           0
Section Extra Information:    0

Type:                         Symbol Table
Section Name:                 .symtab
Flags:                        
Section Vaddr in memory:      0
Offset of the section:        230
Section Size:                 16
Associated Section:           0
Section Extra Information:    0

Type:                         String Table
Section Name:                 .strtab
Flags:                        
Section Vaddr in memory:      0
Offset of the section:        245
Section Size:                 4
Associated Section:           0
Section Extra Information:    0

============================== Symbol Table ==============================
Symbol Name:                  test
ELF Info 32-bit ELF Little Endian.

輸入

1a76b063c03970fdcd4bb59b.bin

249 bytes

下載

Expected answer

============================== ELF Header ==============================
Magic:                        ELF
Format:                       32-bit
Endianness:                   Little
Version:                      1
ABI:                          System V
ABI Version:                  0
Type:                         Executable File
Instruction Set Architecture: x86
ELF Version:                  1
Entry Point:                  0x8062150
Entry PHOFF:                  0x34
Entry SHOFF:                  0x54
Flags:                        00000000
ELF Header Size:              52 bytes
Program Header Size:          32 bytes
Program Header Entries:       1
Section Header Size:          40 bytes
Section Header Entries:       3
Section Header Names:         0

============================== Program Header ==============================
Program Header Type:          Program Header Table
Offset Of Segment:            52
Virtual Address of Segment:   134512692
Physical Address of Segment:  134512692
Size of Segment:              256 bytes
Size of Segment in Memory:    256 bytes
Flags:                        Execute,Read

============================== Section Header ==============================
Type:                         String Table
Section Name:                 .shstrab
Flags:                        
Section Vaddr in memory:      0
Offset of the section:        204
Section Size:                 28
Associated Section:           0
Section Extra Information:    0

Type:                         Symbol Table
Section Name:                 .symtab
Flags:                        
Section Vaddr in memory:      0
Offset of the section:        230
Section Size:                 16
Associated Section:           0
Section Extra Information:    0

Type:                         String Table
Section Name:                 .strtab
Flags:                        
Section Vaddr in memory:      0
Offset of the section:        245
Section Size:                 4
Associated Section:           0
Section Extra Information:    0

============================== Symbol Table ==============================
Symbol Name:                  test
ELF Info 64-bit ELF Big Endian.

輸入

7b4cf12b86d9f06973090d4d.bin

365 bytes

下載

Expected answer

============================== ELF Header ==============================
Magic:                        ELF
Format:                       64-bit
Endianness:                   Big
Version:                      1
ABI:                          System V
ABI Version:                  0
Type:                         Executable File
Instruction Set Architecture: AMD x86-64
ELF Version:                  1
Entry Point:                  0x8062150
Entry PHOFF:                  0x40
Entry SHOFF:                  0x78
Flags:                        00000000
ELF Header Size:              64 bytes
Program Header Size:          56 bytes
Program Header Entries:       1
Section Header Size:          64 bytes
Section Header Entries:       3
Section Header Names:         0

============================== Program Header ==============================
Program Header Type:          Program Header Table
Flags:                        Execute,Read
Offset Of Segment:            52
Virtual Address of Segment:   134512692
Physical Address of Segment:  134512692
Size of Segment:              256 bytes
Size of Segment in Memory:    256 bytes

============================== Section Header ==============================
Type:                         String Table
Section Name:                 .shstrab
Flags:                        
Section Vaddr in memory:      0
Offset of the section:        312
Section Size:                 28
Associated Section:           0
Section Extra Information:    0

Type:                         Symbol Table
Section Name:                 .symtab
Flags:                        
Section Vaddr in memory:      0
Offset of the section:        336
Section Size:                 16
Associated Section:           0
Section Extra Information:    0

Type:                         String Table
Section Name:                 .strtab
Flags:                        
Section Vaddr in memory:      0
Offset of the section:        361
Section Size:                 4
Associated Section:           0
Section Extra Information:    0

============================== Symbol Table ==============================
Symbol Name:                  test
ELF Info 64-bit ELF Little Endian.

輸入

1902bf30c628a6fad4e2858d.bin

365 bytes

下載

Expected answer

============================== ELF Header ==============================
Magic:                        ELF
Format:                       64-bit
Endianness:                   Little
Version:                      1
ABI:                          System V
ABI Version:                  0
Type:                         Executable File
Instruction Set Architecture: AMD x86-64
ELF Version:                  1
Entry Point:                  0x8062150
Entry PHOFF:                  0x40
Entry SHOFF:                  0x78
Flags:                        00000000
ELF Header Size:              64 bytes
Program Header Size:          56 bytes
Program Header Entries:       1
Section Header Size:          64 bytes
Section Header Entries:       3
Section Header Names:         0

============================== Program Header ==============================
Program Header Type:          Program Header Table
Flags:                        Execute,Read
Offset Of Segment:            52
Virtual Address of Segment:   134512692
Physical Address of Segment:  134512692
Size of Segment:              256 bytes
Size of Segment in Memory:    256 bytes

============================== Section Header ==============================
Type:                         String Table
Section Name:                 .shstrab
Flags:                        
Section Vaddr in memory:      0
Offset of the section:        312
Section Size:                 28
Associated Section:           0
Section Extra Information:    0

Type:                         Symbol Table
Section Name:                 .symtab
Flags:                        
Section Vaddr in memory:      0
Offset of the section:        336
Section Size:                 16
Associated Section:           0
Section Extra Information:    0

Type:                         String Table
Section Name:                 .strtab
Flags:                        
Section Vaddr in memory:      0
Offset of the section:        361
Section Size:                 4
Associated Section:           0
Section Extra Information:    0

============================== Symbol Table ==============================
Symbol Name:                  test
ELF Info invalid ELF.

輸入

8d12d9fcf1bb74eb413e34f2.bin

4 bytes

下載

Expected rejection

Message contains
Invalid ELF

相关工具

鑑識分析

操作参考

查看原始技术文檔 (English)