Defrag Tools #103 - Writing a Debugger Extension Part 7

Download

Right click “Save as…”

  • MP3 (Audio only)
  • MP4 (iPhone, Android)
  • High Quality MP4 (iPad, PC, Xbox)
  • Mid Quality MP4 (Windows Phone, HTML5, iPhone)

In this episode of Defrag Tools, Andrew Richards and Chad Beeder continue a series on writing a Debugger Extension for the Debugging Tools for Windows. The series is based on a 3 part MSDN Magazine series that Andrew wrote back in early 2011.

Resources:
Writing a Debugging Tools for Windows Extension - Part 1 - March 2011
Writing a Debugging Tools for Windows Extension - Part 2 - May 2011
Writing a Debugging Tools for Windows Extension - Part 3 - June 2011

Timeline:
[00:00] - Quick recap of Sign Extension
[01:16] - Reading Memory - IDebugDataSpaces::ReadVirtual
[02:54] - Reading Pointers - IDebugDataSpaces::ReadPointersVirtual
[05:15] - Pointer > 64k (0x10000)
[06:42] - Sysinternals VMMap
[07:23] - Execute Commands when there is no API (e.g. .cordll -l)
[09:40] - IDebugControl::Execute
[10:35] - All-Clients, Ignore, etc, - DEBUG_OUTCTL_XXX
[11:59] - Flags - DEBUG_EXECUTE_NO_REPEAT
[13:25] - Flags - DEBUG_EXECUTE_NOT_LOGGED
[13:35] - Running the code...
[14:16] - Next week - Output Callbacks
[15:00] - Email us your issues at defragtools@microsoft.com

Tags:

Follow the Discussion

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.