Guest User

Untitled

a guest
Jan 30th, 2022
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.19 KB | None | 0 0
  1. readelf -Wl clickhouse
  2.  
  3. Elf file type is EXEC (Executable file)
  4. Entry point 0xacdf200
  5. There are 12 program headers, starting at offset 64
  6.  
  7. Program Headers:
  8. Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
  9. PHDR 0x000040 0x0000000000200040 0x0000000000200040 0x0002a0 0x0002a0 R 0x8
  10. INTERP 0x0002e0 0x00000000002002e0 0x00000000002002e0 0x00001c 0x00001c R 0x1
  11. [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
  12. LOAD 0x000000 0x0000000000200000 0x0000000000200000 0xaade1f4 0xaade1f4 R 0x1000
  13. LOAD 0xaade200 0x000000000acdf200 0x000000000acdf200 0x105201b0 0x105201b0 R E 0x1000
  14. LOAD 0x1affe3c0 0x000000001b2003c0 0x000000001b2003c0 0x004790 0x0047d0 RW 0x1000
  15. LOAD 0x1b002bc0 0x000000001b205bc0 0x000000001b205bc0 0x1acaa8 0x5e3f48 RW 0x1000
  16. TLS 0x1affe3c0 0x000000001b2003c0 0x000000001b2003c0 0x002978 0x008dd8 R 0x40
  17. DYNAMIC 0x1b002910 0x000000001b204910 0x000000001b204910 0x0001e0 0x0001e0 RW 0x8
  18. GNU_RELRO 0x1affe3c0 0x000000001b2003c0 0x000000001b2003c0 0x004790 0x004c40 R 0x1
  19. GNU_EH_FRAME 0x8cda590 0x0000000008eda590 0x0000000008eda590 0x3d0d3c 0x3d0d3c R 0x4
  20. GNU_STACK 0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW 0
  21. NOTE 0x0002fc 0x00000000002002fc 0x00000000002002fc 0x000038 0x000038 R 0x4
  22.  
  23. Section to Segment mapping:
  24. Segment Sections...
  25. 00
  26. 01 .interp
  27. 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
  28. 03 .text .init .fini malloc_hook .plt
  29. 04 .tdata .fini_array .init_array .dynamic .got .bss.rel.ro
  30. 05 .data .tm_clone_table .got.plt .bss
  31. 06 .tdata .tbss
  32. 07 .dynamic
  33. 08 .tdata .fini_array .init_array .dynamic .got .bss.rel.ro
  34. 09 .eh_frame_hdr
  35. 10
  36. 11 .note.ABI-tag .note.gnu.build-id
  37. danilak@danilak-l ~/D/output [SIGINT]> readelf -S clickhouse
  38. There are 42 section headers, starting at offset 0x785134f0:
  39.  
  40. Section Headers:
  41. [Nr] Name Type Address Offset
  42. Size EntSize Flags Link Info Align
  43. [ 0] NULL 0000000000000000 00000000
  44. 0000000000000000 0000000000000000 0 0 0
  45. [ 1] .interp PROGBITS 00000000002002e0 000002e0
  46. 000000000000001c 0000000000000000 A 0 0 1
  47. [ 2] .note.ABI-tag NOTE 00000000002002fc 000002fc
  48. 0000000000000020 0000000000000000 A 0 0 4
  49. [ 3] .note.gnu.bu[...] NOTE 000000000020031c 0000031c
  50. 0000000000000018 0000000000000000 A 0 0 4
  51. [ 4] .dynsym DYNSYM 0000000000200338 00000338
  52. 0000000000b0b6b0 0000000000000018 A 8 1 8
  53. [ 5] .gnu.version VERSYM 0000000000d0b9e8 00b0b9e8
  54. 00000000000eb9e4 0000000000000002 A 4 0 2
  55. [ 6] .gnu.version_r VERNEED 0000000000df73cc 00bf73cc
  56. 0000000000000130 0000000000000000 A 8 6 4
  57. [ 7] .gnu.hash GNU_HASH 0000000000df7500 00bf7500
  58. 000000000034c67c 0000000000000000 A 4 0 8
  59. [ 8] .dynstr STRTAB 0000000001143b7c 00f43b7c
  60. 00000000041c5ab5 0000000000000000 A 0 0 1
  61. [ 9] .rela.dyn RELA 0000000005309638 05109638
  62. 0000000000000360 0000000000000018 A 4 0 8
  63. [10] .rela.plt RELA 0000000005309998 05109998
  64. 0000000000003390 0000000000000018 AI 4 29 8
  65. [11] .rodata PROGBITS 000000000530d000 0510d000
  66. 0000000003276fc0 0000000000000000 AMS 0 0 4096
  67. [12] .gcc_except_table PROGBITS 0000000008583fc0 08383fc0
  68. 00000000009565d0 0000000000000000 A 0 0 4
  69. [13] .eh_frame_hdr PROGBITS 0000000008eda590 08cda590
  70. 00000000003d0d3c 0000000000000000 A 0 0 4
  71. [14] .eh_frame PROGBITS 00000000092ab2d0 090ab2d0
  72. 0000000001a32f24 0000000000000000 A 0 0 8
  73. [15] .text PROGBITS 000000000acdf200 0aade200
  74. 000000001051dcea 0000000000000000 AX 0 0 64
  75. [16] .init PROGBITS 000000001b1fceec 1affbeec
  76. 000000000000001b 0000000000000000 AX 0 0 4
  77. [17] .fini PROGBITS 000000001b1fcf08 1affbf08
  78. 000000000000000d 0000000000000000 AX 0 0 4
  79. [18] malloc_hook PROGBITS 000000001b1fcf20 1affbf20
  80. 000000000000021e 0000000000000000 AX 0 0 32
  81. [19] .plt PROGBITS 000000001b1fd140 1affc140
  82. 0000000000002270 0000000000000000 AX 0 0 16
  83. [20] .tdata PROGBITS 000000001b2003c0 1affe3c0
  84. 0000000000002978 0000000000000000 WAT 0 0 64
  85. [21] .tbss NOBITS 000000001b202d40 1b000d38
  86. 0000000000006458 0000000000000000 WAT 0 0 16
  87. [22] .fini_array FINI_ARRAY 000000001b202d38 1b000d38
  88. 0000000000000020 0000000000000000 WA 0 0 8
  89. [23] .init_array INIT_ARRAY 000000001b202d58 1b000d58
  90. 0000000000001bb8 0000000000000000 WA 0 0 8
  91. [24] .dynamic DYNAMIC 000000001b204910 1b002910
  92. 00000000000001e0 0000000000000010 WA 8 0 8
  93. [25] .got PROGBITS 000000001b204af0 1b002af0
  94. 0000000000000060 0000000000000000 WA 0 0 8
  95. [26] .bss.rel.ro NOBITS 000000001b204b60 1b002b50
  96. 0000000000000030 0000000000000000 WA 0 0 32
  97. [27] .data PROGBITS 000000001b205bc0 1b002bc0
  98. 00000000001ab960 0000000000000000 WA 0 0 64
  99. [28] .tm_clone_table PROGBITS 000000001b3b1520 1b1ae520
  100. 0000000000000000 0000000000000000 WA 0 0 8
  101. [29] .got.plt PROGBITS 000000001b3b1520 1b1ae520
  102. 0000000000001148 0000000000000000 WA 0 0 8
  103. [30] .bss NOBITS 000000001b3b2680 1b1af668
  104. 0000000000437488 0000000000000000 WAo 0 0 64
  105. [31] .comment PROGBITS 0000000000000000 1b1af668
  106. 0000000000000098 0000000000000001 MS 0 0 1
  107. [32] .debug_line PROGBITS 0000000000000000 1b1af700
  108. 00000000063b6484 0000000000000000 0 0 1
  109. [33] .debug_info PROGBITS 0000000000000000 21565b84
  110. 0000000023b9ab97 0000000000000000 0 0 1
  111. [34] .debug_abbrev PROGBITS 0000000000000000 4510071b
  112. 0000000000a4bf62 0000000000000000 0 0 1
  113. [35] .debug_aranges PROGBITS 0000000000000000 45b4c67d
  114. 00000000000004e0 0000000000000000 0 0 1
  115. [36] .debug_loc PROGBITS 0000000000000000 45b4cb5d
  116. 000000001647840e 0000000000000000 0 0 1
  117. [37] .debug_ranges PROGBITS 0000000000000000 5bfc4f6b
  118. 00000000063d8850 0000000000000000 0 0 1
  119. [38] .debug_str PROGBITS 0000000000000000 6239d7bb
  120. 000000000f2ac145 0000000000000001 MS 0 0 1
  121. [39] .symtab SYMTAB 0000000000000000 71649900
  122. 0000000001320c00 0000000000000018 41 353167 8
  123. [40] .shstrtab STRTAB 0000000000000000 7296a500
  124. 00000000000001a8 0000000000000000 0 0 1
  125. [41] .strtab STRTAB 0000000000000000 7296a6a8
  126. 0000000005ba8e45 0000000000000000 0 0 1
  127. Key to Flags:
  128. W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
  129. L (link order), O (extra OS processing required), G (group), T (TLS),
  130. C (compressed), x (unknown), o (OS specific), E (exclude),
  131. D (mbind), l (large), p (processor specific)
Advertisement
Add Comment
Please, Sign In to add comment