WinDBG: Command - z (Execute While)

WinDBG.exe Live debugging 할 때, 만일, 어떤 임의의 function return value 0x800xxxxx 일 때, break을 하고 싶을 때가 많은 데, 그때마다, 인내하면서 p, t 를 누르면서 찾아가는 것이 아주 지겨운 작업이 될 수 있는 데, z 라는 command 가 도움을 줄 수 있다. 하지만, 일반적으로 EAX register Function return value가 반환되지만 그렇지 않을 경우도 있으므로 주의하며 사용해야 한다.

 

p; z(eax=800xxxxx)

 

참조-Debugging Tools For Windows Help:

z (Execute While)

The z command conditionally executes a command while a given condition is true.

Syntax

User-Mode
Command;z(Expression)

by SehYoon | 2007/11/21 16:46 | Windows debugging | 트랙백 | 덧글(0)
트랙백 주소 : http://byung.egloos.com/tb/3950788
☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]

:         :

:

비공개 덧글

< 이전페이지 다음페이지 >