Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- readelf -Wl clickhouse
- Elf file type is EXEC (Executable file)
- Entry point 0xacdf200
- There are 12 program headers, starting at offset 64
- Program Headers:
- Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
- PHDR 0x000040 0x0000000000200040 0x0000000000200040 0x0002a0 0x0002a0 R 0x8
- INTERP 0x0002e0 0x00000000002002e0 0x00000000002002e0 0x00001c 0x00001c R 0x1
- [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
- LOAD 0x000000 0x0000000000200000 0x0000000000200000 0xaade1f4 0xaade1f4 R 0x1000
- LOAD 0xaade200 0x000000000acdf200 0x000000000acdf200 0x105201b0 0x105201b0 R E 0x1000
- LOAD 0x1affe3c0 0x000000001b2003c0 0x000000001b2003c0 0x004790 0x0047d0 RW 0x1000
- LOAD 0x1b002bc0 0x000000001b205bc0 0x000000001b205bc0 0x1acaa8 0x5e3f48 RW 0x1000
- TLS 0x1affe3c0 0x000000001b2003c0 0x000000001b2003c0 0x002978 0x008dd8 R 0x40
- DYNAMIC 0x1b002910 0x000000001b204910 0x000000001b204910 0x0001e0 0x0001e0 RW 0x8
- GNU_RELRO 0x1affe3c0 0x000000001b2003c0 0x000000001b2003c0 0x004790 0x004c40 R 0x1
- GNU_EH_FRAME 0x8cda590 0x0000000008eda590 0x0000000008eda590 0x3d0d3c 0x3d0d3c R 0x4
- GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0
- NOTE 0x0002fc 0x00000000002002fc 0x00000000002002fc 0x000038 0x000038 R 0x4
- Section to Segment mapping:
- Segment Sections...
- 00
- 01 .interp
- 02 .interp .note.ABI-tag .note.gnu.build-id .dynsym .gnu.version .gnu.version_r .gnu.hash .dynstr .rela.dyn .rela.plt .rodata .gcc_except_table .eh_frame_hdr .eh_frame
- 03 .text .init .fini malloc_hook .plt
- 04 .tdata .fini_array .init_array .dynamic .got .bss.rel.ro
- 05 .data .tm_clone_table .got.plt .bss
- 06 .tdata .tbss
- 07 .dynamic
- 08 .tdata .fini_array .init_array .dynamic .got .bss.rel.ro
- 09 .eh_frame_hdr
- 10
- 11 .note.ABI-tag .note.gnu.build-id
- danilak@danilak-l ~/D/output [SIGINT]> readelf -S clickhouse
- There are 42 section headers, starting at offset 0x785134f0:
- 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 00000000002002e0 000002e0
- 000000000000001c 0000000000000000 A 0 0 1
- [ 2] .note.ABI-tag NOTE 00000000002002fc 000002fc
- 0000000000000020 0000000000000000 A 0 0 4
- [ 3] .note.gnu.bu[...] NOTE 000000000020031c 0000031c
- 0000000000000018 0000000000000000 A 0 0 4
- [ 4] .dynsym DYNSYM 0000000000200338 00000338
- 0000000000b0b6b0 0000000000000018 A 8 1 8
- [ 5] .gnu.version VERSYM 0000000000d0b9e8 00b0b9e8
- 00000000000eb9e4 0000000000000002 A 4 0 2
- [ 6] .gnu.version_r VERNEED 0000000000df73cc 00bf73cc
- 0000000000000130 0000000000000000 A 8 6 4
- [ 7] .gnu.hash GNU_HASH 0000000000df7500 00bf7500
- 000000000034c67c 0000000000000000 A 4 0 8
- [ 8] .dynstr STRTAB 0000000001143b7c 00f43b7c
- 00000000041c5ab5 0000000000000000 A 0 0 1
- [ 9] .rela.dyn RELA 0000000005309638 05109638
- 0000000000000360 0000000000000018 A 4 0 8
- [10] .rela.plt RELA 0000000005309998 05109998
- 0000000000003390 0000000000000018 AI 4 29 8
- [11] .rodata PROGBITS 000000000530d000 0510d000
- 0000000003276fc0 0000000000000000 AMS 0 0 4096
- [12] .gcc_except_table PROGBITS 0000000008583fc0 08383fc0
- 00000000009565d0 0000000000000000 A 0 0 4
- [13] .eh_frame_hdr PROGBITS 0000000008eda590 08cda590
- 00000000003d0d3c 0000000000000000 A 0 0 4
- [14] .eh_frame PROGBITS 00000000092ab2d0 090ab2d0
- 0000000001a32f24 0000000000000000 A 0 0 8
- [15] .text PROGBITS 000000000acdf200 0aade200
- 000000001051dcea 0000000000000000 AX 0 0 64
- [16] .init PROGBITS 000000001b1fceec 1affbeec
- 000000000000001b 0000000000000000 AX 0 0 4
- [17] .fini PROGBITS 000000001b1fcf08 1affbf08
- 000000000000000d 0000000000000000 AX 0 0 4
- [18] malloc_hook PROGBITS 000000001b1fcf20 1affbf20
- 000000000000021e 0000000000000000 AX 0 0 32
- [19] .plt PROGBITS 000000001b1fd140 1affc140
- 0000000000002270 0000000000000000 AX 0 0 16
- [20] .tdata PROGBITS 000000001b2003c0 1affe3c0
- 0000000000002978 0000000000000000 WAT 0 0 64
- [21] .tbss NOBITS 000000001b202d40 1b000d38
- 0000000000006458 0000000000000000 WAT 0 0 16
- [22] .fini_array FINI_ARRAY 000000001b202d38 1b000d38
- 0000000000000020 0000000000000000 WA 0 0 8
- [23] .init_array INIT_ARRAY 000000001b202d58 1b000d58
- 0000000000001bb8 0000000000000000 WA 0 0 8
- [24] .dynamic DYNAMIC 000000001b204910 1b002910
- 00000000000001e0 0000000000000010 WA 8 0 8
- [25] .got PROGBITS 000000001b204af0 1b002af0
- 0000000000000060 0000000000000000 WA 0 0 8
- [26] .bss.rel.ro NOBITS 000000001b204b60 1b002b50
- 0000000000000030 0000000000000000 WA 0 0 32
- [27] .data PROGBITS 000000001b205bc0 1b002bc0
- 00000000001ab960 0000000000000000 WA 0 0 64
- [28] .tm_clone_table PROGBITS 000000001b3b1520 1b1ae520
- 0000000000000000 0000000000000000 WA 0 0 8
- [29] .got.plt PROGBITS 000000001b3b1520 1b1ae520
- 0000000000001148 0000000000000000 WA 0 0 8
- [30] .bss NOBITS 000000001b3b2680 1b1af668
- 0000000000437488 0000000000000000 WAo 0 0 64
- [31] .comment PROGBITS 0000000000000000 1b1af668
- 0000000000000098 0000000000000001 MS 0 0 1
- [32] .debug_line PROGBITS 0000000000000000 1b1af700
- 00000000063b6484 0000000000000000 0 0 1
- [33] .debug_info PROGBITS 0000000000000000 21565b84
- 0000000023b9ab97 0000000000000000 0 0 1
- [34] .debug_abbrev PROGBITS 0000000000000000 4510071b
- 0000000000a4bf62 0000000000000000 0 0 1
- [35] .debug_aranges PROGBITS 0000000000000000 45b4c67d
- 00000000000004e0 0000000000000000 0 0 1
- [36] .debug_loc PROGBITS 0000000000000000 45b4cb5d
- 000000001647840e 0000000000000000 0 0 1
- [37] .debug_ranges PROGBITS 0000000000000000 5bfc4f6b
- 00000000063d8850 0000000000000000 0 0 1
- [38] .debug_str PROGBITS 0000000000000000 6239d7bb
- 000000000f2ac145 0000000000000001 MS 0 0 1
- [39] .symtab SYMTAB 0000000000000000 71649900
- 0000000001320c00 0000000000000018 41 353167 8
- [40] .shstrtab STRTAB 0000000000000000 7296a500
- 00000000000001a8 0000000000000000 0 0 1
- [41] .strtab STRTAB 0000000000000000 7296a6a8
- 0000000005ba8e45 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)
Advertisement
Add Comment
Please, Sign In to add comment