NJUPT-CSAPP/linklab/phase2.elf.new
2024-06-12 07:36:23 +08:00

102 lines
5.4 KiB
Text

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: 952 (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: 15
Section header string table index: 14
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
0000000000000085 0000000000000000 AX 0 0 1
[ 2] .rela.text RELA 0000000000000000 00000290
0000000000000060 0000000000000018 I 12 1 8
[ 3] .data PROGBITS 0000000000000000 000000c8
0000000000000010 0000000000000000 WA 0 0 8
[ 4] .rela.data RELA 0000000000000000 000002f0
0000000000000030 0000000000000018 I 12 3 8
[ 5] .bss NOBITS 0000000000000000 000000d8
0000000000000000 0000000000000000 WA 0 0 1
[ 6] .rodata PROGBITS 0000000000000000 000000d8
0000000000000002 0000000000000000 A 0 0 1
[ 7] .comment PROGBITS 0000000000000000 000000da
000000000000002c 0000000000000001 MS 0 0 1
[ 8] .note.GNU-stack PROGBITS 0000000000000000 00000106
0000000000000000 0000000000000000 0 0 1
[ 9] .note.gnu.pr[...] NOTE 0000000000000000 00000108
0000000000000020 0000000000000000 A 0 0 8
[10] .eh_frame PROGBITS 0000000000000000 00000128
0000000000000038 0000000000000000 A 0 0 8
[11] .rela.eh_frame RELA 0000000000000000 00000320
0000000000000018 0000000000000018 I 12 10 8
[12] .symtab SYMTAB 0000000000000000 00000160
00000000000000f0 0000000000000018 13 4 8
[13] .strtab STRTAB 0000000000000000 00000250
0000000000000040 0000000000000000 0 0 1
[14] .shstrtab STRTAB 0000000000000000 00000338
0000000000000079 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 0x290 contains 4 entries:
Offset Info Type Sym. Value Sym. Name + Addend
00000000004a 00050000000b R_X86_64_32S 0000000000000020 IqLUAJPrUp + 0
000000000054 000700000004 R_X86_64_PLT32 0000000000000000 putchar - 4
00000000006a 000700000004 R_X86_64_PLT32 0000000000000000 putchar - 4
00000000007f 000800000004 R_X86_64_PLT32 0000000000000000 __stack_chk_fail - 4
Relocation section '.rela.data' at offset 0x2f0 contains 2 entries:
Offset Info Type Sym. Value Sym. Name + Addend
000000000000 000300000001 R_X86_64_64 0000000000000000 .rodata + 0
000000000008 000600000001 R_X86_64_64 0000000000000000 do_phase + 0
Relocation section '.rela.eh_frame' at offset 0x320 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 10 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
1: 0000000000000000 0 FILE LOCAL DEFAULT ABS phase2.c
2: 0000000000000000 0 SECTION LOCAL DEFAULT 1 .text
3: 0000000000000000 0 SECTION LOCAL DEFAULT 6 .rodata
4: 0000000000000000 8 OBJECT GLOBAL DEFAULT 3 phase_id
5: 0000000000000020 256 OBJECT GLOBAL DEFAULT UND IqLUAJPrUp
6: 0000000000000000 133 FUNC GLOBAL DEFAULT 1 do_phase
7: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND putchar
8: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND __stack_chk_fail
9: 0000000000000008 8 OBJECT GLOBAL DEFAULT 3 phase
No version information found in this file.
Displaying notes found in: .note.gnu.property
Owner Data size Description
GNU 0x00000010 NT_GNU_PROPERTY_TYPE_0
Properties: x86 feature: IBT, SHSTK