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.

238 lines
14 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: 0x400415
Début des en-têtes de programme : 64 (octets dans le fichier)
Début des en-têtes de section : 6624 (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: 9
Taille des en-têtes de section: 64 (octets)
Nombre d'en-têtes de section: 37
Table d'index des chaînes d'en-tête de section: 34
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 0000000000400238 00000238
000000000000001c 0000000000000000 A 0 0 1
[ 2] .note.ABI-tag NOTE 0000000000400254 00000238
0000000000000020 0000000000000000 A 0 0 4
[ 3] .note.gnu.bu[...] NOTE 0000000000400274 00000258
0000000000000024 0000000000000000 A 0 0 4
[ 4] .gnu.hash NOBITS 0000000000400298 00000280
000000000000001c 0000000000000000 A 5 0 8
[ 5] .dynsym NOBITS 00000000004002b8 00000280
0000000000000048 0000000000000018 A 6 1 8
[ 6] .dynstr NOBITS 0000000000400300 00000280
0000000000000038 0000000000000000 A 0 0 1
[ 7] .gnu.version NOBITS 0000000000400338 00000280
0000000000000006 0000000000000002 A 5 0 2
[ 8] .gnu.version_r NOBITS 0000000000400340 00000280
0000000000000020 0000000000000000 A 6 1 8
[ 9] .rela.dyn NOBITS 0000000000400360 00000280
0000000000000018 0000000000000018 A 5 0 8
[10] .rela.plt NOBITS 0000000000400378 00000280
0000000000000030 0000000000000018 AI 5 12 8
[11] .init NOBITS 00000000004003a8 00000280
000000000000001a 0000000000000000 AX 0 0 4
[12] .plt NOBITS 00000000004003d0 00000280
0000000000000030 0000000000000010 AX 0 0 16
[13] .text NOBITS 0000000000400400 00000280
0000000000000232 0000000000000000 AX 0 0 16
[14] .fini NOBITS 0000000000400634 00000280
0000000000000009 0000000000000000 AX 0 0 4
[15] .rodata NOBITS 0000000000400640 00000280
0000000000000016 0000000000000000 A 0 0 8
[16] .eh_frame_hdr NOBITS 0000000000400658 00000280
000000000000005c 0000000000000000 A 0 0 4
[17] .eh_frame NOBITS 00000000004006b8 00000280
000000000000016c 0000000000000000 A 0 0 8
[18] .init_array NOBITS 0000000000600e10 00000280
0000000000000008 0000000000000000 WA 0 0 8
[19] .fini_array NOBITS 0000000000600e18 00000280
0000000000000008 0000000000000000 WA 0 0 8
[20] .jcr NOBITS 0000000000600e20 00000280
0000000000000008 0000000000000000 WA 0 0 8
[21] .dynamic NOBITS 0000000000600e28 00000280
00000000000001d0 0000000000000010 WA 6 0 8
[22] .got NOBITS 0000000000600ff8 00000280
0000000000000008 0000000000000008 WA 0 0 8
[23] .got.plt NOBITS 0000000000601000 00000280
0000000000000028 0000000000000008 WA 0 0 8
[24] .data NOBITS 0000000000601028 00000280
0000000000000004 0000000000000000 WA 0 0 1
[25] .bss NOBITS 000000000060102c 00000280
0000000000000004 0000000000000000 WA 0 0 1
[26] .comment NOBITS 0000000000000000 00000280
000000000000002d 0000000000000001 MS 0 0 1
[27] .debug_aranges PROGBITS 0000000000000000 00000280
0000000000000070 0000000000000000 0 0 1
[28] .debug_info PROGBITS 0000000000000000 000002f0
00000000000003de 0000000000000000 0 0 1
[29] .debug_abbrev PROGBITS 0000000000000000 000006ce
00000000000002a9 0000000000000000 0 0 1
[30] .debug_line PROGBITS 0000000000000000 00000977
00000000000000e1 0000000000000000 0 0 1
[31] .debug_str PROGBITS 0000000000000000 00000a58
00000000000000c6 0000000000000001 MS 0 0 1
[32] .debug_loc PROGBITS 0000000000000000 00000b1e
000000000000033a 0000000000000000 0 0 1
[33] .debug_ranges PROGBITS 0000000000000000 00000e58
0000000000000090 0000000000000000 0 0 1
[34] .shstrtab STRTAB 0000000000000000 00000ee8
0000000000000161 0000000000000000 0 0 1
[35] .symtab SYMTAB 0000000000000000 00001050
0000000000000738 0000000000000018 36 53 8
[36] .strtab STRTAB 0000000000000000 00001788
0000000000000253 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
0x00000000000001f8 0x00000000000001f8 R E 0x8
INTERP 0x0000000000000238 0x0000000000400238 0x0000000000400238
0x000000000000001c 0x000000000000001c R 0x1
[Réquisition de l'interpréteur de programme: ]
LOAD 0x0000000000000000 0x0000000000400000 0x0000000000400000
0x0000000000000824 0x0000000000000824 R E 0x200000
LOAD 0x0000000000000e10 0x0000000000600e10 0x0000000000600e10
0x000000000000021c 0x0000000000000220 RW 0x200000
DYNAMIC 0x0000000000000e28 0x0000000000600e28 0x0000000000600e28
0x00000000000001d0 0x00000000000001d0 RW 0x8
NOTE 0x0000000000000254 0x0000000000400254 0x0000000000400254
0x0000000000000044 0x0000000000000044 R 0x4
GNU_EH_FRAME 0x0000000000000658 0x0000000000400658 0x0000000000400658
0x000000000000005c 0x000000000000005c R 0x4
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RW 0x10
GNU_RELRO 0x0000000000000e10 0x0000000000600e10 0x0000000000600e10
0x00000000000001f0 0x00000000000001f0 R 0x1
Correspondance section/segment :
Sections de segment...
00
01 .interp .comment
02 .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame
03 .init_array .fini_array .jcr .dynamic .got .got.plt .data .bss
04 .dynamic
05 .note.gnu.build-id .comment
06 .eh_frame_hdr
07
08 .init_array .fini_array .jcr .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 77 entrées :
Num: Valeur Tail Type Lien Vis Ndx Nom
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
1: 0000000000400238 0 SECTION LOCAL DEFAULT 1 .interp
2: 0000000000400254 0 SECTION LOCAL DEFAULT 2 .note.ABI-tag
3: 0000000000400274 0 SECTION LOCAL DEFAULT 3 .note.gnu.build-id
4: 0000000000400298 0 SECTION LOCAL DEFAULT 4 .gnu.hash
5: 00000000004002b8 0 SECTION LOCAL DEFAULT 5 .dynsym
6: 0000000000400300 0 SECTION LOCAL DEFAULT 6 .dynstr
7: 0000000000400338 0 SECTION LOCAL DEFAULT 7 .gnu.version
8: 0000000000400340 0 SECTION LOCAL DEFAULT 8 .gnu.version_r
9: 0000000000400360 0 SECTION LOCAL DEFAULT 9 .rela.dyn
10: 0000000000400378 0 SECTION LOCAL DEFAULT 10 .rela.plt
11: 00000000004003a8 0 SECTION LOCAL DEFAULT 11 .init
12: 00000000004003d0 0 SECTION LOCAL DEFAULT 12 .plt
13: 0000000000400400 0 SECTION LOCAL DEFAULT 13 .text
14: 0000000000400634 0 SECTION LOCAL DEFAULT 14 .fini
15: 0000000000400640 0 SECTION LOCAL DEFAULT 15 .rodata
16: 0000000000400658 0 SECTION LOCAL DEFAULT 16 .eh_frame_hdr
17: 00000000004006b8 0 SECTION LOCAL DEFAULT 17 .eh_frame
18: 0000000000600e10 0 SECTION LOCAL DEFAULT 18 .init_array
19: 0000000000600e18 0 SECTION LOCAL DEFAULT 19 .fini_array
20: 0000000000600e20 0 SECTION LOCAL DEFAULT 20 .jcr
21: 0000000000600e28 0 SECTION LOCAL DEFAULT 21 .dynamic
22: 0000000000600ff8 0 SECTION LOCAL DEFAULT 22 .got
23: 0000000000601000 0 SECTION LOCAL DEFAULT 23 .got.plt
24: 0000000000601028 0 SECTION LOCAL DEFAULT 24 .data
25: 000000000060102c 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 FILE LOCAL DEFAULT ABS hello.c
35: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
36: 0000000000600e20 0 OBJECT LOCAL DEFAULT 20 __JCR_LIST__
37: 0000000000400440 0 FUNC LOCAL DEFAULT 13 deregister_tm_clones
38: 0000000000400470 0 FUNC LOCAL DEFAULT 13 register_tm_clones
39: 00000000004004b0 0 FUNC LOCAL DEFAULT 13 __do_global_dtors_aux
40: 000000000060102c 1 OBJECT LOCAL DEFAULT 25 completed.6354
41: 0000000000600e18 0 OBJECT LOCAL DEFAULT 19 __do_global_dtor[...]
42: 00000000004004d0 0 FUNC LOCAL DEFAULT 13 frame_dummy
43: 0000000000600e10 0 OBJECT LOCAL DEFAULT 18 __frame_dummy_in[...]
44: 0000000000000000 0 FILE LOCAL DEFAULT ABS world.c
45: 0000000000000000 0 FILE LOCAL DEFAULT ABS crtstuff.c
46: 0000000000400820 0 OBJECT LOCAL DEFAULT 17 __FRAME_END__
47: 0000000000600e20 0 OBJECT LOCAL DEFAULT 20 __JCR_END__
48: 0000000000000000 0 FILE LOCAL DEFAULT ABS
49: 0000000000600e18 0 NOTYPE LOCAL DEFAULT 18 __init_array_end
50: 0000000000600e28 0 OBJECT LOCAL DEFAULT 21 _DYNAMIC
51: 0000000000600e10 0 NOTYPE LOCAL DEFAULT 18 __init_array_start
52: 0000000000601000 0 OBJECT LOCAL DEFAULT 23 _GLOBAL_OFFSET_TABLE_
53: 0000000000400630 2 FUNC GLOBAL DEFAULT 13 __libc_csu_fini
54: 0000000000400580 23 FUNC GLOBAL DEFAULT 13 no_subject
55: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _ITM_deregisterT[...]
56: 0000000000601028 0 NOTYPE WEAK DEFAULT 24 data_start
57: 0000000000400500 23 FUNC GLOBAL DEFAULT 13 subject
58: 000000000060102c 0 NOTYPE GLOBAL DEFAULT 24 _edata
59: 0000000000400634 0 FUNC GLOBAL DEFAULT 14 _fini
60: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __libc_start_mai[...]
61: 0000000000601028 0 NOTYPE GLOBAL DEFAULT 24 __data_start
62: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__
63: 0000000000400648 0 OBJECT GLOBAL HIDDEN 15 __dso_handle
64: 0000000000400640 4 OBJECT GLOBAL DEFAULT 15 _IO_stdin_used
65: 00000000004005c0 101 FUNC GLOBAL DEFAULT 13 __libc_csu_init
66: 0000000000601030 0 NOTYPE GLOBAL DEFAULT 25 _end
67: 0000000000400415 0 FUNC GLOBAL DEFAULT 13 _start
68: 000000000060102c 0 NOTYPE GLOBAL DEFAULT 25 __bss_start
69: 0000000000400400 21 FUNC GLOBAL DEFAULT 13 main
70: 0000000000400520 26 FUNC GLOBAL DEFAULT 13 no_say
71: 00000000004005a0 21 FUNC GLOBAL DEFAULT 13 no_main
72: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses
73: 0000000000601030 0 OBJECT GLOBAL HIDDEN 24 __TMC_END__
74: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _ITM_registerTMC[...]
75: 00000000004003a8 0 FUNC GLOBAL DEFAULT 11 _init
76: 0000000000400540 53 FUNC GLOBAL DEFAULT 13 say
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
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: cf40a1fefb49cb1d66c7b9bd06de479d01dbad26