My own elf programs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

240 lines
15 KiB

En-tête ELF:
Magique: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
Classe: ELF64
Données: complément à 2, système à octets de poids faible d'abord (little endian)
Version: 1 (actuelle)
OS/ABI: UNIX - System V
Version ABI: 0
Type: EXEC (fichier exécutable)
Machine: Advanced Micro Devices X86-64
Version: 0x1
Adresse du point d'entrée: 0x40109c
Début des en-têtes de programme : 64 (octets dans le fichier)
Début des en-têtes de section : 4424 (octets dans le fichier)
Fanions: 0x0
Taille de cet en-tête: 64 (octets)
Taille de l'en-tête du programme: 56 (octets)
Nombre d'en-tête du programme: 11
Taille des en-têtes de section: 64 (octets)
Nombre d'en-têtes de section: 40
Table d'index des chaînes d'en-tête de section: 39
En-têtes de section :
[Nr] Nom Type Adresse Décalage
Taille TaillEntrée Fanion Lien Info Alignement
[ 0] NULL 0000000000000000 00000000
0000000000000000 0000000000000000 0 0 0
[ 1] .interp NOBITS 00000000004002a8 000002a8
000000000000001c 0000000000000000 A 0 0 1
[ 2] .note.ABI-tag NOTE 00000000004002c4 000002a8
0000000000000020 0000000000000000 A 0 0 4
[ 3] .hash NOBITS 00000000004002e8 000002c8
0000000000000018 0000000000000004 A 5 0 8
[ 4] .gnu.hash NOBITS 0000000000400300 000002c8
000000000000001c 0000000000000000 A 5 0 8
[ 5] .dynsym NOBITS 0000000000400320 000002c8
0000000000000048 0000000000000018 A 6 1 8
[ 6] .dynstr NOBITS 0000000000400368 000002c8
0000000000000038 0000000000000000 A 0 0 1
[ 7] .gnu.version NOBITS 00000000004003a0 000002c8
0000000000000006 0000000000000002 A 5 0 2
[ 8] .gnu.version_r NOBITS 00000000004003a8 000002c8
0000000000000020 0000000000000000 A 6 1 8
[ 9] .rela.dyn NOBITS 00000000004003c8 000002c8
0000000000000018 0000000000000018 A 5 0 8
[10] .rela.plt NOBITS 00000000004003e0 000002c8
0000000000000018 0000000000000018 AI 5 23 8
[11] .init NOBITS 0000000000401000 000002c8
000000000000001a 0000000000000000 AX 0 0 4
[12] .plt NOBITS 0000000000401020 000002d0
0000000000000020 0000000000000010 AX 0 0 16
[13] .plt.got NOBITS 0000000000401040 000002d0
0000000000000008 0000000000000008 AX 0 0 8
[14] .text NOBITS 0000000000401050 000002d0
00000000000001d2 0000000000000000 AX 0 0 16
[15] .fini NOBITS 0000000000401224 000002d0
0000000000000009 0000000000000000 AX 0 0 4
[16] .rodata NOBITS 0000000000402000 000002d0
0000000000000004 0000000000000004 AM 0 0 4
[17] .eh_frame_hdr NOBITS 0000000000402004 000002d0
0000000000000044 0000000000000000 A 0 0 4
[18] .eh_frame NOBITS 0000000000402048 000002d0
0000000000000140 0000000000000000 A 0 0 8
[19] .init_array NOBITS 0000000000403e08 000002d0
0000000000000008 0000000000000008 WA 0 0 8
[20] .fini_array NOBITS 0000000000403e10 000002d0
0000000000000008 0000000000000008 WA 0 0 8
[21] .dynamic NOBITS 0000000000403e18 000002d0
00000000000001e0 0000000000000010 WA 6 0 8
[22] .got NOBITS 0000000000403ff8 000002d0
0000000000000008 0000000000000008 WA 0 0 8
[23] .got.plt NOBITS 0000000000404000 000002d0
0000000000000020 0000000000000008 WA 0 0 8
[24] .data NOBITS 0000000000404020 000002d0
0000000000000010 0000000000000000 WA 0 0 8
[25] .bss NOBITS 0000000000404030 000002d0
0000000000000008 0000000000000000 WA 0 0 1
[26] .comment NOBITS 0000000000000000 000002d0
000000000000007f 0000000000000001 MS 0 0 1
[27] .debug_aranges PROGBITS 0000000000000000 000002d0
0000000000000060 0000000000000000 0 0 1
[28] .debug_info PROGBITS 0000000000000000 00000330
00000000000000af 0000000000000000 0 0 1
[29] .debug_abbrev PROGBITS 0000000000000000 000003df
0000000000000087 0000000000000000 0 0 1
[30] .debug_line PROGBITS 0000000000000000 00000466
00000000000000f6 0000000000000000 0 0 1
[31] .debug_str PROGBITS 0000000000000000 0000055c
0000000000000093 0000000000000001 MS 0 0 1
[32] .debug_loc PROGBITS 0000000000000000 000005ef
00000000000000ab 0000000000000000 0 0 1
[33] .debug_ranges PROGBITS 0000000000000000 0000069a
0000000000000020 0000000000000000 0 0 1
[34] .debug_addr PROGBITS 0000000000000000 000006ba
0000000000000040 0000000000000000 0 0 1
[35] .debug_gnu_p[...] PROGBITS 0000000000000000 000006fa
000000000000001c 0000000000000000 0 0 1
[36] .debug_gnu_p[...] PROGBITS 0000000000000000 00000716
0000000000000025 0000000000000000 0 0 1
[37] .symtab SYMTAB 0000000000000000 00000740
00000000000006c0 0000000000000018 38 55 8
[38] .strtab STRTAB 0000000000000000 00000e00
00000000000001c4 0000000000000000 0 0 1
[39] .shstrtab STRTAB 0000000000000000 00000fc4
0000000000000181 0000000000000000 0 0 1
Clé des fanions :
W (écriture), A (allocation), X (exécution), M (fusion), S (chaînes), I (info),
L (ordre des liens), O (traitement supplémentaire par l'OS requis), G (groupe),
T (TLS), C (compressé), x (inconnu), o (spécifique à l'OS), E (exclu),
D (mbind), l (grand), p (processor specific)
Il n'y a pas de groupe de section dans ce fichier.
En-têtes de programme :
Type Décalage Adr.virt Adr.phys.
Taille fichier Taille mémoire Fanion Alignement
PHDR 0x0000000000000040 0x0000000000400040 0x0000000000400040
0x0000000000000268 0x0000000000000268 R 0x8
INTERP 0x00000000000002a8 0x00000000004002a8 0x00000000004002a8
0x000000000000001c 0x000000000000001c R 0x1
[Réquisition de l'interpréteur de programme: ]
LOAD 0x0000000000000000 0x0000000000400000 0x0000000000400000
0x00000000000003f8 0x00000000000003f8 R 0x1000
LOAD 0x0000000000001000 0x0000000000401000 0x0000000000401000
0x000000000000022d 0x000000000000022d R E 0x1000
LOAD 0x0000000000002000 0x0000000000402000 0x0000000000402000
0x0000000000000188 0x0000000000000188 R 0x1000
LOAD 0x0000000000002e08 0x0000000000403e08 0x0000000000403e08
0x0000000000000228 0x0000000000000230 RW 0x1000
DYNAMIC 0x0000000000002e18 0x0000000000403e18 0x0000000000403e18
0x00000000000001e0 0x00000000000001e0 RW 0x8
NOTE 0x00000000000002c4 0x00000000004002c4 0x00000000004002c4
0x0000000000000020 0x0000000000000020 R 0x4
GNU_EH_FRAME 0x0000000000002004 0x0000000000402004 0x0000000000402004
0x0000000000000044 0x0000000000000044 R 0x4
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RW 0x10
GNU_RELRO 0x0000000000002e08 0x0000000000403e08 0x0000000000403e08
0x00000000000001f8 0x00000000000001f8 R 0x1
Correspondance section/segment :
Sections de segment...
00
01 .interp .comment
02 .interp .note.ABI-tag .hash .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt
03 .init .plt .plt.got .text .fini
04 .rodata .eh_frame_hdr .eh_frame
05 .init_array .fini_array .dynamic .got .got.plt .data .bss
06 .dynamic
07 .comment
08 .eh_frame_hdr
09
10 .init_array .fini_array .dynamic .got
Il n'y a pas de section dynamique dans ce fichier.
Il n'y a pas de réadressages dans ce fichier.
Pas d'information de déroulement spécifique au processeur à décoder
La table de symboles « .symtab » contient 72 entrées :
Num: Valeur Tail Type Lien Vis Ndx Nom
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
1: 00000000004002a8 0 SECTION LOCAL DEFAULT 1 .interp
2: 00000000004002c4 0 SECTION LOCAL DEFAULT 2 .note.ABI-tag
3: 00000000004002e8 0 SECTION LOCAL DEFAULT 3 .hash
4: 0000000000400300 0 SECTION LOCAL DEFAULT 4 .gnu.hash
5: 0000000000400320 0 SECTION LOCAL DEFAULT 5 .dynsym
6: 0000000000400368 0 SECTION LOCAL DEFAULT 6 .dynstr
7: 00000000004003a0 0 SECTION LOCAL DEFAULT 7 .gnu.version
8: 00000000004003a8 0 SECTION LOCAL DEFAULT 8 .gnu.version_r
9: 00000000004003c8 0 SECTION LOCAL DEFAULT 9 .rela.dyn
10: 00000000004003e0 0 SECTION LOCAL DEFAULT 10 .rela.plt
11: 0000000000401000 0 SECTION LOCAL DEFAULT 11 .init
12: 0000000000401020 0 SECTION LOCAL DEFAULT 12 .plt
13: 0000000000401040 0 SECTION LOCAL DEFAULT 13 .plt.got
14: 0000000000401050 0 SECTION LOCAL DEFAULT 14 .text
15: 0000000000401224 0 SECTION LOCAL DEFAULT 15 .fini
16: 0000000000402000 0 SECTION LOCAL DEFAULT 16 .rodata
17: 0000000000402004 0 SECTION LOCAL DEFAULT 17 .eh_frame_hdr
18: 0000000000402048 0 SECTION LOCAL DEFAULT 18 .eh_frame
19: 0000000000403e08 0 SECTION LOCAL DEFAULT 19 .init_array
20: 0000000000403e10 0 SECTION LOCAL DEFAULT 20 .fini_array
21: 0000000000403e18 0 SECTION LOCAL DEFAULT 21 .dynamic
22: 0000000000403ff8 0 SECTION LOCAL DEFAULT 22 .got
23: 0000000000404000 0 SECTION LOCAL DEFAULT 23 .got.plt
24: 0000000000404020 0 SECTION LOCAL DEFAULT 24 .data
25: 0000000000404030 0 SECTION LOCAL DEFAULT 25 .bss
26: 0000000000000000 0 SECTION LOCAL DEFAULT 26 .comment
27: 0000000000000000 0 SECTION LOCAL DEFAULT 27 .debug_aranges
28: 0000000000000000 0 SECTION LOCAL DEFAULT 28 .debug_info
29: 0000000000000000 0 SECTION LOCAL DEFAULT 29 .debug_abbrev
30: 0000000000000000 0 SECTION LOCAL DEFAULT 30 .debug_line
31: 0000000000000000 0 SECTION LOCAL DEFAULT 31 .debug_str
32: 0000000000000000 0 SECTION LOCAL DEFAULT 32 .debug_loc
33: 0000000000000000 0 SECTION LOCAL DEFAULT 33 .debug_ranges
34: 0000000000000000 0 SECTION LOCAL DEFAULT 34 .debug_addr
35: 0000000000000000 0 SECTION LOCAL DEFAULT 35 .debug_gnu_pubnames
36: 0000000000000000 0 SECTION LOCAL DEFAULT 36 .debug_gnu_pubtypes
37: 0000000000000000 0 FILE LOCAL DEFAULT ABS splitdwarf4-not-[...]
38: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
39: 00000000004010d0 0 FUNC LOCAL DEFAULT 14 deregister_tm_clones
40: 0000000000401100 0 FUNC LOCAL DEFAULT 14 register_tm_clones
41: 0000000000401140 0 FUNC LOCAL DEFAULT 14 __do_global_dtors_aux
42: 0000000000404030 1 OBJECT LOCAL DEFAULT 25 completed.7251
43: 0000000000403e10 0 OBJECT LOCAL DEFAULT 20 __do_global_dtor[...]
44: 0000000000401170 0 FUNC LOCAL DEFAULT 14 frame_dummy
45: 0000000000403e08 0 OBJECT LOCAL DEFAULT 19 __frame_dummy_in[...]
46: 0000000000000000 0 FILE LOCAL DEFAULT ABS popcount.c
47: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
48: 0000000000402184 0 OBJECT LOCAL DEFAULT 18 __FRAME_END__
49: 0000000000000000 0 FILE LOCAL DEFAULT ABS
50: 0000000000403e10 0 NOTYPE LOCAL DEFAULT 19 __init_array_end
51: 0000000000403e18 0 OBJECT LOCAL DEFAULT 21 _DYNAMIC
52: 0000000000403e08 0 NOTYPE LOCAL DEFAULT 19 __init_array_start
53: 0000000000402004 0 NOTYPE LOCAL DEFAULT 17 __GNU_EH_FRAME_HDR
54: 0000000000404000 0 OBJECT LOCAL DEFAULT 23 _GLOBAL_OFFSET_TABLE_
55: 0000000000401220 2 FUNC GLOBAL DEFAULT 14 __libc_csu_fini
56: 0000000000404020 0 NOTYPE WEAK DEFAULT 24 data_start
57: 0000000000404030 0 NOTYPE GLOBAL DEFAULT 24 _edata
58: 0000000000401224 0 FUNC GLOBAL DEFAULT 15 _fini
59: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_mai[...]
60: 0000000000404020 0 NOTYPE GLOBAL DEFAULT 24 __data_start
61: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__
62: 0000000000404028 0 OBJECT GLOBAL HIDDEN 24 __dso_handle
63: 0000000000402000 4 OBJECT GLOBAL DEFAULT 16 _IO_stdin_used
64: 0000000000401180 33 FUNC GLOBAL DEFAULT 14 popcount
65: 00000000004011b0 101 FUNC GLOBAL DEFAULT 14 __libc_csu_init
66: 0000000000404038 0 NOTYPE GLOBAL DEFAULT 25 _end
67: 000000000040109c 0 FUNC GLOBAL DEFAULT 14 _start
68: 0000000000404030 0 NOTYPE GLOBAL DEFAULT 25 __bss_start
69: 0000000000401050 76 FUNC GLOBAL DEFAULT 14 main
70: 0000000000404030 0 OBJECT GLOBAL HIDDEN 24 __TMC_END__
71: 0000000000401000 0 FUNC GLOBAL DEFAULT 11 _init
Aucune information de version repérée dans ce fichier.
Affichage des notes trouvées dans: .note.ABI-tag
Propriétaire Taille des données Description
GNU 0x00000010 NT_GNU_ABI_TAG (étiquette de version ABI)
OS: Linux, ABI: 2.6.32