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.

200 lines
12 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: DYN (fichier objet partagé)
Machine: Advanced Micro Devices X86-64
Version: 0x1
Adresse du point d'entrée: 0x4a0
Début des en-têtes de programme : 64 (octets dans le fichier)
Début des en-têtes de section : 3152 (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: 6
Taille des en-têtes de section: 64 (octets)
Nombre d'en-têtes de section: 34
Table d'index des chaînes d'en-tête de section: 31
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] .note.gnu.bu[...] NOTE 0000000000000190 00000190
0000000000000024 0000000000000000 A 0 0 4
[ 2] .gnu.hash NOBITS 00000000000001b8 000001b8
000000000000003c 0000000000000000 A 3 0 8
[ 3] .dynsym NOBITS 00000000000001f8 000001b8
0000000000000120 0000000000000018 A 4 2 8
[ 4] .dynstr NOBITS 0000000000000318 000001b8
0000000000000076 0000000000000000 A 0 0 1
[ 5] .gnu.version NOBITS 000000000000038e 000001b8
0000000000000018 0000000000000002 A 3 0 2
[ 6] .gnu.version_r NOBITS 00000000000003a8 000001b8
0000000000000020 0000000000000000 A 4 1 8
[ 7] .rela.dyn NOBITS 00000000000003c8 000001b8
0000000000000060 0000000000000018 A 3 0 8
[ 8] .rela.plt NOBITS 0000000000000428 000001b8
0000000000000030 0000000000000018 A 3 10 8
[ 9] .init NOBITS 0000000000000458 000001b8
0000000000000018 0000000000000000 AX 0 0 4
[10] .plt NOBITS 0000000000000470 000001b8
0000000000000030 0000000000000010 AX 0 0 4
[11] .text NOBITS 00000000000004a0 000001c0
0000000000000118 0000000000000000 AX 0 0 16
[12] .fini NOBITS 00000000000005b8 000001c0
000000000000000e 0000000000000000 AX 0 0 4
[13] .eh_frame_hdr NOBITS 00000000000005c8 000001c0
0000000000000014 0000000000000000 A 0 0 4
[14] .eh_frame NOBITS 00000000000005e0 000001c0
000000000000003c 0000000000000000 A 0 0 8
[15] .ctors NOBITS 0000000000200620 000001c0
0000000000000010 0000000000000000 WA 0 0 8
[16] .dtors NOBITS 0000000000200630 000001c0
0000000000000010 0000000000000000 WA 0 0 8
[17] .jcr NOBITS 0000000000200640 000001c0
0000000000000008 0000000000000000 WA 0 0 8
[18] .data.rel.ro NOBITS 0000000000200648 000001c0
0000000000000008 0000000000000000 WA 0 0 8
[19] .dynamic NOBITS 0000000000200650 000001c0
0000000000000180 0000000000000010 WA 4 0 8
[20] .got NOBITS 00000000002007d0 000001c0
0000000000000018 0000000000000008 WA 0 0 8
[21] .got.plt NOBITS 00000000002007e8 000001c0
0000000000000028 0000000000000008 WA 0 0 8
[22] .bss NOBITS 0000000000200810 000001c0
0000000000000010 0000000000000000 WA 0 0 8
[23] .comment NOBITS 0000000000000000 000001c0
000000000000002c 0000000000000001 MS 0 0 1
[24] .debug_aranges PROGBITS 0000000000000000 000001c0
0000000000000030 0000000000000000 0 0 1
[25] .debug_pubnames PROGBITS 0000000000000000 000001f0
000000000000001a 0000000000000000 0 0 1
[26] .debug_info PROGBITS 0000000000000000 0000020a
0000000000000099 0000000000000000 0 0 1
[27] .debug_abbrev PROGBITS 0000000000000000 000002a3
000000000000003f 0000000000000000 0 0 1
[28] .debug_line PROGBITS 0000000000000000 000002e2
0000000000000042 0000000000000000 0 0 1
[29] .debug_str PROGBITS 0000000000000000 00000324
00000000000000a8 0000000000000001 MS 0 0 1
[30] .debug_pubtypes PROGBITS 0000000000000000 000003cc
0000000000000012 0000000000000000 0 0 1
[31] .shstrtab STRTAB 0000000000000000 000003de
0000000000000147 0000000000000000 0 0 1
[32] .symtab SYMTAB 0000000000000000 00000528
00000000000005a0 0000000000000018 33 50 8
[33] .strtab STRTAB 0000000000000000 00000ac8
0000000000000183 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
LOAD 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x000000000000061c 0x000000000000061c R E 0x200000
LOAD 0x0000000000000620 0x0000000000200620 0x0000000000200620
0x00000000000001f0 0x0000000000000200 RW 0x200000
DYNAMIC 0x0000000000000650 0x0000000000200650 0x0000000000200650
0x0000000000000180 0x0000000000000180 RW 0x8
NOTE 0x0000000000000190 0x0000000000000190 0x0000000000000190
0x0000000000000024 0x0000000000000024 R 0x4
GNU_EH_FRAME 0x00000000000005c8 0x00000000000005c8 0x00000000000005c8
0x0000000000000014 0x0000000000000014 R 0x4
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RW 0x8
Correspondance section/segment :
Sections de segment...
00 .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt .text .fini .eh_frame_hdr .eh_frame
01 .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .bss
02 .dynamic
03 .note.gnu.build-id .comment
04 .eh_frame_hdr
05
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 60 entrées :
Num: Valeur Tail Type Lien Vis Ndx Nom
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
1: 0000000000000190 0 SECTION LOCAL DEFAULT 1 .note.gnu.build-id
2: 00000000000001b8 0 SECTION LOCAL DEFAULT 2 .gnu.hash
3: 00000000000001f8 0 SECTION LOCAL DEFAULT 3 .dynsym
4: 0000000000000318 0 SECTION LOCAL DEFAULT 4 .dynstr
5: 000000000000038e 0 SECTION LOCAL DEFAULT 5 .gnu.version
6: 00000000000003a8 0 SECTION LOCAL DEFAULT 6 .gnu.version_r
7: 00000000000003c8 0 SECTION LOCAL DEFAULT 7 .rela.dyn
8: 0000000000000428 0 SECTION LOCAL DEFAULT 8 .rela.plt
9: 0000000000000458 0 SECTION LOCAL DEFAULT 9 .init
10: 0000000000000470 0 SECTION LOCAL DEFAULT 10 .plt
11: 00000000000004a0 0 SECTION LOCAL DEFAULT 11 .text
12: 00000000000005b8 0 SECTION LOCAL DEFAULT 12 .fini
13: 00000000000005c8 0 SECTION LOCAL DEFAULT 13 .eh_frame_hdr
14: 00000000000005e0 0 SECTION LOCAL DEFAULT 14 .eh_frame
15: 0000000000200620 0 SECTION LOCAL DEFAULT 15 .ctors
16: 0000000000200630 0 SECTION LOCAL DEFAULT 16 .dtors
17: 0000000000200640 0 SECTION LOCAL DEFAULT 17 .jcr
18: 0000000000200648 0 SECTION LOCAL DEFAULT 18 .data.rel.ro
19: 0000000000200650 0 SECTION LOCAL DEFAULT 19 .dynamic
20: 00000000002007d0 0 SECTION LOCAL DEFAULT 20 .got
21: 00000000002007e8 0 SECTION LOCAL DEFAULT 21 .got.plt
22: 0000000000200810 0 SECTION LOCAL DEFAULT 22 .bss
23: 0000000000000000 0 SECTION LOCAL DEFAULT 23 .comment
24: 0000000000000000 0 SECTION LOCAL DEFAULT 24 .debug_aranges
25: 0000000000000000 0 SECTION LOCAL DEFAULT 25 .debug_pubnames
26: 0000000000000000 0 SECTION LOCAL DEFAULT 26 .debug_info
27: 0000000000000000 0 SECTION LOCAL DEFAULT 27 .debug_abbrev
28: 0000000000000000 0 SECTION LOCAL DEFAULT 28 .debug_line
29: 0000000000000000 0 SECTION LOCAL DEFAULT 29 .debug_str
30: 0000000000000000 0 SECTION LOCAL DEFAULT 30 .debug_pubtypes
31: 00000000000004a0 0 FUNC LOCAL DEFAULT 11 call_gmon_start
32: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
33: 0000000000200620 0 OBJECT LOCAL DEFAULT 15 __CTOR_LIST__
34: 0000000000200630 0 OBJECT LOCAL DEFAULT 16 __DTOR_LIST__
35: 0000000000200640 0 OBJECT LOCAL DEFAULT 17 __JCR_LIST__
36: 00000000000004c0 0 FUNC LOCAL DEFAULT 11 __do_global_dtors_aux
37: 0000000000200810 1 OBJECT LOCAL DEFAULT 22 completed.5947
38: 0000000000200818 8 OBJECT LOCAL DEFAULT 22 dtor_idx.5949
39: 0000000000000540 0 FUNC LOCAL DEFAULT 11 frame_dummy
40: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
41: 0000000000200628 0 OBJECT LOCAL DEFAULT 15 __CTOR_END__
42: 0000000000000618 0 OBJECT LOCAL DEFAULT 14 __FRAME_END__
43: 0000000000200640 0 OBJECT LOCAL DEFAULT 17 __JCR_END__
44: 0000000000000580 0 FUNC LOCAL DEFAULT 11 __do_global_ctors_aux
45: 0000000000000000 0 FILE LOCAL DEFAULT ABS testfile52-64.c
46: 00000000002007e8 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_
47: 0000000000200648 0 OBJECT LOCAL DEFAULT 18 __dso_handle
48: 0000000000200638 0 OBJECT LOCAL DEFAULT 16 __DTOR_END__
49: 0000000000200650 0 OBJECT LOCAL DEFAULT ABS _DYNAMIC
50: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__
51: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses
52: 0000000000000000 0 FUNC GLOBAL DEFAULT UND exit@@GLIBC_2.2.5
53: 00000000000005b8 0 FUNC GLOBAL DEFAULT 12 _fini
54: 000000000000056c 14 FUNC GLOBAL DEFAULT 11 foo
55: 0000000000000000 0 FUNC WEAK DEFAULT UND __cxa_finalize@@[...]
56: 0000000000200810 0 NOTYPE GLOBAL DEFAULT ABS __bss_start
57: 0000000000200820 0 NOTYPE GLOBAL DEFAULT ABS _end
58: 0000000000200810 0 NOTYPE GLOBAL DEFAULT ABS _edata
59: 0000000000000458 0 FUNC GLOBAL DEFAULT 9 _init
Aucune information de version repérée dans ce fichier.
Affichage des notes trouvées dans: .note.gnu.build-id
Propriétaire Taille des données Description
GNU 0x00000014 NT_GNU_BUILD_ID (chaîne de bits du ID de construction unique)
ID construction: b698deac1c81ea8279bbea1b08729649346a93af