본문으로 바로가기

ntldd

category Devlogs 2024. 3. 8. 12:33

msys2 내에서 gcc 로 컴파일된 파일의 depedency 가 걸린 dll 파일 조사 프로그램

% pacman -Sy mingw-w64-x86_64-ntldd-git
% ntldd -R ./main.exe


결과는..

    lsreader_c-vc142-0_1.dll (0x000001c800de0000)
     libiomp5md.dll (0x000001c801b90000)
     libmmd.dll (0x000001c8022e0000)
     MSVCP140.dll => C:\Windows\SYSTEM32\MSVCP140.dll (0x000001c801b90000)
     imagehlp.dll => C:\Windows\SYSTEM32\imagehlp.dll (0x000001c801b90000)
      dbghelp.dll => C:\Windows\SYSTEM32\dbghelp.dll (0x000001c801d50000)
     VCRUNTIME140.dll => C:\Windows\SYSTEM32\VCRUNTIME140.dll (0x000001c801c20000)
     VCRUNTIME140_1.dll => C:\Windows\SYSTEM32\VCRUNTIME140_1.dll (0x000001c801c20000)
    libassimp.dll => D:\MSYS2\mingw64\bin\libassimp.dll (0x000001c8022e0000)
     libminizip-1.dll => D:\MSYS2\mingw64\bin\libminizip-1.dll (0x000001c800de0000)
      ADVAPI32.dll => C:\Windows\SYSTEM32\ADVAPI32.dll (0x000001c800e10000)
       SECHOST.dll => C:\Windows\SYSTEM32\SECHOST.dll (0x000001c800ec0000)
        USERENV.dll => C:\Windows\SYSTEM32\USERENV.dll (0x000001c800f60000)
         netutils.dll => C:\Windows\SYSTEM32\netutils.dll (0x000001c800f90000)
         logoncli.dll => C:\Windows\SYSTEM32\logoncli.dll (0x000001c800f90000)
          WLDAP32.dll => C:\Windows\SYSTEM32\WLDAP32.dll (0x000001c800fd0000)
           DSPARSE.dll => C:\Windows\SYSTEM32\DSPARSE.dll (0x000001c801020000)
          ext-ms-win-smbshare-browserclient-l1-1-0.dll => not found
         profapi.dll => C:\Windows\SYSTEM32\profapi.dll (0x000001c801180000)
          ext-ms-win-profile-extender-l1-1-0.dll => not found
         ext-ms-win-profile-userenv-l1-1-0.dll => not found
.....

Korea Tcl/Tk Community
블로그 이미지 ihmin 님의 블로그
VISITOR 오늘 / 전체