blob: 361d648bab8e1337d067caf5e87ff6b28f9e91ce (
plain)
1
2
3
4
5
6
7
8
9
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
|