2013-05-01 1 views
0

심볼을 c : \ symbols으로 다운로드하도록 WinDbg를 설정했습니다. advapi32에 대한 기호 (예 :)는 c:\symbols\advapi32.pdb\3F32049F550C42B09CF114A1FB8A97E92\advapi32.pdb입니다. 내가 link.exe를 얻은 유일한 방법은 다른 심볼을 사용하는 stub exe가 실제로 디렉토리 c:\symbols\advapi32.pdb\3F32049F550C42B09CF114A1FB8A97E92에있는 것입니다. 그래서 예를 들어 dumpbin /exports c:\Windows\SysWOW64\advapi32.dll 반환과 같이 해당 폴더에 이름을 장식 :심볼 서버를 사용하기 위해 link.exe, lib.exe, editbin.exe 및 dumpbin.exe 받기

1770 301 000455C6 UnregisterIdleTask = [email protected] 
    1771 302   UnregisterTraceGuids (forwarded to ntdll.EtwUnregisterTraceGuids) 
    1772 303 000595D8 UpdateTraceA = [email protected] 
    1773 304 000595F9 UpdateTraceW = [email protected] 
    1774 305 00042BB6 UsePinForEncryptedFilesA = [email protected] 
    1775 306 00042BFF UsePinForEncryptedFilesW = [email protected] 

그리고 다른 폴더에서 실행할 때 반환 :

1770 301 000455C6 UnregisterIdleTask 
    1771 302   UnregisterTraceGuids (forwarded to ntdll.EtwUnregisterTraceGuids) 
    1772 303 000595D8 UpdateTraceA 
    1773 304 000595F9 UpdateTraceW 
    1774 305 00042BB6 UsePinForEncryptedFilesA 
    1775 306 00042BFF UsePinForEncryptedFilesW 

이 가능 기호로 다운로드 DLL을 사용하는 DUMPBIN 얻을 수 섬기는 사람?

답변

0

msdn page for symbol paths에 대한 답변을 찾았습니다. 예를 들어, windbg를 메뉴를 통해 설정

  • 런타임 목록과 .sympath command :

    해당 페이지는 Windows 디버거는 세 곳에서 자신의 기호 목록을 얻을 상태 .sympath srv*c:\MyServerSymbols*http://msdl.microsoft.com/download/symbols

  • _NT_ALT_SYMBOL_PATH 환경 변수
  • _NT_SYMBOL_PATH 환경 변수

그래서 단순히 SET _NT_SYMBOL_PATH=symsrv*symsrv.dll*c:\symbols2*http://msdl.microsoft.com/download/symbols 전화하거나 (예를 들어, setx를 통해) 영구 환경에 그 값을 추가 기호를로드하게됩니다.

관련 문제