본문 바로가기

windbg

(8)
First chance exception 0X406D1388 크롬과 엣지에서 Exception 0X406D1388 덤프가 많이 발생했다. 덤프파일을 windbg 로 열어 analyze -v 를 실행한 스택내용은 다음과 같았다. (크롬 심볼서버 세팅함.) STACK_TEXT: KERNELBASE!RaiseException+0x6a chrome!base::PlatformThreadBase::SetName+0x1ae chrome!base::internal::ThreadGroupImpl::WorkerThreadDelegateImpl::OnMainEntry+0x74 chrome!base::internal::WorkerThread::RunWorker+0x81 chrome!base::internal::WorkerThread::RunPooledWorker+0x18 chrome!..
[WinDbg] PyKd PyKd 라는 windbg python script
WinDbg|전체 프로세스 메모리에서 특정 패턴 스캔하기 http://voneinem-windbg.blogspot.kr/2007/06/scan-full-process-memory-for-pattern.html 전체 프로세스 메모리에서 특정 패턴 스캔하기Scan the full process memory for a pattern 프로세스 메모리에서 특정 패턴을 스캔해야 할 때가 매우 많았다.특정 포인터이거나 문자열일 수도 있고 무엇이라도 될 수 있다.Very often I need to scan the process memory for a specific pattern.This can be either a pointer or a string or whatever and I want to find out, which other memory references th..
[StackOverflow|WinDbg] windbg의 STACKIMMUNE 은 무슨 뜻인가? 원문 : http://stackoverflow.com/questions/9065975/what-does-windbgs-primary-problem-class-stackimmune-mean !analyze 의 원리를 잠깐 설명하면, !analyze 는 access violation (또는 SEH exception, C++ exception, integer overflow, division by zero 등등)의 원인을 찾기 위해서 예외를 던진 쓰레드의 콜스택 위에 무엇이 있는지 확인한다. 그러나, 모든 스택 프레임이 의미있는 것은 아니다. 예를 들어, C++ 예외일 경우 가장 위에 있는 kernel32!RaiseException 과 your_module!__exception_handler3 가 스택 가장 ..
[번역] First Chance Exception 은 무엇일까? First Chance Exception 은 무엇일까?원저자 DavidKlineMS 2005-7-12번역 daewonyoon 2013-07-3애플리케이션을 디버깅하면서 "First chance" exception 메시지를 본 적이 있나요?혹시 이런 것이 궁금하지 않았나요?first chance exception 은 무엇일까?first chance exception 이 내 코드에 문제가 있다는 뜻일까? first chance exception 은 무엇일까?애플리케이션을 디버깅할 때, 디버거는 예외(exception)가 발생할 때마다 알림을 받습니다. 이 때 애플리케이션은 잠시 동작을 멈추고, 디버거는 그 예외를 어떻게 처리할 지를 결정합니다. 이 메커니즘을 처음 지나는 것을 "first chance" ex..
0xF4 CRITICAL_OBJECT_TERMIN Following is a blog posting capture with my korean comments on it. I translated some foreign informational text into korean in order to share the information with korean readers. However, I thought some of the key text translation should suffice for technical texts. So I decided to capture the posting and put some korean translations of key sentences beside them. This posting is not inteneded to..
[WinDbg] 0y 는 몇진수? windbg로 실습하다보면 0y 라는 표현이 나온다. 0x는 16진수 hexa 표현인데, 0y는 과연 몇 진수 표현일까? 답은 2진수. 주로 비트플래그값에 대해 0y라는 표현이 등장한다는 걸 알 수 있다. windbg 창에서 .formats 명령으로 쉽게 알 수 있다. (thnx to http://mat-f.blogspot.com/2011/05/hex-binary-decimal-octal-number.html )
Windows Job Object (ie와 acrd32 비교) 윈도우 잡 객체 중에 ie와 acrd32 의 객체를 비교해 봤다. 비교한 원본은 windbg 를 통해 뽑아본(윈도우즈인터널즈 참조) 내용이다.