Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- readelf test -a
- 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: DYN (Shared object file)
- Machine: Advanced Micro Devices X86-64
- Version: 0x1
- Entry point address: 0x356
- Start of program headers: 64 (bytes into file)
- Start of section headers: 17544 (bytes into file)
- Flags: 0x0
- Size of this header: 64 (bytes)
- Size of program headers: 56 (bytes)
- Number of program headers: 7
- Size of section headers: 64 (bytes)
- Number of section headers: 13
- Section header string table index: 12
- Section Headers:
- [Nr] Name Type Address Offset
- Size EntSize Flags Link Info Align
- [ 0] NULL 0000000000000000 00000000
- 0000000000000000 0000000000000000 0 0 0
- [ 1] .interp PROGBITS 00000000000001c8 000001c8
- 000000000000001c 0000000000000000 A 0 0 1
- [ 2] .note.gnu.build-i NOTE 00000000000001e4 000001e4
- 0000000000000024 0000000000000000 A 0 0 4
- [ 3] .gnu.hash GNU_HASH 0000000000000208 00000208
- 000000000000001c 0000000000000000 A 4 0 8
- [ 4] .dynsym DYNSYM 0000000000000228 00000228
- 0000000000000018 0000000000000018 A 5 1 8
- [ 5] .dynstr STRTAB 0000000000000240 00000240
- 0000000000000001 0000000000000000 A 0 0 1
- [ 6] .text PROGBITS 0000000000000241 00000241
- 0000000000000126 0000000000000000 AX 0 0 1
- [ 7] .eh_frame PROGBITS 0000000000000368 00000368
- 0000000000000000 0000000000000000 A 0 0 8
- [ 8] .dynamic DYNAMIC 0000000000200f20 00000f20
- 00000000000000e0 0000000000000010 WA 5 0 8
- [ 9] .data PROGBITS 0000000000201000 00001000
- 0000000000003041 0000000000000000 WA 0 0 1
- [10] .symtab SYMTAB 0000000000000000 00004048
- 00000000000002e8 0000000000000018 11 27 8
- [11] .strtab STRTAB 0000000000000000 00004330
- 00000000000000e2 0000000000000000 0 0 1
- [12] .shstrtab STRTAB 0000000000000000 00004412
- 000000000000006f 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)
- There are no section groups in this file.
- Program Headers:
- Type Offset VirtAddr PhysAddr
- FileSiz MemSiz Flags Align
- PHDR 0x0000000000000040 0x0000000000000040 0x0000000000000040
- 0x0000000000000188 0x0000000000000188 R 0x8
- INTERP 0x00000000000001c8 0x00000000000001c8 0x00000000000001c8
- 0x000000000000001c 0x000000000000001c R 0x1
- [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
- LOAD 0x0000000000000000 0x0000000000000000 0x0000000000000000
- 0x0000000000000368 0x0000000000000368 R E 0x200000
- LOAD 0x0000000000000f20 0x0000000000200f20 0x0000000000200f20
- 0x0000000000003121 0x0000000000003121 RW 0x200000
- DYNAMIC 0x0000000000000f20 0x0000000000200f20 0x0000000000200f20
- 0x00000000000000e0 0x00000000000000e0 RW 0x8
- NOTE 0x00000000000001e4 0x00000000000001e4 0x00000000000001e4
- 0x0000000000000024 0x0000000000000024 R 0x4
- GNU_RELRO 0x0000000000000f20 0x0000000000200f20 0x0000000000200f20
- 0x00000000000000e0 0x00000000000000e0 R 0x1
- Section to Segment mapping:
- Segment Sections...
- 00
- 01 .interp
- 02 .interp .note.gnu.build-id .gnu.hash .dynsym .dynstr .text
- 03 .dynamic .data
- 04 .dynamic
- 05 .note.gnu.build-id
- 06 .dynamic
- Dynamic section at offset 0xf20 contains 9 entries:
- Tag Type Name/Value
- 0x000000006ffffef5 (GNU_HASH) 0x208
- 0x0000000000000005 (STRTAB) 0x240
- 0x0000000000000006 (SYMTAB) 0x228
- 0x000000000000000a (STRSZ) 1 (bytes)
- 0x000000000000000b (SYMENT) 24 (bytes)
- 0x0000000000000015 (DEBUG) 0x0
- 0x000000000000001e (FLAGS) BIND_NOW
- 0x000000006ffffffb (FLAGS_1) Flags: NOW PIE
- 0x0000000000000000 (NULL) 0x0
- There are no relocations in this file.
- The decoding of unwind sections for machine type Advanced Micro Devices X86-64 is not currently supported.
- Symbol table '.dynsym' contains 1 entry:
- Num: Value Size Type Bind Vis Ndx Name
- 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
- Symbol table '.symtab' contains 31 entries:
- Num: Value Size Type Bind Vis Ndx Name
- 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
- 1: 00000000000001c8 0 SECTION LOCAL DEFAULT 1
- 2: 00000000000001e4 0 SECTION LOCAL DEFAULT 2
- 3: 0000000000000208 0 SECTION LOCAL DEFAULT 3
- 4: 0000000000000228 0 SECTION LOCAL DEFAULT 4
- 5: 0000000000000240 0 SECTION LOCAL DEFAULT 5
- 6: 0000000000000241 0 SECTION LOCAL DEFAULT 6
- 7: 0000000000000368 0 SECTION LOCAL DEFAULT 7
- 8: 0000000000200f20 0 SECTION LOCAL DEFAULT 8
- 9: 0000000000201000 0 SECTION LOCAL DEFAULT 9
- 10: 0000000000000000 0 FILE LOCAL DEFAULT ABS /tmp/ccX5oduP.o
- 11: 0000000000201000 0 NOTYPE LOCAL DEFAULT 9 linked_space
- 12: 0000000000204000 0 NOTYPE LOCAL DEFAULT 9 list_head
- 13: 0000000000204010 0 NOTYPE LOCAL DEFAULT 9 opening_bracket
- 14: 0000000000204011 0 NOTYPE LOCAL DEFAULT 9 straight_line
- 15: 0000000000204012 0 NOTYPE LOCAL DEFAULT 9 closing_part
- 16: 0000000000204017 0 NOTYPE LOCAL DEFAULT 9 last_part
- 17: 0000000000204024 0 NOTYPE LOCAL DEFAULT 9 cut_error_text
- 18: 0000000000000241 0 NOTYPE LOCAL DEFAULT 6 add_head
- 19: 0000000000000265 0 NOTYPE LOCAL DEFAULT 6 cut_head
- 20: 0000000000000281 0 NOTYPE LOCAL DEFAULT 6 cut_error
- 21: 00000000000002a0 0 NOTYPE LOCAL DEFAULT 6 pre_print
- 22: 00000000000002a8 0 NOTYPE LOCAL DEFAULT 6 print_node
- 23: 0000000000000327 0 NOTYPE LOCAL DEFAULT 6 return_printing
- 24: 0000000000000347 0 NOTYPE LOCAL DEFAULT 6 list_initialization
- 25: 0000000000000000 0 FILE LOCAL DEFAULT ABS
- 26: 0000000000200f20 0 OBJECT LOCAL DEFAULT 8 _DYNAMIC
- 27: 0000000000000356 0 NOTYPE GLOBAL DEFAULT 6 _start
- 28: 0000000000204041 0 NOTYPE GLOBAL DEFAULT 9 __bss_start
- 29: 0000000000204041 0 NOTYPE GLOBAL DEFAULT 9 _edata
- 30: 0000000000204048 0 NOTYPE GLOBAL DEFAULT 9 _end
- No version information found in this file.
- Displaying notes found in: .note.gnu.build-id
- Owner Data size Description
- GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID bitstring)
- Build ID: dd6c638c7b1881b0c0f04af36be25961ce14c85c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement