[Bug 231926] ldd can't operate on a segfaulting binary
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Oct 4 13:35:06 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231926
Mark Johnston <markj at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |Not A Bug
--- Comment #4 from Mark Johnston <markj at FreeBSD.org> ---
(In reply to Gleb Popov from comment #2)
"Not a bug" makes more sense to me.
(In reply to Ed Maste from comment #3)
How about:
diff --git a/usr.bin/ldd/ldd.1 b/usr.bin/ldd/ldd.1
index 5a06515ebd87..beff8450fdb6 100644
--- a/usr.bin/ldd/ldd.1
+++ b/usr.bin/ldd/ldd.1
@@ -57,6 +57,14 @@ option displays a verbose listing of the dynamic linking
headers
encoded in the executable.
See the source code and include
files for the definitive meaning of all the fields.
+.Sh IMPLEMENTATION NOTES
+.Nm
+lists the dependencies of an executable by setting
+.Xr rtld 1
+environment variables and running the executable in a child process.
+If the executable is corrupt or invalid,
+.Nm
+may fail without providing any diagnostic error messages.
.Sh EXAMPLES
The following is an example of a shell pipeline which uses the
.Fl f
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list