Sign in
Where in the API is Andrew Richards?
This blog contains random snippets/thoughts as I wonder around various SDK and WDK APIs...
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
!cpuid
!sysinfo
_KTHREAD
_NT_SYMBOL_PATH
_TEB
BugCheck 0x101
build
Channel 9
CLOCK_WATCHDOG_TIMEOUT
Context Menu
David Solomon
DbgEng
DbgHelp
Debugger
Defrag Tools
IDebugDataSpaces2
Mark Russinovich
Memory
MSDN Magazine
ProcDump
ProcMon
Registry
Sysinternals
The Defrag Show
WinDbg
Archive
Archives
November 2012
(1)
August 2012
(2)
April 2012
(3)
January 2012
(1)
December 2011
(1)
November 2011
(1)
September 2011
(1)
August 2011
(1)
May 2011
(5)
April 2011
(4)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Where in the API is Andrew Richards?
WinDbg File Association and Explorer Context Menu
Posted
over 2 years ago
by
AndrewRichards
4
Comments
For a long time now I've had a registry file to make context menu entries for WinDbg. The entries allow you to select the x86 or x64 debugger. Internally at Microsoft, I have another version of the registry file that contains two more context menu entries...
Where in the API is Andrew Richards?
Implementing ICorDebugManagedCallback2
Posted
over 1 year ago
by
AndrewRichards
2
Comments
Implementing ICorDebugManagedCallback2 isn't too hard, it just takes a lot of boiler-plate code to make ICorDebug happy. So as to make this easier for anyone who would like to implement ICorDebugManagedCallback2, attached is the template code to start...
Where in the API is Andrew Richards?
Debugger Engine (DbgEng) updates in the Windows 8 Developer Preview
Posted
over 2 years ago
by
AndrewRichards
1
Comments
Today I wanted to find out what the Debugger Engine (DbgEng) changes are between Windows 7 and the Windows 8 Developer Preview. To get the differences, I did a WinDiff between the SDK 7.1 ‘DbgEng.h’ header file and the new version (C:\Program...
Where in the API is Andrew Richards?
Intel “Family Model Stepping” and Intel “Erratum” Reference
Posted
over 2 years ago
by
AndrewRichards
1
Comments
For some unfathomable reason, there seems to be no simple chart cross referencing the common CPU names, their basic features, and the internal CPU information identification (provided by !cpuid and !sysinfo cpuinfo ). (There is also no clear description...
Where in the API is Andrew Richards?
Writing a 'Debugging Tools for Windows' Extension
Posted
over 2 years ago
by
AndrewRichards
1
Comments
I've written a three part series in MSDN Magazine that covers the Debugging API (specifically, DbgEng). Writing a Debugging Tools for Windows Extension - Part 1 - March 2011 Covers the build environment and the basics of Output, reading Memory...
Where in the API is Andrew Richards?
David Solomon Memory Management talks
Posted
over 2 years ago
by
AndrewRichards
1
Comments
These David Solomon talks on Memory Management (circa 2005) used to be on TechNet Spotlight but got pulled last year. I've found a repost of them here: http://www.opsvault.com/david-solomon-technet-talks/
Where in the API is Andrew Richards?
ProcDump v3.04 - a cautionary MiniPlus update
Posted
over 2 years ago
by
AndrewRichards
0
Comments
ProcDump v3.04 has been released . The release just contains a tiny (edge case) sanity check I wrote in the MiniPlus stack traversal code. Specifically, it caters for the case where esp/rsp is not within the stack base and stack limit. In this highly...
Where in the API is Andrew Richards?
StackBase and StackLimit offsets
Posted
over 2 years ago
by
AndrewRichards
0
Comments
To save a symbol lookup in a debugger extension, here are the hardcodes to use for StackBase and StackLimit. User Mode 32bit 0:000> dt nt!_TEB.Stack* ntdll!_TEB +0x000 NtTib : +0x004 StackBase : Ptr Void +0x008 StackLimit : Ptr Void...
Where in the API is Andrew Richards?
IDebugDataSpaces2::QueryVirtual doesn’t act the same as VirtualQuery
Posted
over 2 years ago
by
AndrewRichards
0
Comments
One of my debugger extensions commands uses IDebugDataSpaces2::QueryVirtual to iterate through the target’s address space to find particular size allocations (regions that are used for the TEB if you must know). The code was working fine but on...
Where in the API is Andrew Richards?
Linked List Performance Issues? Skip List to the Rescue!
Posted
over 2 years ago
by
AndrewRichards
0
Comments
A Traditional Linked List At some point in every developer’s life, you’ll have to write some code that works with a Linked List. You’ll start by making a structure like this: typedef struct { ULONG64 ulStartAddress; ULONG64 ulEndAddress;...
Where in the API is Andrew Richards?
BugCheck 0x101 - CLOCK_WATCHDOG_TIMEOUT
Posted
over 2 years ago
by
AndrewRichards
0
Comments
My blog post on a BugCheck 0x101 - CLOCK_WATCHDOG_TIMEOUT is now live on the NTDebugging blog... http://blogs.msdn.com/b/ntdebugging/archive/2011/10/26/debugging-a-clock-watchdog-timeout-bugcheck.aspx
Where in the API is Andrew Richards?
SQL Server 2008 R2 Setup fails with Database Engine Handle error
Posted
over 2 years ago
by
AndrewRichards
0
Comments
To cut a long story short, if you install SQL Server 2008 R2 via ISO mount in Virtual PC, the install will fail with a Database Engine Handle error. To get out of this issue: Uninstall everything to do with SQL Server (from Programs and Features...
Where in the API is Andrew Richards?
Fixing an ICorDebugUnmanagedCallback induced hang
Posted
over 2 years ago
by
AndrewRichards
0
Comments
Just posted an article on the NTDebugging blog about ICorDebugUnmanagedCallback::DebugEvent ">ICorDebugUnmanagedCallback::DebugEvent . http://blogs.msdn.com/b/ntdebugging/archive/2011/11/29/fixing-an-icordebugunmanagedcallback-induced-hang.aspx
Where in the API is Andrew Richards?
Writing a Plug-in for Sysinternals ProcDump v4.0
Posted
over 2 years ago
by
AndrewRichards
0
Comments
My 4th MSDN Magazine article is now available online: Writing a Plug-in for Sysinternals ProcDump v4.0 http://msdn.microsoft.com/en-us/magazine/hh580738.aspx
Where in the API is Andrew Richards?
The Defrag Show - 11th April 2012
Posted
over 1 year ago
by
AndrewRichards
0
Comments
I was the substitute co-host of Channel 9 "The Defrag Show" on the 11th April 2012. Larry Larsen asked me to step in for Gov while he is on leave. Covered lots of goodies, especially some useful keyboard shortcuts. Enjoy! http://channel9.msdn.com...
Where in the API is Andrew Richards?
The Defrag Show - 18th April 2012
Posted
over 1 year ago
by
AndrewRichards
0
Comments
I again was the substitute co-host of Channel 9 "The Defrag Show" for the 18th April 2012 show. http://channel9.msdn.com/Shows/The-Defrag-Show/Defrag-CMD-Line-Wifi-Autologin-Method-Bugcheck-Troubleshooting
Where in the API is Andrew Richards?
The Defrag Show - 25th April 2012
Posted
over 1 year ago
by
AndrewRichards
0
Comments
I again was the substitute co-host of Channel 9 "The Defrag Show" for the 25th April 2012 show. Gov is back next week. http://channel9.msdn.com/Shows/The-Defrag-Show/Defrag-Memory-Management-Phishing-Inside-Microsoft
Where in the API is Andrew Richards?
The Defrag Show - 2nd August 2012
Posted
9 months ago
by
AndrewRichards
0
Comments
I again was the substitute co-host of Channel 9 "The Defrag Show" for the 2nd August 2012 show. Gov is back next week. http://channel9.msdn.com/Shows/The-Defrag-Show/Defrag-Delayed-Loading-on-Startup-Cant-Boot-From-USB-Defrag-Tools
Where in the API is Andrew Richards?
Announcing the "Defrag Tools" show on Channel 9
Posted
9 months ago
by
AndrewRichards
0
Comments
Andrew Richards and Larry Larsen host this deep dive into the tools used on the tech support show Defrag and walk you through how to use many Windows diagnostic tools found on SysInternals. http://channel9.msdn.com/Shows/Defrag-Tools
Where in the API is Andrew Richards?
Defrag Tools Live @ //build/ 2012
Posted
6 months ago
by
AndrewRichards
0
Comments
http://channel9.msdn.com/Events/Ch9Live/Channel-9-Live-at-BUILD-2012/Defrag-Tools-Live-14
Page 1 of 1 (20 items)