发布时间:2013-02-20 10:54:39
使用Python 打印出文件依赖的动态链接库#ldd.pyimport subprocessimport sysimport osdef ldd(filename):global libslibs = [] for x in filename:p = subprocess.Popen(["ldd", x], stdout=subprocess.PIPE,stderr=subprocess.PIPE)result = p.stdout.readlines()for x in result.........【阅读全文】