RobertBerger

Untitled

Jul 15th, 2021
38
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. + set +x
  2. root@imx6q-phytec-mira-rdk-nand:/tmp# ./test.sh
  3. + md5sum /usr/bin/evim
  4. 2e96f54a92413a070fbf735e46070114 /usr/bin/evim
  5. + ldd /usr/bin/evim
  6. linux-vdso.so.1 (0xbefca000)
  7. libgtk-3.so.0 => /usr/lib/libgtk-3.so.0 (0xb677d000)
  8. libgdk-3.so.0 => /usr/lib/libgdk-3.so.0 (0xb66d0000)
  9. libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb66b6000)
  10. libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb666f000)
  11. libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb659f000)
  12. libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb6571000)
  13. libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb6526000)
  14. libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb6435000)
  15. libSM.so.6 => /usr/lib/libSM.so.6 (0xb641f000)
  16. libICE.so.6 => /usr/lib/libICE.so.6 (0xb63fe000)
  17. libXt.so.6 => /usr/lib/libXt.so.6 (0xb63b1000)
  18. libX11.so.6 => /usr/lib/libX11.so.6 (0xb62bc000)
  19. libm.so.6 => /lib/libm.so.6 (0xb6256000)
  20. libtinfo.so.5 => /lib/libtinfo.so.5 (0xb622b000)
  21. libacl.so.1 => /usr/lib/libacl.so.1 (0xb6215000)
  22. libdl.so.2 => /lib/libdl.so.2 (0xb6202000)
  23. libc.so.6 => /lib/libc.so.6 (0xb6107000)
  24. /lib/ld-linux-armhf.so.3 (0xb6f07000)
  25. libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb60f0000)
  26. libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb60d9000)
  27. libXext.so.6 => /usr/lib/libXext.so.6 (0xb60be000)
  28. librt.so.1 => /lib/librt.so.1 (0xb60a8000)
  29. libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6095000)
  30. libXi.so.6 => /usr/lib/libXi.so.6 (0xb607a000)
  31. libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb6067000)
  32. libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb6054000)
  33. libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb6040000)
  34. libcairo-gobject.so.2 => /usr/lib/libcairo-gobject.so.2 (0xb602a000)
  35. libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb6001000)
  36. libatk-bridge-2.0.so.0 => /usr/lib/libatk-bridge-2.0.so.0 (0xb5fce000)
  37. libxkbcommon.so.0 => /usr/lib/libxkbcommon.so.0 (0xb5f89000)
  38. libwayland-cursor.so.0 => /usr/lib/libwayland-cursor.so.0 (0xb5f72000)
  39. libwayland-egl.so.1 => /usr/lib/libwayland-egl.so.1 (0xb5f60000)
  40. libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0xb5f47000)
  41. libepoxy.so.0 => /usr/lib/libepoxy.so.0 (0xb5e82000)
  42. libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0xb5e59000)
  43. libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb5d24000)
  44. libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb5d05000)
  45. libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0xb5c5b000)
  46. libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb5c1c000)
  47. libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb5ba2000)
  48. libpthread.so.0 => /lib/libpthread.so.0 (0xb5b7d000)
  49. libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb5af3000)
  50. libpng16.so.16 => /usr/lib/libpng16.so.16 (0xb5ac0000)
  51. libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0xb5aad000)
  52. libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb5a83000)
  53. libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0xb5a69000)
  54. libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb5a52000)
  55. libz.so.1 => /lib/libz.so.1 (0xb5a32000)
  56. libGL.so.1 => /usr/lib/libGL.so.1 (0xb59d5000)
  57. libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb5992000)
  58. libffi.so.8 => /usr/lib/libffi.so.8 (0xb5977000)
  59. libpcre.so.1 => /usr/lib/libpcre.so.1 (0xb5917000)
  60. libattr.so.1 => /usr/lib/libattr.so.1 (0xb5903000)
  61. libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0xb58c0000)
  62. libatspi.so.0 => /usr/lib/libatspi.so.0 (0xb588a000)
  63. libmount.so.1 => /lib/libmount.so.1 (0xb583c000)
  64. libresolv.so.2 => /lib/libresolv.so.2 (0xb581c000)
  65. libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb57f1000)
  66. libuuid.so.1 => /usr/lib/libuuid.so.1 (0xb57db000)
  67. libXau.so.6 => /usr/lib/libXau.so.6 (0xb57c8000)
  68. libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb57b3000)
  69. libglapi.so.0 => /usr/lib/libglapi.so.0 (0xb5774000)
  70. libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb5754000)
  71. libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0xb5732000)
  72. libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0xb5720000)
  73. libxcb-dri2.so.0 => /usr/lib/libxcb-dri2.so.0 (0xb570c000)
  74. libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb56f8000)
  75. libxcb-dri3.so.0 => /usr/lib/libxcb-dri3.so.0 (0xb56e4000)
  76. libxcb-present.so.0 => /usr/lib/libxcb-present.so.0 (0xb56d1000)
  77. libxcb-sync.so.1 => /usr/lib/libxcb-sync.so.1 (0xb56bc000)
  78. libxshmfence.so.1 => /usr/lib/libxshmfence.so.1 (0xb56aa000)
  79. libxcb-xfixes.so.0 => /usr/lib/libxcb-xfixes.so.0 (0xb5694000)
  80. libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb566b000)
  81. libblkid.so.1 => /lib/libblkid.so.1 (0xb5624000)
  82. + readelf -S /usr/bin/evim
  83. There are 28 section headers, starting at offset 0x1d55c0:
  84.  
  85. Section Headers:
  86. [Nr] Name Type Addr Off Size ES Flg Lk Inf Al
  87. [ 0] NULL 00000000 000000 000000 00 0 0 0
  88. [ 1] .interp PROGBITS 00000154 000154 000019 00 A 0 0 1
  89. [ 2] .note.gnu.bu[...] NOTE 00000170 000170 000024 00 A 0 0 4
  90. [ 3] .note.ABI-tag NOTE 00000194 000194 000020 00 A 0 0 4
  91. [ 4] .gnu.hash GNU_HASH [ 129.728562] test.sh (501): drop_caches: 3
  92. 000001b4 0001b4 000018 04 A 5 0 4
  93. [ 5] .dynsym DYNSYM 000001cc 0001cc 002c60 10 A 6 3 4
  94. [ 6] .dynstr STRTAB 00002e2c 002e2c 003209 00 A 0 0 1
  95. [ 7] .gnu.version VERSYM 00006036 006036 00058c 02 A 5 0 2
  96. [ 8] .gnu.version_r VERNEED 000065c4 0065c4 000100 00 A 6 5 4
  97. [ 9] .rel.dyn REL 000066c4 0066c4 00f0f8 08 A 5 0 4
  98. [10] .rel.plt REL 000157bc 0157bc 001580 08 AI 5 22 4
  99. [11] .init PROGBITS 00016d3c 016d3c 00000c 00 AX 0 0 4
  100. [12] .plt PROGBITS 00016d48 016d48 0021a4 04 AX 0 0 4
  101. [13] .text PROGBITS 00018ef0 018ef0 178b74 00 AX 0 0 8
  102. [14] .fini PROGBITS 00191a64 191a64 000008 00 AX 0 0 4
  103. [15] .rodata PROGBITS 00191a6c 191a6c 028ec4 00 A 0 0 4
  104. [16] .ARM.exidx ARM_EXIDX 001ba930 1ba930 000008 00 AL 13 0 4
  105. [17] .eh_frame PROGBITS 001ba938 1ba938 000004 00 A 0 0 4
  106. [18] .init_array INIT_ARRAY 001caf3c 1baf3c 000004 04 WA 0 0 4
  107. [19] .fini_array FINI_ARRAY 001caf40 1baf40 000004 04 WA 0 0 4
  108. [20] .data.rel.ro PROGBITS 001caf44 1baf44 00658c 00 WA 0 0 4
  109. [21] .dynamic DYNAMIC 001d14d0 1c14d0 000180 08 WA 6 0 4
  110. [22] .got PROGBITS 001d1650 1c1650 0019b0 04 WA 0 0 4
  111. [23] .data PROGBITS 001d3000 1c3000 012474 00 WA 0 0 8
  112. [24] .bss NOBITS 001e5478 1d5474 009240 00 WA 0 0 8
  113. [25] .ARM.attributes ARM_ATTRIBUTES 00000000 1d5474 000035 00 0 0 1
  114. [26] .gnu_debuglink PROGBITS 00000000 1d54ac 00000c 00 0 0 4
  115. [27] .shstrtab STRTAB 00000000 1d54b8 000108 00 0 0 1
  116. Key to Flags:
  117. W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
  118. L (link order), O (extra OS processing required), G (group), T (TLS),
  119. C (compressed), x (unknown), o (OS specific), E (exclude),
  120. y (purecode), p (processor specific)
  121. + sync
  122. + echo 3
  123. + perf stat sh -c 'LD_BIND_NOW=true LD_DEBUG=statistics /usr/bin/evim 2>&1 > /dev/null'
  124. 512: number of relocations: 17574
  125. 512: number of relocations from cache: 1004
  126. 512: number of relative relocations: 38269
  127. E233: cannot open display
  128. 512:
  129. 512: runtime linker statistics:
  130. 512: final number of relocations: 17574
  131. 512: final number of relocations from cache: 1004
  132.  
  133. Performance counter stats for 'sh -c LD_BIND_NOW=true LD_DEBUG=statistics /usr/bin/evim 2>&1 > /dev/null':
  134.  
  135. 174.25 msec task-clock # 0.208 CPUs utilized
  136. 224 context-switches # 0.001 M/sec
  137. 0 cpu-migrations # 0.000 K/sec
  138. 787 page-faults # 0.005 M/sec
  139. <not counted> cycles (0.00%)
  140. <not counted> instructions (0.00%)
  141. <not counted> branches (0.00%)
  142. <not counted> branch-misses (0.00%)
  143.  
  144. 0.838039667 seconds time elapsed
  145.  
  146. 0.087679000 seconds user
  147. 0.091107000 seconds sys
  148.  
  149.  
  150. + set +x
  151.  
RAW Paste Data