Just-in-time Debug
프로그램 실행했을 때 오류 발생 시 원하는 Debugger로 연결하여 Debugging 진행
사용 방법
OllyDbg : Options -> Just-in-time debugging -> Make OllyDbg just-in-time debugger
Visual Studio 2010 : 도구 -> 옵션 -> 디버깅 -> Just-In-Time -> 관리, 네이티브, 스크립트 체크
레지스트리를 이용한 변경 방법 :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug
Debugger : "Debugger 프로그램 경로" -p %ld -e %ld ("Debugger 프로그램 경로" -AEDEBUG %ld %ld)
UserDebuggerHotKey : Debugger 연결 시 사용하는 키 값
Auto : 0이면 예외 발생 시 디버그 클릭하여 Debugger 연결, 1이면 예외 발생시 자동 연결
'Reversing > Debugging Tech' 카테고리의 다른 글
IDA를 이용한 Kernel Debugging (0) | 2015.04.03 |
---|---|
Windbg를 이용한 kernel debugging(Windows7) (0) | 2015.04.03 |
Windbg를 이용한 kernel debugging(Windows XP) (0) | 2015.04.03 |
Ollydbg에서 Breaking Code Alignment 해결 방법 (0) | 2015.03.31 |
이미지 실행(로드) 시 디버거로 연결하여 실행 (0) | 2015.03.24 |