From: Ruben V. B. <van...@gm...> - 2013-10-24 08:55:10
|
2013/10/24 LRN <lr...@gm...> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 24.10.2013 12:37, niXman wrote: > > How can I get a list of run-time dependencies of .exe/.dll files? > > I know about dependency walker, but I need a console variant. > Use objdump. You'll need to sed its output, obviously, something like this: > objdump -p "filename" | sed -n -e > 's/\t\+\([0-9a-f]\+\s\+[0-9a-f]\+\s\+\|DLL Name\)\(\(: > \)\?[A-Za-z_][A-Za-z0-9_]\)/\2/p' > > Or you can use ntldd. > Oh wow, ntldd looks awesome :-) This seems like something that might benefit the MinGW-w64 project as a tool ;-) Ruben > > - -- > O< ascii ribbon - stop html email! - www.asciiribbon.org > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (MingW32) > > iQEcBAEBAgAGBQJSaN+2AAoJEOs4Jb6SI2Cwry4H+wer6ozIDWl8iYrC20wF/dkE > WEjFzW+DY+V/I4YXKMUBK3SIdrSC3ay9iAqrHGL//wWPwMJLQ+2AxcHGu16xwIMi > d8rZSDBJnsdFmgFP1LncEgTYVTJI5OscPzs6QkhY+iBjMkFyg5o6oIKqnhDRFiI5 > 2Ze3YGBwpSfaGEghwxT77RNuRHBzn3BhCxnekE7hHlYA2iv5BYWwa1yludat15z3 > /tFcZ2c6oalGPsghoK5IBDz1/6OHpla63dOkn2ugslzM/ktBFTw29qTNI94I8syK > XfTgnN8jKatP7kfVuFNVibetSws7P/S81Ii4TKeK5BPvYC6ee8Hp4EcNRN7tTmk= > =X9yS > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk > _______________________________________________ > Mingw-w64-public mailing list > Min...@li... > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > |