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.
 
 
 
 
 
 

212 lines
13 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: 0x900
Début des en-têtes de programme : 64 (octets dans le fichier)
Début des en-têtes de section : 20944 (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: 5
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] .hash NOBITS 0000000000000158 00000158
0000000000000148 0000000000000004 A 2 0 8
[ 2] .dynsym NOBITS 00000000000002a0 00000158
0000000000000408 0000000000000018 A 3 31 8
[ 3] .dynstr NOBITS 00000000000006a8 00000158
0000000000000095 0000000000000000 A 0 0 1
[ 4] .gnu.version NOBITS 000000000000073e 00000158
0000000000000056 0000000000000002 A 2 0 2
[ 5] .gnu.version_r NOBITS 0000000000000798 00000158
0000000000000020 0000000000000000 A 3 1 8
[ 6] .rela.dyn NOBITS 00000000000007b8 00000158
0000000000000078 0000000000000018 A 2 0 8
[ 7] .rela.plt NOBITS 0000000000000830 00000158
0000000000000048 0000000000000018 A 2 20 8
[ 8] .init NOBITS 0000000000000878 00000158
0000000000000018 0000000000000000 AX 0 0 4
[ 9] .plt NOBITS 0000000000000890 00000158
0000000000000040 0000000000000010 AX 0 0 4
[10] .text NOBITS 0000000000000900 00000180
0000000000000128 0000000000000000 AX 0 0 64
[11] .fini NOBITS 0000000000000a28 00000180
000000000000000e 0000000000000000 AX 0 0 4
[12] .rodata NOBITS 0000000000000a36 00000180
0000000000000006 0000000000000000 A 0 0 1
[13] .eh_frame_hdr NOBITS 0000000000000a3c 00000180
0000000000000014 0000000000000000 A 0 0 4
[14] .eh_frame NOBITS 0000000000000a50 00000180
0000000000000060 0000000000000000 A 0 0 8
[15] .data NOBITS 0000000000100ab0 00000180
0000000000000010 0000000000000000 WA 0 0 8
[16] .dynamic NOBITS 0000000000100ac0 00000180
0000000000000180 0000000000000010 WA 3 0 8
[17] .ctors NOBITS 0000000000100c40 00000180
0000000000000010 0000000000000000 WA 0 0 8
[18] .dtors NOBITS 0000000000100c50 00000180
0000000000000010 0000000000000000 WA 0 0 8
[19] .jcr NOBITS 0000000000100c60 00000180
0000000000000008 0000000000000000 WA 0 0 8
[20] .got NOBITS 0000000000100c68 00000180
0000000000000048 0000000000000008 WA 0 0 8
[21] .bss NOBITS 0000000000100cb0 00000180
0000000000000008 0000000000000000 WA 0 0 4
[22] .comment NOBITS 0000000000000000 00000180
00000000000000f6 0000000000000000 0 0 1
[23] .debug_aranges PROGBITS 0000000000000000 00000180
00000000000000c0 0000000000000000 0 0 16
[24] .debug_pubnames PROGBITS 0000000000000000 00000240
000000000000001a 0000000000000000 0 0 1
[25] .debug_info PROGBITS 0000000000000000 0000025a
0000000000000d8c 0000000000000000 0 0 1
[26] .debug_abbrev PROGBITS 0000000000000000 00000fe6
0000000000000155 0000000000000000 0 0 1
[27] .debug_line PROGBITS 0000000000000000 0000113b
00000000000002c5 0000000000000000 0 0 1
[28] .debug_frame PROGBITS 0000000000000000 00001400
0000000000000038 0000000000000000 0 0 8
[29] .debug_str PROGBITS 0000000000000000 00001438
00000000000008bb 0000000000000001 MS 0 0 1
[30] .debug_macinfo PROGBITS 0000000000000000 00001cf3
0000000000002916 0000000000000000 0 0 1
[31] .shstrtab STRTAB 0000000000000000 00004609
0000000000000134 0000000000000000 0 0 1
[32] .symtab SYMTAB 0000000000000000 00004740
0000000000000798 0000000000000018 33 69 8
[33] .strtab STRTAB 0000000000000000 00004ed8
00000000000002f5 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
0x0000000000000ab0 0x0000000000000ab0 R E 0x100000
LOAD 0x0000000000000ab0 0x0000000000100ab0 0x0000000000100ab0
0x0000000000000200 0x0000000000000208 RW 0x100000
DYNAMIC 0x0000000000000ac0 0x0000000000100ac0 0x0000000000100ac0
0x0000000000000180 0x0000000000000180 RW 0x8
GNU_EH_FRAME 0x0000000000000a3c 0x0000000000000a3c 0x0000000000000a3c
0x0000000000000014 0x0000000000000014 R 0x4
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RWE 0x8
Correspondance section/segment :
Sections de segment...
00 .hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame
01 .data .dynamic .ctors .dtors .jcr .got .bss
02 .dynamic
03 .eh_frame_hdr
04
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 81 entrées :
Num: Valeur Tail Type Lien Vis Ndx Nom
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
1: 0000000000000158 0 SECTION LOCAL DEFAULT 1 .hash
2: 00000000000002a0 0 SECTION LOCAL DEFAULT 2 .dynsym
3: 00000000000006a8 0 SECTION LOCAL DEFAULT 3 .dynstr
4: 000000000000073e 0 SECTION LOCAL DEFAULT 4 .gnu.version
5: 0000000000000798 0 SECTION LOCAL DEFAULT 5 .gnu.version_r
6: 00000000000007b8 0 SECTION LOCAL DEFAULT 6 .rela.dyn
7: 0000000000000830 0 SECTION LOCAL DEFAULT 7 .rela.plt
8: 0000000000000878 0 SECTION LOCAL DEFAULT 8 .init
9: 0000000000000890 0 SECTION LOCAL DEFAULT 9 .plt
10: 0000000000000900 0 SECTION LOCAL DEFAULT 10 .text
11: 0000000000000a28 0 SECTION LOCAL DEFAULT 11 .fini
12: 0000000000000a36 0 SECTION LOCAL DEFAULT 12 .rodata
13: 0000000000000a3c 0 SECTION LOCAL DEFAULT 13 .eh_frame_hdr
14: 0000000000000a50 0 SECTION LOCAL DEFAULT 14 .eh_frame
15: 0000000000100ab0 0 SECTION LOCAL DEFAULT 15 .data
16: 0000000000100ac0 0 SECTION LOCAL DEFAULT 16 .dynamic
17: 0000000000100c40 0 SECTION LOCAL DEFAULT 17 .ctors
18: 0000000000100c50 0 SECTION LOCAL DEFAULT 18 .dtors
19: 0000000000100c60 0 SECTION LOCAL DEFAULT 19 .jcr
20: 0000000000100c68 0 SECTION LOCAL DEFAULT 20 .got
21: 0000000000100cb0 0 SECTION LOCAL DEFAULT 21 .bss
22: 0000000000000000 0 SECTION LOCAL DEFAULT 22 .comment
23: 0000000000000000 0 SECTION LOCAL DEFAULT 23 .debug_aranges
24: 0000000000000000 0 SECTION LOCAL DEFAULT 24 .debug_pubnames
25: 0000000000000000 0 SECTION LOCAL DEFAULT 25 .debug_info
26: 0000000000000000 0 SECTION LOCAL DEFAULT 26 .debug_abbrev
27: 0000000000000000 0 SECTION LOCAL DEFAULT 27 .debug_line
28: 0000000000000000 0 SECTION LOCAL DEFAULT 28 .debug_frame
29: 0000000000000000 0 SECTION LOCAL DEFAULT 29 .debug_str
30: 0000000000000000 0 SECTION LOCAL DEFAULT 30 .debug_macinfo
31: 0000000000000000 0 SECTION LOCAL DEFAULT 31 .shstrtab
32: 0000000000000000 0 SECTION LOCAL DEFAULT 32 .symtab
33: 0000000000000000 0 SECTION LOCAL DEFAULT 33 .strtab
34: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/src/build/2[...]
35: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/src/build/2[...]
36: 0000000000000000 0 FILE LOCAL DEFAULT ABS initfini.c
37: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/src/build/2[...]
38: 0000000000000000 0 FILE LOCAL DEFAULT ABS <command line>
39: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/src/build/2[...]
40: 0000000000000000 0 FILE LOCAL DEFAULT ABS <command line>
41: 0000000000000000 0 FILE LOCAL DEFAULT ABS <built-in>
42: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/src/build/2[...]
43: 0000000000000900 0 FUNC LOCAL DEFAULT 10 call_gmon_start
44: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
45: 0000000000100c40 0 OBJECT LOCAL DEFAULT 17 __CTOR_LIST__
46: 0000000000100c50 0 OBJECT LOCAL DEFAULT 18 __DTOR_LIST__
47: 0000000000100c60 0 OBJECT LOCAL DEFAULT 19 __JCR_LIST__
48: 0000000000100ab8 0 OBJECT LOCAL DEFAULT 15 p.0
49: 0000000000100cb0 1 OBJECT LOCAL DEFAULT 21 completed.1
50: 0000000000000940 0 FUNC LOCAL DEFAULT 10 __do_global_dtors_aux
51: 00000000000009a0 0 FUNC LOCAL DEFAULT 10 frame_dummy
52: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
53: 0000000000100c48 0 OBJECT LOCAL DEFAULT 17 __CTOR_END__
54: 0000000000100c58 0 OBJECT LOCAL DEFAULT 18 __DTOR_END__
55: 0000000000000a98 0 OBJECT LOCAL DEFAULT 14 __FRAME_END__
56: 0000000000100c60 0 OBJECT LOCAL DEFAULT 19 __JCR_END__
57: 00000000000009f0 0 FUNC LOCAL DEFAULT 10 __do_global_ctors_aux
58: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/src/build/2[...]
59: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/src/build/2[...]
60: 0000000000000000 0 FILE LOCAL DEFAULT ABS initfini.c
61: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/src/build/2[...]
62: 0000000000000000 0 FILE LOCAL DEFAULT ABS <command line>
63: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/src/build/2[...]
64: 0000000000000000 0 FILE LOCAL DEFAULT ABS <command line>
65: 0000000000000000 0 FILE LOCAL DEFAULT ABS <built-in>
66: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/src/build/2[...]
67: 0000000000000000 0 FILE LOCAL DEFAULT ABS u.c
68: 0000000000100ab0 0 OBJECT LOCAL HIDDEN 15 __dso_handle
69: 0000000000100ac0 384 OBJECT GLOBAL DEFAULT ABS _DYNAMIC
70: 0000000000000878 0 FUNC GLOBAL DEFAULT 8 _init
71: 0000000000100cb0 0 NOTYPE GLOBAL DEFAULT ABS __bss_start
72: 0000000000000000 153 FUNC WEAK DEFAULT UND __cxa_finalize@@[...]
73: 0000000000000a28 0 FUNC GLOBAL DEFAULT 11 _fini
74: 00000000000009d0 23 FUNC GLOBAL DEFAULT 10 foo
75: 0000000000100cb0 0 NOTYPE GLOBAL DEFAULT ABS _edata
76: 0000000000100c68 72 OBJECT GLOBAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_
77: 0000000000100cb8 0 NOTYPE GLOBAL DEFAULT ABS _end
78: 0000000000000000 290 FUNC GLOBAL DEFAULT UND puts@@GLIBC_2.2.5
79: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses
80: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__
Aucune information de version repérée dans ce fichier.