diff --git a/winsup/doc/utils.xml b/winsup/doc/utils.xml index 12949c55d..906c3773b 100644 --- a/winsup/doc/utils.xml +++ b/winsup/doc/utils.xml @@ -755,10 +755,20 @@ ldd [OPTION]... FILE... Description - ldd prints the shared libraries (DLLs) an - executable or DLL is linked against. No modifying option is implemented - yet. + ldd prints the shared libraries (DLLs) loaded + when running an executable or DLL. + + + Security + + ldd invokes the Windows loader on the file specified, + then uses the Windows debugging interface to report DLLs loaded, and + (for executables) to attempt to stop execution before the entrypoint. + Thus, you should never use ldd on an untrusted file. + + +