Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ereyes01
· 8y ago · 0 comments
This is a cool trick. On Linux, the ldd command also tells you what libraries a program wants to link to. You can also play around with LD_LIBRARY_PATH to manipulate what ldd tells you.
Comments
[–]
hugelgupf
8y ago
Binaries can also use dlopen to open libraries that aren't listed by ldd.
[–]
ereyes01
OP
8y ago
Good point, dlopen is fully run-time, and the strace approach will catch those too, so it's more comprehensive.