Win32::Ldd - Track dependencies for Windows EXE and DLL PE-files
use Win32::Ldd qw(pe_dependencies); my $dep_tree = pe_dependencies('c:\\strawberry\\perl\\bin\\perl.exe');
This module is an XS wrapper for the ntldd library.
It can inspect Windows PE files and extract information about its dependencies.
The following function can be imported from the module:
- $dep_tree = pe_dependencies($filename, %opts);
This function returns a tree of hashes representing the dependencies of the module.
The options accepted by the function are as follows:
The ntldd project.
Other tools providing similar features are the Freeware DependencyWalker (aka
depends.exe), or the
objdump.exe utility (included with Strawberry Perl).
Copyright (C) 2017 by Salvador Fandiño <firstname.lastname@example.org>.
Copyright (C) 2010-2016 LRN <email@example.com>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.