Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Oct 2018 13:35:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 231926] ldd can't operate on a segfaulting binary
Message-ID:  <bug-231926-227-1cvXMPz5ox@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-231926-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-231926-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231926

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |Not A Bug

--- Comment #4 from Mark Johnston <markj@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=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20
 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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231926-227-1cvXMPz5ox>