Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: compat/non_win/dbghelp.h

Issue 454073002: Add MinidumpMiscInfoWriter and its test (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Drop unnecessary “using namespace testing” Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | minidump/minidump.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Crashpad Authors. All rights reserved. 1 // Copyright 2014 The Crashpad Authors. All rights reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License. 4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 //! - MINIDUMP_MISC_INFO_2::ProcessorMaxMhz 629 //! - MINIDUMP_MISC_INFO_2::ProcessorMaxMhz
630 //! - MINIDUMP_MISC_INFO_2::ProcessorCurrentMhz 630 //! - MINIDUMP_MISC_INFO_2::ProcessorCurrentMhz
631 //! - MINIDUMP_MISC_INFO_2::ProcessorMhzLimit 631 //! - MINIDUMP_MISC_INFO_2::ProcessorMhzLimit
632 //! - MINIDUMP_MISC_INFO_2::ProcessorMaxIdleState 632 //! - MINIDUMP_MISC_INFO_2::ProcessorMaxIdleState
633 //! - MINIDUMP_MISC_INFO_2::ProcessorCurrentIdleState 633 //! - MINIDUMP_MISC_INFO_2::ProcessorCurrentIdleState
634 //! 634 //!
635 //! \note This macro should likely have been named 635 //! \note This macro should likely have been named
636 //! MINIDUMP_MISC2_PROCESSOR_POWER_INFO. 636 //! MINIDUMP_MISC2_PROCESSOR_POWER_INFO.
637 #define MINIDUMP_MISC1_PROCESSOR_POWER_INFO 0x00000004 637 #define MINIDUMP_MISC1_PROCESSOR_POWER_INFO 0x00000004
638 638
639 //! \brief MINIDUMP_MISC_INFO3::ProcessIntegrityLevel is valid. 639 //! \brief MINIDUMP_MISC_INFO_3::ProcessIntegrityLevel is valid.
640 #define MINIDUMP_MISC3_PROCESS_INTEGRITY 0x00000010 640 #define MINIDUMP_MISC3_PROCESS_INTEGRITY 0x00000010
641 641
642 //! \brief MINIDUMP_MISC_INFO3::ProcessExecuteFlags is valid. 642 //! \brief MINIDUMP_MISC_INFO_3::ProcessExecuteFlags is valid.
643 #define MINIDUMP_MISC3_PROCESS_EXECUTE_FLAGS 0x00000020 643 #define MINIDUMP_MISC3_PROCESS_EXECUTE_FLAGS 0x00000020
644 644
645 //! \brief The time zone-related fields in MINIDUMP_MISC_INFO_3 are valid. 645 //! \brief The time zone-related fields in MINIDUMP_MISC_INFO_3 are valid.
646 //! 646 //!
647 //! The following fields are valid: 647 //! The following fields are valid:
648 //! - MINIDUMP_MISC_INFO_3::TimeZoneId 648 //! - MINIDUMP_MISC_INFO_3::TimeZoneId
649 //! - MINIDUMP_MISC_INFO_3::TimeZone 649 //! - MINIDUMP_MISC_INFO_3::TimeZone
650 #define MINIDUMP_MISC3_TIMEZONE 0x00000040 650 #define MINIDUMP_MISC3_TIMEZONE 0x00000040
651 651
652 //! \brief MINIDUMP_MISC_INFO3::ProtectedProcess is valid. 652 //! \brief MINIDUMP_MISC_INFO_3::ProtectedProcess is valid.
653 #define MINIDUMP_MISC3_PROTECTED_PROCESS 0x00000080 653 #define MINIDUMP_MISC3_PROTECTED_PROCESS 0x00000080
654 654
655 //! \brief The build string-related fields in MINIDUMP_MISC_INFO_4 are valid. 655 //! \brief The build string-related fields in MINIDUMP_MISC_INFO_4 are valid.
656 //! 656 //!
657 //! The following fields are valid: 657 //! The following fields are valid:
658 //! - MINIDUMP_MISC_INFO_4::BuildString 658 //! - MINIDUMP_MISC_INFO_4::BuildString
659 //! - MINIDUMP_MISC_INFO_4::DbgBldStr 659 //! - MINIDUMP_MISC_INFO_4::DbgBldStr
660 #define MINIDUMP_MISC4_BUILDSTRING 0x00000100 660 #define MINIDUMP_MISC4_BUILDSTRING 0x00000100
661 //! \} 661 //! \}
662 662
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 //! - A MINIDUMP_MODULE_LIST stream. All loaded modules are present. 840 //! - A MINIDUMP_MODULE_LIST stream. All loaded modules are present.
841 //! - Typically, a MINIDUMP_MEMORY_LIST stream containing duplicate pointers 841 //! - Typically, a MINIDUMP_MEMORY_LIST stream containing duplicate pointers
842 //! to the stack memory regions also referenced by the MINIDUMP_THREAD_LIST 842 //! to the stack memory regions also referenced by the MINIDUMP_THREAD_LIST
843 //! stream. Since Windows 7 (NT 6.1), this type of minidump file also 843 //! stream. Since Windows 7 (NT 6.1), this type of minidump file also
844 //! includes a MINIDUMP_MEMORY_DESCRIPTOR containing the 256 bytes centered 844 //! includes a MINIDUMP_MEMORY_DESCRIPTOR containing the 256 bytes centered
845 //! around the exception address or the instruction pointer. 845 //! around the exception address or the instruction pointer.
846 MiniDumpNormal = 0x00000000, 846 MiniDumpNormal = 0x00000000,
847 }; 847 };
848 848
849 #endif // CRASHPAD_COMPAT_NON_WIN_DBGHELP_H_ 849 #endif // CRASHPAD_COMPAT_NON_WIN_DBGHELP_H_
OLDNEW
« no previous file with comments | « no previous file | minidump/minidump.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698