Skip to content

Check missing dependencies of *.exe;*.dll 🇰🇷 *.exe;*.dll의 누락된 종속성 확인

License

Notifications You must be signed in to change notification settings

JayTwoLab/check_missing_deps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

check_missing_deps.ps1

A PowerShell script to scan all EXE/DLL files in a directory and report missing dependencies (DLLs) that are not found anywhere in the search paths.

Features

  • Scans all .exe and .dll files in a specified directory (optionally recursive)
  • Uses llvm-readobj to extract dependencies
  • Reports only DLLs that are missing everywhere (not found locally or in system/PATH directories)
  • Optionally excludes well-known system DLLs from missing check
  • Supports progress display and detailed dependency output
  • Can ignore PATH directories for stricter deployment validation

Requirements

  • Windows
  • PowerShell
  • llvm-readobj.exe : LLVM tool

Usage

    # 1) Basic: Only print missing DLLs (binary_path<TAB>missing_dll)
    .\check_missing_deps_llvm.ps1 -root_dir "C:\my\bin"

    # 2) With progress + detailed FOUND/MISSING per binary
    .\check_missing_deps_llvm.ps1 -root_dir "C:\my\bin" -show_progress -show_dependencies

    # 3) Stricter for deployment: Ignore PATH
    .\check_missing_deps_llvm.ps1 -root_dir "C:\my\bin" -include_path_dirs:$false -show_dependencies

    # 4) Specify llvm-readobj path directly
    .\check_missing_deps_llvm.ps1 -root_dir "C:\my\bin" -llvm_readobj_path "C:\LLVM\bin\llvm-readobj.exe"

Parameters

  • -root_dir (required): Directory to scan for EXE/DLL files
  • -llvm_readobj_path: Full path to llvm-readobj.exe (recommended)
  • -recursive: Recursively scan subdirectories (default: $true)
  • -exclude_system_dll: Exclude well-known system DLLs from missing check (default: $true)
  • -show_progress: Show progress bar
  • -show_dependencies: Show detailed dependencies (FOUND/MISSING) per binary
  • -include_path_dirs: Include PATH directories when searching for DLLs (default: $true)

Notes

  • If llvm-readobj.exe is not found automatically, specify its path with -llvm_readobj_path.

License

See LICENSE.

About

Check missing dependencies of *.exe;*.dll 🇰🇷 *.exe;*.dll의 누락된 종속성 확인

Resources

License

Stars

Watchers

Forks

Packages

No packages published