mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-05 22:18:21 +01:00
The Google-breakpad processor rejects (ignores) context records that lack CPU type information in their context_flags fields. Such context records can be valid (e.g. contexts captured by ::RtlCaptureContext).
http://code.google.com/p/google-breakpad/issues/detail?id=493 http://breakpad.appspot.com/500002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1088 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
bf6d350a68
commit
947ef27362
7 changed files with 262 additions and 12 deletions
|
|
@ -147,7 +147,7 @@ TEST(Context, ARM) {
|
|||
TEST(ContextDeathTest, X86BadFlags) {
|
||||
Dump dump(0, kLittleEndian);
|
||||
MDRawContextX86 raw;
|
||||
raw.context_flags = 0;
|
||||
raw.context_flags = MD_CONTEXT_AMD64;
|
||||
ASSERT_DEATH(Context context(dump, raw);,
|
||||
"context\\.context_flags & (0x[0-9a-f]+|MD_CONTEXT_X86)");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue