Advertisement
RobertBerger

Untitled

Jul 15th, 2021
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.22 KB | None | 0 0
  1. root@imx6q-phytec-mira-rdk-nand:/tmp# ./test.sh
  2. + md5sum /usr/bin/evim
  3. 6e6bf3b3f40b56ac41cf19ea2932ff67 /usr/bin/evim
  4. + ldd /usr/bin/evim
  5. linux-vdso.so.1 (0xbebc2000)
  6. libgtk-3.so.0 => /usr/lib/libgtk-3.so.0 (0x41030000)
  7. libgdk-3.so.0 => /usr/lib/libgdk-3.so.0 (0x41dc0000)
  8. libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x42a60000)
  9. libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x423f0000)
  10. libcairo.so.2 => /usr/lib/libcairo.so.2 (0x41c10000)
  11. libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x42700000)
  12. libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x42350000)
  13. libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x41b10000)
  14. libSM.so.6 => /usr/lib/libSM.so.6 (0x42800000)
  15. libICE.so.6 => /usr/lib/libICE.so.6 (0x42640000)
  16. libXt.so.6 => /usr/lib/libXt.so.6 (0x42210000)
  17. libX11.so.6 => /usr/lib/libX11.so.6 (0x41a10000)
  18. libm.so.6 => /lib/libm.so.6 (0x42030000)
  19. libtinfo.so.5 => /lib/libtinfo.so.5 (0x425e0000)
  20. libacl.so.1 => /usr/lib/libacl.so.1 (0x429a0000)
  21. libdl.so.2 => /lib/libdl.so.2 (0x427c0000)
  22. libc.so.6 => /lib/libc.so.6 (0x41910000)
  23. /lib/ld-linux-armhf.so.3 (0xb6f61000)
  24. libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x42940000)
  25. libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x42880000)
  26. libXext.so.6 => /usr/lib/libXext.so.6 (0x428e0000)
  27. librt.so.1 => /lib/librt.so.1 (0x427e0000)
  28. libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x42a40000)
  29. libXi.so.6 => /usr/lib/libXi.so.6 (0x42920000)
  30. libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x42860000)
  31. libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x428a0000)
  32. libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x42900000)
  33. libcairo-gobject.so.2 => /usr/lib/libcairo-gobject.so.2 (0x429e0000)
  34. libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x42670000)
  35. libatk-bridge-2.0.so.0 => /usr/lib/libatk-bridge-2.0.so.0 (0x42490000)
  36. libxkbcommon.so.0 => /usr/lib/libxkbcommon.so.0 (0x42440000)
  37. libwayland-cursor.so.0 => /usr/lib/libwayland-cursor.so.0 (0x42ac0000)
  38. libwayland-egl.so.1 => /usr/lib/libwayland-egl.so.1 (0x42ae0000)
  39. libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0x42aa0000)
  40. libepoxy.so.0 => /usr/lib/libepoxy.so.0 (0x41cf0000)
  41. libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x426d0000)
  42. libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x417d0000)
  43. libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x42730000)
  44. libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x41e70000)
  45. libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x422b0000)
  46. libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x41fb0000)
  47. libpthread.so.0 => /lib/libpthread.so.0 (0x42580000)
  48. libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x41f20000)
  49. libpng16.so.16 => /usr/lib/libpng16.so.16 (0x42510000)
  50. libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x42b80000)
  51. libxcb.so.1 => /usr/lib/libxcb.so.1 (0x42790000)
  52. libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x42b60000)
  53. libXrender.so.1 => /usr/lib/libXrender.so.1 (0x42960000)
  54. libz.so.1 => /lib/libz.so.1 (0x42610000)
  55. libGL.so.1 => /usr/lib/libGL.so.1 (0x42110000)
  56. libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x423a0000)
  57. libffi.so.8 => /usr/lib/libffi.so.8 (0x42a20000)
  58. libpcre.so.1 => /usr/lib/libpcre.so.1 (0x420a0000)
  59. libattr.so.1 => /usr/lib/libattr.so.1 (0x429c0000)
  60. libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x42260000)
  61. libatspi.so.0 => /usr/lib/libatspi.so.0 (0x424d0000)
  62. libmount.so.1 => /lib/libmount.so.1 (0x421c0000)
  63. libresolv.so.2 => /lib/libresolv.so.2 (0x425b0000)
  64. libexpat.so.1 => /usr/lib/libexpat.so.1 (0x426a0000)
  65. libuuid.so.1 => /usr/lib/libuuid.so.1 (0x42a80000)
  66. libXau.so.6 => /usr/lib/libXau.so.6 (0x42840000)
  67. libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x428c0000)
  68. libglapi.so.0 => /usr/lib/libglapi.so.0 (0x42300000)
  69. libdrm.so.2 => /usr/lib/libdrm.so.2 (0x42a00000)
  70. libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0x42760000)
  71. libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0x42820000)
  72. libxcb-dri2.so.0 => /usr/lib/libxcb-dri2.so.0 (0x42b00000)
  73. libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0x42980000)
  74. libxcb-dri3.so.0 => /usr/lib/libxcb-dri3.so.0 (0x42b20000)
  75. libxcb-present.so.0 => /usr/lib/libxcb-present.so.0 (0x42b40000)
  76. libxcb-sync.so.1 => /usr/lib/libxcb-sync.so.1 (0x42ba0000)
  77. libxshmfence.so.1 => /usr/lib/libxshmfence.so.1 (0x42be0000)
  78. libxcb-xfixes.so.0 => /usr/lib/libxcb-xfixes.so.0 (0x42bc0000)
  79. libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x42550000)
  80. libblkid.so.1 => /lib/libblkid.so.1 (0x42170000)
  81. + readelf -S /usr/bin/evim
  82. There are 31 section headers, starting at offset 0x1d65f0:
  83.  
  84. Section Headers:
  85. [Nr] Name Type Addr Off Size ES Flg Lk Inf Al
  86. [ 0] NULL 00000000 000000 000000 00 0 0 0
  87. [ 1] .interp PROGBITS 415d0154 000154 000019 00 A 0 0 1
  88. [ 2] .note.gnu.bu[...] NOTE 415d0170 000170 000024 00 A 0 0 4
  89. [ 3] .note.ABI-tag NOTE 415d0194 000194 000020 00 A 0 0 4
  90. [ 4] .gnu.hash GNU_HASH 415d01b4 0001b4 000018 04 A 5 0 4
  91. [ 5] .dynsym DYNSYM 415d01cc 0001cc 002c60 10 A 6 3 4
  92. [ 6] .dynstr STRTAB 415d2e2c 002e2c 003209 00 A 0 0 1
  93. [ 7] .gnu.version VERSYM 415d6036 006036 00058c 02 A 5 0 2
  94. [ 8] .gnu.version_r VERNEED 415d65c4 0065c4 000100 00 A 6 5 4
  95. [ 9] .rel.dyn REL 415d66c4 0066c4 00f0f8 08 A 5 0 4
  96. [10] .rel.plt REL 415e57bc 0157bc 001580 08 AI 5 22 4
  97. [11] .init PROGBITS 415e6d3c 016d3c 00000c 00 AX 0 0 4
  98. [12] .plt PROGBITS 415e6d48 016d48 0021a4 04 AX 0 0 4
  99. [13] .text PROGBITS 415e8ef0 018ef0 178b74 00 AX 0 0 8
  100. [14] .fini PROGBITS 41761a64 191a64 000008 00 AX 0 0 4
  101. [15] .rodata PROGBITS 41761a6c 191a6c 028ec4 00 A 0 0 4
  102. [16] .ARM.exidx ARM_EXIDX 4178a930 1ba930 000008 00 AL 13 0 4
  103. [17] .eh_frame PROGBITS 4178a938 1ba938 000004 00 A 0 0 4
  104. [18] .init_array INIT_ARRAY 4179af3c 1baf3c 000004 04 WA 0 0 4
  105. [19] .fini_array FINI_ARRAY 4179af40 1baf40 000004 04 WA 0 0 4
  106. [20] .data.rel.ro PROGBITS 4179af44 1baf44 00658c 00 WA 0 0 4
  107. [21] .dynamic DYNAMIC 417a14d0 1c14d0 000180 08 WA 6 0 4
  108. [22] .got PROGBITS 417a1650 1c1650 0019b0 04 WA 0 0 4
  109. [23] .data PROGBITS 417a3000 1c3000 012474 00 WA 0 0 8
  110. [24] .bss NOBITS 417b5478 1d5474 009240 00 WA 0 0 8
  111. [25] .ARM.attributes ARM_ATTRIBUTES 00000000 1d5474 000035 00 0 0 1
  112. [26] .gnu_debuglink PROGBITS 00000000 1d54ac 00000c 00 0 0 4
  113. [27] .gnu.liblist GNU_LIBLIST 00000000 1d54b8 0005dc 14 28 0 4
  114. [28] .gnu.libstr STRTAB 00000000 1d5a94 00049a 00 0 0 1
  115. [29] .gnu.prelink_undo PROGBITS 00000000 1d5f30 00058c 01 0 0 4
  116. [30] .shstrtab STRTAB 00000000 1d64bc 000133 00 0 0 1
  117. Key to Flags:
  118. W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
  119. L (link order), O (extra OS processing required), G (group), T (TLS),
  120. C (compressed), x (unknown), o (OS specific), E (exclude),
  121. y (purecode), p (processor specific)
  122. + sync
  123. + echo 3
  124. [ 620.880084] test.sh (944): drop_caches: 3
  125. + perf stat sh -c 'LD_BIND_NOW=true LD_DEBUG=statistics /usr/bin/evim 2>&1 > /dev/null'
  126. 955: number of relocations: 17543
  127. 955: number of relocations from cache: 1035
  128. 955: number of relative relocations: 38269
  129. E233: cannot open display
  130. 955:
  131. 955: runtime linker statistics:
  132. 955: final number of relocations: 17543
  133. 955: final number of relocations from cache: 1035
  134.  
  135. Performance counter stats for 'sh -c LD_BIND_NOW=true LD_DEBUG=statistics /usr/bin/evim 2>&1 > /dev/null':
  136.  
  137. 171.15 msec task-clock # 0.205 CPUs utilized
  138. 229 context-switches # 0.001 M/sec
  139. 0 cpu-migrations # 0.000 K/sec
  140. 791 page-faults # 0.005 M/sec
  141. <not counted> cycles (0.00%)
  142. <not counted> instructions (0.00%)
  143. <not counted> branches (0.00%)
  144. <not counted> branch-misses (0.00%)
  145.  
  146. 0.835321489 seconds time elapsed
  147.  
  148. 0.110834000 seconds user
  149. 0.064989000 seconds sys
  150.  
  151.  
  152. + set +x
  153.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement