Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run until return with WinDbg

Tags:

windbg

In OllyDbg it allow you to run until return, e.g you run into a ret or leave instruction.

Does WinDbg support that? I didn't find such a function in the menu.

like image 958
daisy Avatar asked Sep 04 '13 06:09

daisy


1 Answers

If you want to stop before returning, you can use pt. If you want to stop after returning, use gu. The latter is on the Debug menu as "Step Out" with the hotkey Shift+F11.

These and more are listed on the ever-useful windbg.info (this page in particular).

like image 117
DocMax Avatar answered Nov 15 '22 12:11

DocMax