Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use `sed -E -i.tmp` everywhere | Mike Frysinger | 2015-12-16 | 1 | -1/+1 |
| | | | | | | | | POSIX is adding the -E flag to enable ERE behavior, and GNU/sed already supports this, as do various BSD systems (including OS X). While GNU makes the suffix to -i optional, POSIX/etc... do not, so make sure we always specify it. | ||||
* | lddtree.sh: fix interp handling when doing a full listing | Mike Frysinger | 2015-08-20 | 1 | -3/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | On Debian multiarch systems, the ldso path is symlinked to a different search path (and the main path isn't searched at all). When listing the deps of an ELF which links against the ldso, we end up showing the ldso being loaded by two different paths: $ ./lddtree.sh -a /bin/bash bash => /bin/bash (interpreter => /lib64/ld-linux-x86-64.so.2) libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 ld-linux-x86-64.so.2 => /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 ... Fix the output to show that ld-linux-x86-64.so.2 was located at the same path as the original interpreter as that better matches the runtime ldso behavior. $ ./lddtree.sh -a /bin/bash bash => /bin/bash (interpreter => /lib64/ld-linux-x86-64.so.2) libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 Reported-by: Tomasz Buchert <tomasz@debian.org> | ||||
* | lddtree: handle direct ldso linkage betterv1.0.5 | Mike Frysinger | 2015-07-20 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | If the ELF we're showing is linked directly against the ELF which is used as the ELF interp (i.e. the ldso), make sure we don't list it twice. We want to see it "twice" in the pretty form: $ ./lddtree.py /bin/bash /bin/bash (interpreter => /lib/ld-linux-armhf.so.3) <= here libreadline.so.6 => /lib/libreadline.so.6 libncurses.so.5 => /lib/libncurses.so.5 libc.so.6 => /lib/libc.so.6 ld-linux-armhf.so.3 => /lib/ld-linux-armhf.so.3 <= here But not in the list form (as that is used by scripts): $ ./lddtree.py -l /bin/bash /bin/bash /lib/ld-linux-armhf.so.3 <= only here /lib/libreadline.so.6 /lib/libncurses.so.5 /lib/libc.so.6 We also reconcile a few differences wrt interp display and the sh/py implementations. Reported-by: Tomasz Buchert <tomasz@debian.org> | ||||
* | migrate to gitv1.0 | Mike Frysinger | 2015-03-02 | 1 | -4/+1 |
| | |||||
* | lddtree: add GNU to the LINUX/SYSV/NONE compat set #464380 by cmuelle8 | Mike Frysinger | 2013-04-07 | 1 | -5/+6 |
| | |||||
* | lddtree.sh: add --no-auto-root behavior to match lddtree.py | Mike Frysinger | 2013-04-05 | 1 | -16/+27 |
| | |||||
* | lddtree: update copyright lines | Mike Frysinger | 2013-04-05 | 1 | -4/+4 |
| | |||||
* | lddtree.sh: fix whitespace in usage string | Mike Frysinger | 2013-01-22 | 1 | -3/+3 |
| | |||||
* | lddtree.sh: fix by Loïc Yhuel for LD_LIBRARY_PATH processing #449718v0.6 | Mike Frysinger | 2013-01-02 | 1 | -3/+3 |
| | |||||
* | lddtree: implement $ORIGIN support | Mike Frysinger | 2012-11-15 | 1 | -3/+4 |
| | |||||
* | lddtree: add a --list option so scripts can parse the output easily | Mike Frysinger | 2012-11-13 | 1 | -8/+19 |
| | |||||
* | lddtree: add a -V (--version) flag | Mike Frysinger | 2012-11-10 | 1 | -3/+11 |
| | |||||
* | lddtree: normalize linux osabi to sysv since they are compatible (with ↵ | Mike Frysinger | 2012-11-10 | 1 | -2/+5 |
| | | | | glibc) #442024 | ||||
* | update copyright years | Mike Frysinger | 2012-11-04 | 1 | -1/+4 |
| | |||||
* | lddtree: add ROOT support #430366 by Richard Yao | Mike Frysinger | 2012-11-04 | 1 | -12/+21 |
| | |||||
* | lddtree: check for correct abi types before showing a match #364079 by ↵ | Mike Frysinger | 2012-11-03 | 1 | -20/+41 |
| | | | | Marc-Antoine Perennou | ||||
* | lddtree: make sure conf files exist before we try to read them #360041 by ↵ | Mike Frysinger | 2011-03-23 | 1 | -1/+4 |
| | | | | Rafał Mużyło | ||||
* | - add a cvs Header to lddtree.sh | Ned Ludd | 2011-03-03 | 1 | -0/+1 |
| | |||||
* | lddtree: handle "include" in ld.so.conf and LD_LIBRARY_PATHv0.2.3 | Mike Frysinger | 2011-03-03 | 1 | -9/+42 |
| | |||||
* | switch from getopt program to getopts shell builtin | Mike Frysinger | 2010-02-09 | 1 | -12/+8 |
| | |||||
* | cache rpath/ldso lookups when possible to speed things up | Mike Frysinger | 2009-12-01 | 1 | -2/+14 |
| | |||||
* | allow lddtree to be sourced by other scripts to share common funcs | Mike Frysinger | 2009-12-01 | 1 | -22/+26 |
| | |||||
* | - mainly whitespace updates | Ned Ludd | 2008-01-17 | 1 | -0/+1 |
| | |||||
* | if lib cannot be found in rpath/ld.so.conf, check standard library paths | Mike Frysinger | 2007-12-31 | 1 | -0/+1 |
| | |||||
* | missed one elf->resolved change | Mike Frysinger | 2007-12-31 | 1 | -1/+1 |
| | |||||
* | print the ELF dependency tree as a ......... tree | Mike Frysinger | 2007-12-31 | 1 | -0/+120 |