Files
2026-03-22 17:40:44 +08:00

103 lines
5.5 KiB
Plaintext

ELF Header:
Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
Class: ELF64
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: REL (Relocatable file)
Machine: Advanced Micro Devices X86-64
Version: 0x1
Entry point address: 0x0
Start of program headers: 0 (bytes into file)
Start of section headers: 1080 (bytes into file)
Flags: 0x0
Size of this header: 64 (bytes)
Size of program headers: 0 (bytes)
Number of program headers: 0
Size of section headers: 64 (bytes)
Number of section headers: 14
Section header string table index: 13
Section Headers:
[Nr] Name Type Address Offset
Size EntSize Flags Link Info Align
[ 0] NULL 0000000000000000 00000000
0000000000000000 0000000000000000 0 0 0
[ 1] .text PROGBITS 0000000000000000 00000040
0000000000000084 0000000000000000 AX 0 0 1
[ 2] .rela.text RELA 0000000000000000 000002d0
00000000000000d8 0000000000000018 I 11 1 8
[ 3] .data PROGBITS 0000000000000000 000000c4
0000000000000000 0000000000000000 WA 0 0 1
[ 4] .bss NOBITS 0000000000000000 000000c4
0000000000000000 0000000000000000 WA 0 0 1
[ 5] .rodata PROGBITS 0000000000000000 000000c4
0000000000000019 0000000000000000 A 0 0 1
[ 6] .comment PROGBITS 0000000000000000 000000dd
000000000000002f 0000000000000001 MS 0 0 1
[ 7] .note.GNU-stack PROGBITS 0000000000000000 0000010c
0000000000000000 0000000000000000 0 0 1
[ 8] .note.gnu.pr[...] NOTE 0000000000000000 00000110
0000000000000030 0000000000000000 A 0 0 8
[ 9] .eh_frame PROGBITS 0000000000000000 00000140
0000000000000038 0000000000000000 A 0 0 8
[10] .rela.eh_frame RELA 0000000000000000 000003a8
0000000000000018 0000000000000018 I 11 9 8
[11] .symtab SYMTAB 0000000000000000 00000178
0000000000000108 0000000000000018 12 4 8
[12] .strtab STRTAB 0000000000000000 00000280
000000000000004c 0000000000000000 0 0 1
[13] .shstrtab STRTAB 0000000000000000 000003c0
0000000000000074 0000000000000000 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
L (link order), O (extra OS processing required), G (group), T (TLS),
C (compressed), x (unknown), o (OS specific), E (exclude),
D (mbind), l (large), p (processor specific)
There are no section groups in this file.
There are no program headers in this file.
There is no dynamic section in this file.
Relocation section '.rela.text' at offset 0x2d0 contains 9 entries:
Offset Info Type Sym. Value Sym. Name + Addend
000000000013 00030000000a R_X86_64_32 0000000000000000 .rodata + 0
000000000018 000500000004 R_X86_64_PLT32 0000000000000000 new_teacher - 4
000000000026 00030000000a R_X86_64_32 0000000000000000 .rodata + 8
00000000002b 000600000004 R_X86_64_PLT32 0000000000000000 new_student - 4
000000000040 00030000000a R_X86_64_32 0000000000000000 .rodata + 11
000000000045 000700000004 R_X86_64_PLT32 0000000000000000 new_class - 4
00000000005a 000800000004 R_X86_64_PLT32 0000000000000000 add_salary - 4
00000000006d 000900000004 R_X86_64_PLT32 0000000000000000 add_student - 4
000000000079 000a00000004 R_X86_64_PLT32 0000000000000000 print - 4
Relocation section '.rela.eh_frame' at offset 0x3a8 contains 1 entry:
Offset Info Type Sym. Value Sym. Name + Addend
000000000020 000200000002 R_X86_64_PC32 0000000000000000 .text + 0
No processor specific unwind information to decode
Symbol table '.symtab' contains 11 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
1: 0000000000000000 0 FILE LOCAL DEFAULT ABS main.c
2: 0000000000000000 0 SECTION LOCAL DEFAULT 1 .text
3: 0000000000000000 0 SECTION LOCAL DEFAULT 5 .rodata
4: 0000000000000000 132 FUNC GLOBAL DEFAULT 1 main
5: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND new_teacher
6: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND new_student
7: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND new_class
8: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND add_salary
9: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND add_student
10: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND print
No version information found in this file.
Displaying notes found in: .note.gnu.property
Owner Data size Description
GNU 0x00000020 NT_GNU_PROPERTY_TYPE_0
Properties: x86 ISA used: x86-64-baseline
x86 feature used: x86