최고의 답변자
특정 파일 실행과 dll

질문
답변
-
안녕하세요?
다양한 방법이 있을 수 있겠지만 제가 아는 방법 중 하나는
dumpbin.exe 파일을 통해서 어느 정도 가능한 것으로 알고 있는데요.
VC 설치하면 dumpbin을 실행 시키기 위한 해당 exe 파일과 dll 파일이 있습니다.
아래의 예를 한 번 확인 하시기 바랍니다.
메신저 실행 했을 경우 사용하는 dll 파일들 입니다.
C:\>dumpbin /dependents "C:\Program Files\Messenger\msmsgs.exe"
Microsoft (R) COFF/PE Dumper Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file C:\Program Files\Messenger\msmsgs.exeFile Type: EXECUTABLE IMAGE
Image has the following dependencies:
msvcrt.dll
ADVAPI32.dll
KERNEL32.dll
GDI32.dll
USER32.dll
WSOCK32.dll
ole32.dll
OLEAUT32.dll
COMCTL32.dll
comdlg32.dll
SHELL32.dll
VERSION.dll
WINMM.dll
SHLWAPI.dll
gdiplus.dll
MSIMG32.dll
NETAPI32.dll
WININET.dll
cryptdll.dll
iphlpapi.dllSummary
5000 .data
8D000 .rsrc
110000 .textdumpbin 을 통해 또 다른 정보들을 얻을 수 있는데요.
아래의 링크를 통해 확인해 보시기 바랍니다.
DUMPBIN 옵션
http://msdn2.microsoft.com/ko-kr/library/756as972(VS.80).aspx
Description of the DUMPBIN utility
-
아래 유틸이 문제해결에 도움을 줄겁니다.
아래 링크에서 다운받으세요.
http://www.dependencywalker.com/
Dependency Walker is a free utility that scans any 32-bit or 64-bit Windows module (exe, dll, ocx, sys, etc.) and builds a hierarchical tree diagram of all dependent modules. For each module found, it lists all the functions that are exported by that module, and which of those functions are actually being called by other modules. Another view displays the minimum set of required files, along with detailed information about each file including a full path to the file, base address, version numbers, machine type, debug information, and more.
Dependency Walker is also very useful for troubleshooting system errors related to loading and executing modules. Dependency Walker detects many common application problems such as missing modules, invalid modules, import/export mismatches, circular dependency errors, mismatched machine types of modules, and module initialization failures.
Dependency Walker runs on Windows 95, 98, Me, NT, 2000, XP, 2003, and Vista. It can process any 32-bit or 64-bit Windows module, including ones designed for Windows CE. It can be run as graphical application or as a console application. Dependency Walker handles all types of module dependencies, including implicit, explicit (dynamic / runtime), forwarded, delay-loaded, and injected. A detailed help is included.Dependency Walker is completely free to use. However, you may not profit from the distribution of it, nor may you bundle it with another product.
모든 응답
-
안녕하세요?
다양한 방법이 있을 수 있겠지만 제가 아는 방법 중 하나는
dumpbin.exe 파일을 통해서 어느 정도 가능한 것으로 알고 있는데요.
VC 설치하면 dumpbin을 실행 시키기 위한 해당 exe 파일과 dll 파일이 있습니다.
아래의 예를 한 번 확인 하시기 바랍니다.
메신저 실행 했을 경우 사용하는 dll 파일들 입니다.
C:\>dumpbin /dependents "C:\Program Files\Messenger\msmsgs.exe"
Microsoft (R) COFF/PE Dumper Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file C:\Program Files\Messenger\msmsgs.exeFile Type: EXECUTABLE IMAGE
Image has the following dependencies:
msvcrt.dll
ADVAPI32.dll
KERNEL32.dll
GDI32.dll
USER32.dll
WSOCK32.dll
ole32.dll
OLEAUT32.dll
COMCTL32.dll
comdlg32.dll
SHELL32.dll
VERSION.dll
WINMM.dll
SHLWAPI.dll
gdiplus.dll
MSIMG32.dll
NETAPI32.dll
WININET.dll
cryptdll.dll
iphlpapi.dllSummary
5000 .data
8D000 .rsrc
110000 .textdumpbin 을 통해 또 다른 정보들을 얻을 수 있는데요.
아래의 링크를 통해 확인해 보시기 바랍니다.
DUMPBIN 옵션
http://msdn2.microsoft.com/ko-kr/library/756as972(VS.80).aspx
Description of the DUMPBIN utility
-
아래 유틸이 문제해결에 도움을 줄겁니다.
아래 링크에서 다운받으세요.
http://www.dependencywalker.com/
Dependency Walker is a free utility that scans any 32-bit or 64-bit Windows module (exe, dll, ocx, sys, etc.) and builds a hierarchical tree diagram of all dependent modules. For each module found, it lists all the functions that are exported by that module, and which of those functions are actually being called by other modules. Another view displays the minimum set of required files, along with detailed information about each file including a full path to the file, base address, version numbers, machine type, debug information, and more.
Dependency Walker is also very useful for troubleshooting system errors related to loading and executing modules. Dependency Walker detects many common application problems such as missing modules, invalid modules, import/export mismatches, circular dependency errors, mismatched machine types of modules, and module initialization failures.
Dependency Walker runs on Windows 95, 98, Me, NT, 2000, XP, 2003, and Vista. It can process any 32-bit or 64-bit Windows module, including ones designed for Windows CE. It can be run as graphical application or as a console application. Dependency Walker handles all types of module dependencies, including implicit, explicit (dynamic / runtime), forwarded, delay-loaded, and injected. A detailed help is included.Dependency Walker is completely free to use. However, you may not profit from the distribution of it, nor may you bundle it with another product.