lddsafe — Safely print shared library dependencies (similar to ldd)
lddsafe [-n] FILE …
lddsafe is a shell script written for Linux distributions (tested under Slackware Linux) that prints shared library dependencies for executable files and shared libraries, similar to
ldd. However, it uses
objdump instead of loading the program, hence avoiding the security problems of
-n Nonrecursive mode. List direct dependencies only.
The most notable requirement of
lddsafe is that it needs
bash version 4 or later.
Please, do not hesitate to use the issue tracker to point out possible improvements and ways to make the script work on systems which it currently may not work on.