readelf -a ni Intestazione ELF: Magic: 7f 45 4c 46 02 01 01 03 00 00 00 00 00 00 00 00 Classe: ELF64 Dati: complemento a 2, little endian Versione: 1 (current) SO/ABI: UNIX - GNU Versione ABI: 0 Tipo: EXEC (file eseguibile) Macchina: Advanced Micro Devices X86-64 Versione: 0x1 Indirizzo punto d'ingresso: 0x400a30 Inizio intestazioni di programma 64 (byte nel file) Inizio intestazioni di sezione: 3401704 (byte nel file) Flag: 0x0 Dimensione di questa intestazione: 64 (byte) Dimens. intestazioni di programma: 56 (byte) Numero intestazioni di programma: 6 Dimens. intestazioni di sezione: 64 (byte) Numero di intestazioni di sezione: 30 Indice della tabella di stringhe delle intestazioni di sezione: 29 Intestazioni di sezione: [N°] Nome Tipo Indirizzo Offset Dimensione DimEnt Flag Link Info Allin [ 0] NULL 0000000000000000 00000000 0000000000000000 0000000000000000 0 0 0 [ 1] .note.ABI-tag NOTE 0000000000400190 00000190 0000000000000020 0000000000000000 A 0 0 4 [ 2] .note.gnu.build-i NOTE 00000000004001b0 000001b0 0000000000000024 0000000000000000 A 0 0 4 readelf: attenzione: [ 3]: Link field (0) should index a symtab section. [ 3] .rela.plt RELA 00000000004001d8 000001d8 0000000000000168 0000000000000018 AI 0 24 8 [ 4] .init PROGBITS 0000000000400340 00000340 0000000000000017 0000000000000000 AX 0 0 4 [ 5] .plt PROGBITS 0000000000400360 00000360 00000000000000f0 0000000000000000 AX 0 0 16 [ 6] .text PROGBITS 0000000000400450 00000450 0000000000273787 0000000000000000 AX 0 0 16 [ 7] __libc_freeres_fn PROGBITS 0000000000673be0 00273be0 0000000000000ab7 0000000000000000 AX 0 0 16 [ 8] __libc_thread_fre PROGBITS 00000000006746a0 002746a0 00000000000000e1 0000000000000000 AX 0 0 16 [ 9] .fini PROGBITS 0000000000674784 00274784 0000000000000009 0000000000000000 AX 0 0 4 [10] .rodata PROGBITS 00000000006747a0 002747a0 000000000008d10c 0000000000000000 A 0 0 32 [11] __libc_subfreeres PROGBITS 00000000007018b0 003018b0 0000000000000050 0000000000000000 A 0 0 8 [12] __libc_IO_vtables PROGBITS 0000000000701900 00301900 0000000000000768 0000000000000000 A 0 0 32 [13] __libc_atexit PROGBITS 0000000000702068 00302068 0000000000000008 0000000000000000 A 0 0 8 [14] __libc_thread_sub PROGBITS 0000000000702070 00302070 0000000000000008 0000000000000000 A 0 0 8 [15] .eh_frame PROGBITS 0000000000702078 00302078 0000000000037224 0000000000000000 A 0 0 8 [16] .gcc_except_table PROGBITS 000000000073929c 0033929c 00000000000000ea 0000000000000000 A 0 0 1 [17] .tdata PROGBITS 0000000000939eb8 00339eb8 0000000000000020 0000000000000000 WAT 0 0 8 [18] .tbss NOBITS 0000000000939ed8 00339ed8 0000000000000030 0000000000000000 WAT 0 0 8 [19] .init_array INIT_ARRAY 0000000000939ed8 00339ed8 0000000000000010 0000000000000008 WA 0 0 8 [20] .fini_array FINI_ARRAY 0000000000939ee8 00339ee8 0000000000000010 0000000000000008 WA 0 0 8 [21] .jcr PROGBITS 0000000000939ef8 00339ef8 0000000000000008 0000000000000000 WA 0 0 8 [22] .data.rel.ro PROGBITS 0000000000939f00 00339f00 00000000000000e4 0000000000000000 WA 0 0 32 [23] .got PROGBITS 0000000000939fe8 00339fe8 0000000000000008 0000000000000008 WA 0 0 8 [24] .got.plt PROGBITS 000000000093a000 0033a000 0000000000000090 0000000000000008 WA 0 0 8 [25] .data PROGBITS 000000000093a0a0 0033a0a0 0000000000004570 0000000000000000 WA 0 0 32 [26] .bss NOBITS 000000000093e620 0033e610 000000000001fb38 0000000000000000 WA 0 0 32 [27] __libc_freeres_pt NOBITS 000000000095e158 0033e610 0000000000000030 0000000000000000 WA 0 0 8 [28] .comment PROGBITS 0000000000000000 0033e610 0000000000000083 0000000000000001 MS 0 0 1 [29] .shstrtab STRTAB 0000000000000000 0033e693 000000000000014f 0000000000000000 0 0 1 Key to Flags: W (write), A (alloc), X (execute), M (merge), S (strings), I (info), L (link order), O (extra OS processing required), G (group), T (TLS), C (compressed), x (unknown), o (OS specific), E (exclude), l (large), p (processor specific) Non ci sono gruppi di sezioni in questo file. Intestazioni di programma: Tipo Offset IndirVirt IndirFis DimFile DimMem Flag Allin LOAD 0x0000000000000000 0x0000000000400000 0x0000000000400000 0x0000000000339386 0x0000000000339386 R E 0x200000 LOAD 0x0000000000339eb8 0x0000000000939eb8 0x0000000000939eb8 0x0000000000004758 0x00000000000242d0 RW 0x200000 NOTE 0x0000000000000190 0x0000000000400190 0x0000000000400190 0x0000000000000044 0x0000000000000044 R 0x4 TLS 0x0000000000339eb8 0x0000000000939eb8 0x0000000000939eb8 0x0000000000000020 0x0000000000000050 R 0x8 GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 RW 0x10 GNU_RELRO 0x0000000000339eb8 0x0000000000939eb8 0x0000000000939eb8 0x0000000000000148 0x0000000000000148 R 0x1 Mappatura da sezione a segmento: Sezioni del segmento... 00 .note.ABI-tag .note.gnu.build-id .rela.plt .init .plt .text __libc_freeres_fn __libc_thread_freeres_fn .fini .rodata __libc_subfreeres __libc_IO_vtables __libc_atexit __libc_thread_subfreeres .eh_frame .gcc_except_table 01 .tdata .init_array .fini_array .jcr .data.rel.ro .got .got.plt .data .bss __libc_freeres_ptrs 02 .note.ABI-tag .note.gnu.build-id 03 .tdata .tbss 04 05 .tdata .init_array .fini_array .jcr .data.rel.ro .got Non ci sono sezioni dinamiche in questo file. La sezione di rilocazione '.rela.plt' at offset 0x1d8 contains 15 entries: Offset Info Tipo Valore sim Nome sim + Addendo 00000093a088 000000000025 R_X86_64_IRELATIV 5fc8b0 00000093a080 000000000025 R_X86_64_IRELATIV 6016b0 00000093a078 000000000025 R_X86_64_IRELATIV 6006e0 00000093a070 000000000025 R_X86_64_IRELATIV 5e4da0 00000093a068 000000000025 R_X86_64_IRELATIV 602260 00000093a060 000000000025 R_X86_64_IRELATIV 5fc480 00000093a058 000000000025 R_X86_64_IRELATIV 5fead0 00000093a050 000000000025 R_X86_64_IRELATIV 666750 00000093a048 000000000025 R_X86_64_IRELATIV 601f30 00000093a040 000000000025 R_X86_64_IRELATIV 602220 00000093a038 000000000025 R_X86_64_IRELATIV 602110 00000093a030 000000000025 R_X86_64_IRELATIV 5fc670 00000093a028 000000000025 R_X86_64_IRELATIV 601340 00000093a020 000000000025 R_X86_64_IRELATIV 5febe0 00000093a018 000000000025 R_X86_64_IRELATIV 601ae0 The decoding of unwind sections for machine type Advanced Micro Devices X86-64 is not currently supported. In questo file non è stata trovata alcuna informazione sulla versione. Displaying notes found in: .note.ABI-tag Proprietario Dimensione dati Descrizione GNU 0x00000010 NT_GNU_ABI_TAG (tag della versione ABI) OS: Linux, ABI: 2.6.32 Displaying notes found in: .note.gnu.build-id Proprietario Dimensione dati Descrizione GNU 0x00000014 NT_GNU_BUILD_ID (stringa di bit unica dell'ID di creazione) ID di creazione: 45a0638d8640fb9d737fbdcbdc59ddbbfa9b8ce1