Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tools/dlldeps
diff options
context:
space:
mode:
authorBernie Innocenti <bernie@codewiz.org>2010-05-03 21:53:47 (GMT)
committer Bernie Innocenti <bernie@codewiz.org>2010-05-03 21:53:47 (GMT)
commit1030dc837b10a03a02a85d5504cbeec168ce49e2 (patch)
tree698eefa87ac437deaf36a4141b326f8ce7986692 /tools/dlldeps
Import XaoS r489 (trunk after version 3.5)
Diffstat (limited to 'tools/dlldeps')
-rw-r--r--tools/dlldeps10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/dlldeps b/tools/dlldeps
new file mode 100644
index 0000000..361d648
--- /dev/null
+++ b/tools/dlldeps
@@ -0,0 +1,10 @@
+#!/bin/sh
+# list non-system DLL dependencies for a Windows executable
+
+objdump -p $1 |
+ grep "DLL Name:" |
+ cut -d: -f2 |
+ tr -d ' ' |
+ sort | uniq |
+ xargs -n 1 which |
+ grep -v system32