ELF Header: Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: REL (Relocatable file) Machine: Advanced Micro Devices X86-64 Version: 0x1 Entry point address: 0x0 Start of program headers: 0 (bytes into file) Start of section headers: 1408 (bytes into file) Flags: 0x0 Size of this header: 64 (bytes) Size of program headers: 0 (bytes) Number of program headers: 0 Size of section headers: 64 (bytes) Number of section headers: 14 Section header string table index: 13 Section Headers: [Nr] Name Type Address Offset Size EntSize Flags Link Info Align [ 0] NULL 0000000000000000 00000000 0000000000000000 0000000000000000 0 0 0 [ 1] .text PROGBITS 0000000000000000 00000040 0000000000000162 0000000000000000 AX 0 0 1 [ 2] .rela.text RELA 0000000000000000 00000430 0000000000000078 0000000000000018 I 11 1 8 [ 3] .data PROGBITS 0000000000000000 000001a2 0000000000000000 0000000000000000 WA 0 0 1 [ 4] .bss NOBITS 0000000000000000 000001a2 0000000000000000 0000000000000000 WA 0 0 1 [ 5] .rodata PROGBITS 0000000000000000 000001a2 000000000000001d 0000000000000000 A 0 0 1 [ 6] .comment PROGBITS 0000000000000000 000001bf 000000000000002f 0000000000000001 MS 0 0 1 [ 7] .note.GNU-stack PROGBITS 0000000000000000 000001ee 0000000000000000 0000000000000000 0 0 1 [ 8] .note.gnu.pr[...] NOTE 0000000000000000 000001f0 0000000000000030 0000000000000000 A 0 0 8 [ 9] .eh_frame PROGBITS 0000000000000000 00000220 0000000000000098 0000000000000000 A 0 0 8 [10] .rela.eh_frame RELA 0000000000000000 000004a8 0000000000000060 0000000000000018 I 11 9 8 [11] .symtab SYMTAB 0000000000000000 000002b8 0000000000000120 0000000000000018 12 4 8 [12] .strtab STRTAB 0000000000000000 000003d8 0000000000000052 0000000000000000 0 0 1 [13] .shstrtab STRTAB 0000000000000000 00000508 0000000000000074 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), D (mbind), l (large), p (processor specific) There are no section groups in this file. There are no program headers in this file. There is no dynamic section in this file. Relocation section '.rela.text' at offset 0x430 contains 5 entries: Offset Info Type Sym. Value Sym. Name + Addend 000000000019 000500000004 R_X86_64_PLT32 0000000000000000 malloc - 4 000000000043 000600000004 R_X86_64_PLT32 0000000000000000 strncpy - 4 0000000000e4 000900000004 R_X86_64_PLT32 0000000000000000 realloc - 4 000000000151 00030000000a R_X86_64_32 0000000000000000 .rodata + 0 00000000015b 000b00000004 R_X86_64_PLT32 0000000000000000 printf - 4 Relocation section '.rela.eh_frame' at offset 0x4a8 contains 4 entries: Offset Info Type Sym. Value Sym. Name + Addend 000000000020 000200000002 R_X86_64_PC32 0000000000000000 .text + 0 000000000040 000200000002 R_X86_64_PC32 0000000000000000 .text + 82 000000000060 000200000002 R_X86_64_PC32 0000000000000000 .text + 9d 000000000080 000200000002 R_X86_64_PC32 0000000000000000 .text + 130 No processor specific unwind information to decode Symbol table '.symtab' contains 12 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND 1: 0000000000000000 0 FILE LOCAL DEFAULT ABS class.c 2: 0000000000000000 0 SECTION LOCAL DEFAULT 1 .text 3: 0000000000000000 0 SECTION LOCAL DEFAULT 5 .rodata 4: 0000000000000000 130 FUNC GLOBAL DEFAULT 1 new_class 5: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND malloc 6: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND strncpy 7: 0000000000000082 27 FUNC GLOBAL DEFAULT 1 change_teacher 8: 000000000000009d 147 FUNC GLOBAL DEFAULT 1 add_student 9: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND realloc 10: 0000000000000130 50 FUNC GLOBAL DEFAULT 1 print 11: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND printf No version information found in this file. Displaying notes found in: .note.gnu.property Owner Data size Description GNU 0x00000020 NT_GNU_PROPERTY_TYPE_0 Properties: x86 ISA used: x86-64-baseline x86 feature used: x86