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.

191 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: 0x900
Début des en-têtes de programme : 64 (octets dans le fichier)
Début des en-têtes de section : 3168 (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: 27
Table d'index des chaînes d'en-tête de section: 26
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
0000000000000128 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
0000000000000046 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_frame PROGBITS 0000000000000000 00000180
0000000000000038 0000000000000000 0 0 8
[24] .symtab SYMTAB 0000000000000000 000001b8
00000000000006d8 0000000000000018 25 61 8
[25] .strtab STRTAB 0000000000000000 00000890
00000000000002f5 0000000000000000 0 0 1
[26] .shstrtab STRTAB 0000000000000000 00000b85
00000000000000d5 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 73 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_frame
24: 0000000000000000 0 SECTION LOCAL DEFAULT 24 .symtab
25: 0000000000000000 0 SECTION LOCAL DEFAULT 25 .strtab
26: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/src/build/2[...]
27: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/src/build/2[...]
28: 0000000000000000 0 FILE LOCAL DEFAULT ABS initfini.c
29: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/src/build/2[...]
30: 0000000000000000 0 FILE LOCAL DEFAULT ABS <command line>
31: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/src/build/2[...]
32: 0000000000000000 0 FILE LOCAL DEFAULT ABS <command line>
33: 0000000000000000 0 FILE LOCAL DEFAULT ABS <built-in>
34: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/src/build/2[...]
35: 0000000000000900 0 FUNC LOCAL DEFAULT 10 call_gmon_start
36: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
37: 0000000000100c40 0 OBJECT LOCAL DEFAULT 17 __CTOR_LIST__
38: 0000000000100c50 0 OBJECT LOCAL DEFAULT 18 __DTOR_LIST__
39: 0000000000100c60 0 OBJECT LOCAL DEFAULT 19 __JCR_LIST__
40: 0000000000100ab8 0 OBJECT LOCAL DEFAULT 15 p.0
41: 0000000000100cb0 1 OBJECT LOCAL DEFAULT 21 completed.1
42: 0000000000000940 0 FUNC LOCAL DEFAULT 10 __do_global_dtors_aux
43: 00000000000009a0 0 FUNC LOCAL DEFAULT 10 frame_dummy
44: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
45: 0000000000100c48 0 OBJECT LOCAL DEFAULT 17 __CTOR_END__
46: 0000000000100c58 0 OBJECT LOCAL DEFAULT 18 __DTOR_END__
47: 0000000000000a98 0 OBJECT LOCAL DEFAULT 14 __FRAME_END__
48: 0000000000100c60 0 OBJECT LOCAL DEFAULT 19 __JCR_END__
49: 00000000000009f0 0 FUNC LOCAL DEFAULT 10 __do_global_ctors_aux
50: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/src/build/2[...]
51: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/src/build/2[...]
52: 0000000000000000 0 FILE LOCAL DEFAULT ABS initfini.c
53: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/src/build/2[...]
54: 0000000000000000 0 FILE LOCAL DEFAULT ABS <command line>
55: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/src/build/2[...]
56: 0000000000000000 0 FILE LOCAL DEFAULT ABS <command line>
57: 0000000000000000 0 FILE LOCAL DEFAULT ABS <built-in>
58: 0000000000000000 0 FILE LOCAL DEFAULT ABS /usr/src/build/2[...]
59: 0000000000000000 0 FILE LOCAL DEFAULT ABS u.c
60: 0000000000100ab0 0 OBJECT LOCAL HIDDEN 15 __dso_handle
61: 0000000000100ac0 384 OBJECT GLOBAL DEFAULT ABS _DYNAMIC
62: 0000000000000878 0 FUNC GLOBAL DEFAULT 8 _init
63: 0000000000100cb0 0 NOTYPE GLOBAL DEFAULT ABS __bss_start
64: 0000000000000000 153 FUNC WEAK DEFAULT UND __cxa_finalize@@[...]
65: 0000000000000a28 0 FUNC GLOBAL DEFAULT 11 _fini
66: 00000000000009d0 23 FUNC GLOBAL DEFAULT 10 foo
67: 0000000000100cb0 0 NOTYPE GLOBAL DEFAULT ABS _edata
68: 0000000000100c68 72 OBJECT GLOBAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_
69: 0000000000100cb8 0 NOTYPE GLOBAL DEFAULT ABS _end
70: 0000000000000000 290 FUNC GLOBAL DEFAULT UND puts@@GLIBC_2.2.5
71: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses
72: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__
Aucune information de version repérée dans ce fichier.