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

Side by Side Diff: snapshot/win/process_reader_win.h

Issue 1364803004: win: Save contents of TEBs allowing !teb and !gle to work in windbg (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@dump-without-crashing
Patch Set: . Created 5 years, 2 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 | « snapshot/thread_snapshot.h ('k') | snapshot/win/process_reader_win.cc » ('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 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
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
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_
OLDNEW
« no previous file with comments | « snapshot/thread_snapshot.h ('k') | snapshot/win/process_reader_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698