diff options
author | Petr Machata <pmachata@redhat.com> | 2013-10-23 17:37:47 +0200 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2013-10-23 17:44:13 +0200 |
commit | 98a7dce70986f2394d22ee5dd8ed355ceb2104b4 (patch) | |
tree | 9cf22a2062c02b2b3758aeb0c8fb74a138d27251 /ltrace.1 | |
parent | e7b6bed33dc21725226c67708b647e642f4a0031 (diff) | |
download | ltrace-98a7dce70986f2394d22ee5dd8ed355ceb2104b4.tar.gz |
Look up protolibs whose name partially matches the loaded DSO
- The intention here is to allow matches of libc.so.conf for
libc.so.6. Typically different sonames imply different binary
interfaces, but for libc, we know that most interfaces won't change.
Diffstat (limited to 'ltrace.1')
-rw-r--r-- | ltrace.1 | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -287,7 +287,12 @@ library. If a library has no SONAME, basename of library file is considered instead. For the main program binary, basename is considered as well -(e.g. protolib for /bin/echo would be called echo.conf). +(e.g. protolib for /bin/echo would be called echo.conf). If a name +corresponding to soname (e.g. libc.so.6.conf) is not found, and the +module under consideration is a shared library, ltrace also tries +partial matches. Ltrace snips one period after another, retrying the +search, until either a protolib is found, or X.so is all that's left. +Thus libc.so.conf would be considered, but libc.conf not. When looking for a prototype library, ltrace potentially looks into several directories. On Linux, those are $XDG_CONFIG_HOME/ltrace, |