3 ms·
Because you may want ldd to work when the program is using a different loader. Not all nonstandard loaders are malicious. If you want to avoid this risk, use s
by GuB-42 3y ago
Because you may want ldd to work when the program is using a different loader. Not all nonstandard loaders are malicious.
If you want to avoid this risk, use something else, like readelf or lddtree.
- eek2121 3y agoThis attitude is why this issue exists in the first place.
- planede 3y agoldd's implementation relies on the assumption that the loader respects the LD_TRACE_LOADED_OBJECTS environment variable. Do all non-malicious loaders need to respect this environment variable and implement GNU ld.so's behavior?