diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-11-14 17:49:01 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-11-14 17:49:01 +0900 |
| commit | b7406cc4c45765f9a0caad472a858f06cd6bd024 (patch) | |
| tree | d7f3010a8afd925756b2a335031ed97bd4be9072 /ldd | |
| parent | 690a0ed0d68e270e60bfe9c7cd575c4e986de83d (diff) | |
ldd: update package doc comment
This should hopefully deter misuse of this package.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'ldd')
| -rw-r--r-- | ldd/ldd.go | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,9 @@ -// Package ldd retrieves linker information by invoking ldd from glibc or musl and parsing its output. +// Package ldd provides a robust parser for ldd(1) output, and a convenience function +// for running ldd(1) in a strict sandbox. +// +// Note: despite the additional hardening, great care must be taken when using ldd(1). +// As a general rule, you must never run ldd(1) against a file that you do not wish to +// execute within the same context. package ldd import ( |
