- 论坛徽章:
- 0
|
Which utility lists the dynamic dependencies of executable files or shared objects?
a) ld.so.1
b) crle
c) ldd
d) pvs
The correct answer is c.
'ldd' lists the dynamic dependencies of executable files or shared objects. 'ldd' uses the runtime linker, to generate the diagnostics. The runtime linker takes the object being inspected and prepares the object as would occur in a running process. By default, 'ldd' triggers the loading of any lazy dependencies.
'ld.so.1' is the runtime linker for dynamic objects. Dynamic applications consist of one or more dynamic objects. As part of the initialization and execution of a dynamic application, an interpreter is called. This interpreter completes the binding of the application to its shared object dependencies. In Solaris, this interpreter is referred to as the runtime linker.
'crle' provides for the creation and display of a runtime linking configuration file. The configuration file is read and interpreted by the runtime linker, 'ld.so.1', during process start-up.
'pvs' displays any internal version information contained within an ELF file. Commonly, these files are dynamic executables and shared objects, and possibly relocatable objects.
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/27174/showart_467072.html |
|