OLD | NEW |
1 // Copyright 2015 The Crashpad Authors. All rights reserved. | 1 // Copyright 2015 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 30 matching lines...) Expand all Loading... |
41 public: | 41 public: |
42 //! \brief Contains information about a thread that belongs to a process. | 42 //! \brief Contains information about a thread that belongs to a process. |
43 struct Thread { | 43 struct Thread { |
44 Thread(); | 44 Thread(); |
45 ~Thread() {} | 45 ~Thread() {} |
46 | 46 |
47 union { | 47 union { |
48 CONTEXT native; | 48 CONTEXT native; |
49 #if defined(ARCH_CPU_64_BITS) | 49 #if defined(ARCH_CPU_64_BITS) |
50 WOW64_CONTEXT wow64; | 50 WOW64_CONTEXT wow64; |
51 #endif; | 51 #endif |
52 } context; | 52 } context; |
53 uint64_t id; | 53 uint64_t id; |
54 WinVMAddress teb; | 54 WinVMAddress teb_address; |
| 55 WinVMSize teb_size; |
55 WinVMAddress stack_region_address; | 56 WinVMAddress stack_region_address; |
56 WinVMSize stack_region_size; | 57 WinVMSize stack_region_size; |
57 uint32_t suspend_count; | 58 uint32_t suspend_count; |
58 uint32_t priority_class; | 59 uint32_t priority_class; |
59 uint32_t priority; | 60 uint32_t priority; |
60 }; | 61 }; |
61 | 62 |
62 ProcessReaderWin(); | 63 ProcessReaderWin(); |
63 ~ProcessReaderWin(); | 64 ~ProcessReaderWin(); |
64 | 65 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 ProcessSuspensionState suspension_state_; | 124 ProcessSuspensionState suspension_state_; |
124 bool initialized_threads_; | 125 bool initialized_threads_; |
125 InitializationStateDcheck initialized_; | 126 InitializationStateDcheck initialized_; |
126 | 127 |
127 DISALLOW_COPY_AND_ASSIGN(ProcessReaderWin); | 128 DISALLOW_COPY_AND_ASSIGN(ProcessReaderWin); |
128 }; | 129 }; |
129 | 130 |
130 } // namespace crashpad | 131 } // namespace crashpad |
131 | 132 |
132 #endif // CRASHPAD_SNAPSHOT_WIN_PROCESS_READER_WIN_H_ | 133 #endif // CRASHPAD_SNAPSHOT_WIN_PROCESS_READER_WIN_H_ |
OLD | NEW |