Get all dlls an exe needs to run
.gitignore | ||
image.png | ||
main.py | ||
README.md | ||
requirements.txt |
DLL Extractor
This Python script extracts the DLL dependencies of a Windows executable file and filters out DLLs that are commonly included with the operating system.
Features
- Identifies all DLLs required by a specified
.exe
file. - Filters out DLLs that are part of the standard Windows OS (e.g.,
KERNEL32.dll
,USER32.dll
).
Requirements
- Python 3.6 or later
pefile
library
Installation
Install the required Python library:
pip install -r requirements.txt
Usage
Run the script with the path to an executable file as an argument:
python main.py
Example
python main.py
Output:
Non-OS DLL Dependencies:
glew32.dll
glfw3.dll
libyaml-cpp.dll
lua54.dll
Notes
- The script assumes the executable is a valid PE (Portable Executable) file.
License
This project is open-source and available under the MIT License.