2006/05/23

ldd and Windows ldd

"ldd" is the utility to find all the shared libraries or dynamic dependencies of executable files required by each program. I like to state an example to refresh my memory about the usage.

# ldd tcpdump
libc.so.6 => /lib/i686/libc.so.6 (0x4002d000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

It is very clear to me ldd is a must in cleaning malicious codes or Trojan programs in Linux/Unix boxes.

How about Windows PCs that are the targets of spyware programs. I could remember a freeware "Dependency Walker" which performs similar functions with nice GUI.

No comments: