Monthly Archives: May 2009

Breaking on System Functions with the Context Operator

[Edit, Aug 2010:] About a year after this trial-and-error-ish investigation, I accidently found this hidden bit of documentation which pretty much sums it up. The context operator is technically documented, although barely so. Seemed to me the reason is that … Continue reading

Posted in Debugging, Visual Studio | 9 Comments

Obtaining Decorated Names

There is a neat command line tool called UNDNAME.EXE to un-decorate a name, but what if you need the opposite? I.e., given a function header, how do you get its decorated name? Well, you could reconstruct it manually. The decoration … Continue reading

Posted in VC++ | 1 Comment

Searching Through Memory in Visual Studio

MS maintains two separate debugger product lines – one (supposedly owned by the smaller team) being WinDbg and the other shipped with Visual Studio. There’s an ever-going online flame for superiority between fans of both debuggers (sample 1, sample 2). … Continue reading

Posted in Debugging, VC++ | 5 Comments