Files
llvm/lldb/docs/use
David Spickett 0e7adf2d72 [lldb][docs] Describe how to check enabled features (#171468)
This makes use of `version -v` added by #170772,
along with fallback methods for LLDB prior to 22.

1. version --verbose (won't work prior to 22)
2. Scripting to call GetBuildConfiguration (won't work if you don't have
a scripting language
3. readelf/other platform's equivalent utility

readelf is recommended for Linux due to security concerns with ldd.

https://man7.org/linux/man-pages/man1/ldd.1.html
"some versions of ldd may attempt to obtain the
dependency information by attempting to directly
execute the program"

The drawback to that is it doesn't show dependencies of dependencies, so
I've noted that. People can use ldd if they trust the binary, but I've
made it clear how to avoid that and why you should avoid it.
2025-12-10 11:29:37 +00:00
..