summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2018-02-17 13:57:15 -0800
committerThiago Macieira <thiago.macieira@intel.com>2018-02-21 18:51:34 +0000
commitbf87e1cfbd6c29a28e4ead8c9b41c578a1a5fba8 (patch)
treee09d07d39344270d5cbd2f1d8ab99e2e7ebef7a9 /src/corelib/doc
parente83ce91c6a8ce094f32dff8efb92074459b050d3 (diff)
tst_QMimeDatabase: detect executables as shared libraries too
They can be, if compiled with -Wl,-pie. Example: $ file /usr/bin/ping /usr/bin/ping: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0 And you can't detect via the interpreter, since libraries can have them too: $ file /lib64/libc-2.26.so libQt5Core.so.5.11.0 /lib64/libc-2.26.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2 libQt5Core.so.5.11.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.17.0 Change-Id: I940917d6763842499b18fffd15143bb80ce0e531 Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/corelib/doc')
0 files changed, 0 insertions, 0 deletions