OLD | NEW |
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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 //! \brief The stream type for MINIDUMP_SYSTEM_INFO. | 157 //! \brief The stream type for MINIDUMP_SYSTEM_INFO. |
158 SystemInfoStream = 7, | 158 SystemInfoStream = 7, |
159 | 159 |
160 //! \brief The stream type for MINIDUMP_MISC_INFO, MINIDUMP_MISC_INFO_2, | 160 //! \brief The stream type for MINIDUMP_MISC_INFO, MINIDUMP_MISC_INFO_2, |
161 //! MINIDUMP_MISC_INFO_3, and MINIDUMP_MISC_INFO_4. | 161 //! MINIDUMP_MISC_INFO_3, and MINIDUMP_MISC_INFO_4. |
162 //! | 162 //! |
163 //! More recent versions of this stream are supersets of earlier versions. | 163 //! More recent versions of this stream are supersets of earlier versions. |
164 //! | 164 //! |
165 //! The exact version of the stream that is present is implied by the stream’s | 165 //! The exact version of the stream that is present is implied by the stream’s |
166 //! size. Furthermore, this stream contains a field, | 166 //! size. Furthermore, this stream contains a field, |
167 //! MINIDUMP_MISC_INFO_STREAM::Flags1, that indicates which data is present | 167 //! MINIDUMP_MISC_INFO::Flags1, that indicates which data is present and |
168 //! and valid. | 168 //! valid. |
169 MiscInfoStream = 15, | 169 MiscInfoStream = 15, |
170 }; | 170 }; |
171 | 171 |
172 //! \brief Information about the CPU (or CPUs) that ran the process that the | 172 //! \brief Information about the CPU (or CPUs) that ran the process that the |
173 //! minidump file contains a snapshot of. | 173 //! minidump file contains a snapshot of. |
174 //! | 174 //! |
175 //! This union only appears as MINIDUMP_SYSTEM_INFO::Cpu. Its interpretation is | 175 //! This union only appears as MINIDUMP_SYSTEM_INFO::Cpu. Its interpretation is |
176 //! controlled by MINIDUMP_SYSTEM_INFO::ProcessorArchitecture. | 176 //! controlled by MINIDUMP_SYSTEM_INFO::ProcessorArchitecture. |
177 union __attribute__((packed, aligned(4))) CPU_INFORMATION { | 177 union __attribute__((packed, aligned(4))) CPU_INFORMATION { |
178 //! \brief Information about 32-bit x86 CPUs, or x86_64 CPUs when running | 178 //! \brief Information about 32-bit x86 CPUs, or x86_64 CPUs when running |
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
833 //! - A MINIDUMP_SYSTEM_INFO stream. | 833 //! - A MINIDUMP_SYSTEM_INFO stream. |
834 //! - A MINIDUMP_MISC_INFO, MINIDUMP_MISC_INFO_2, MINIDUMP_MISC_INFO_3, or | 834 //! - A MINIDUMP_MISC_INFO, MINIDUMP_MISC_INFO_2, MINIDUMP_MISC_INFO_3, or |
835 //! MINIDUMP_MISC_INFO_4 stream, depending on which fields are present. | 835 //! MINIDUMP_MISC_INFO_4 stream, depending on which fields are present. |
836 //! - A MINIDUMP_THREAD_LIST stream. All threads are present, along with a | 836 //! - A MINIDUMP_THREAD_LIST stream. All threads are present, along with a |
837 //! snapshot of each thread’s stack memory sufficient to obtain backtraces. | 837 //! snapshot of each thread’s stack memory sufficient to obtain backtraces. |
838 //! - If the minidump file was generated as a result of an exception, a | 838 //! - If the minidump file was generated as a result of an exception, a |
839 //! MINIDUMP_EXCEPTION_STREAM describing the exception. | 839 //! MINIDUMP_EXCEPTION_STREAM describing the exception. |
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. This type of minidump file also includes a |
844 //! includes a MINIDUMP_MEMORY_DESCRIPTOR containing the 256 bytes centered | 844 //! MINIDUMP_MEMORY_DESCRIPTOR containing the 256 bytes centered around |
845 //! around the exception address or the instruction pointer. | 845 //! 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_ |
OLD | NEW |