Get all dlls an exe needs to run
Go to file
2024-12-29 00:39:18 -06:00
.gitignore Updated 2024-12-28 23:56:35 -06:00
image.png added gui 2024-12-29 00:38:45 -06:00
main.py added gui 2024-12-29 00:38:45 -06:00
README.md vscode auto dock image import broke path... 2024-12-29 00:39:18 -06:00
requirements.txt Updated 2024-12-28 23:56:35 -06:00

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.

preview

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 pefile

Usage

Run the script with the path to an executable file as an argument:

python get_dll_dependencies.py <path_to_exe>

Example

python get_dll_dependencies.py my_program.exe

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.
  • It gracefully handles errors such as missing files or invalid PE formats.

License

This project is open-source and available under the MIT License.