As an aside, I can't find what that 0x40 flag in context_flags is. The
WinNT.h I have in my Windows SDK 7.0 doesn't list any flag with that
value in the AMD64 section. There is this worrying bit in the i386
section:
#define CONTEXT_XSTATE (CONTEXT_i386 | 0x00000040L)
which would indicate that yes, they're using bits that low as flags.
Any thoughts?
-Ted
1. http://code.google.com/p/google-breakpad/source/browse/trunk/src/google_breakpad/common/minidump_format.h#105
2. https://bugzilla.mozilla.org/show_bug.cgi?id=677580
Just for reference, 0x40 is the XSTATE flag on both architectures
(it's support for Intel AVX):
http://msdn.microsoft.com/en-us/library/hh134240%28v=vs.85%29.aspx
-Ted