| Index: util/win/process_info.h
|
| diff --git a/util/win/process_info.h b/util/win/process_info.h
|
| index 91ddb4aed9cc5c1832bef6011c69093e168e6c35..03a6d29792d56a9ed5c6630d569ad37949b38dbc 100644
|
| --- a/util/win/process_info.h
|
| +++ b/util/win/process_info.h
|
| @@ -30,6 +30,21 @@ namespace crashpad {
|
| //! primarily of information stored in the Process Environment Block.
|
| class ProcessInfo {
|
| public:
|
| + //! \brief Contains information about a module loaded into a process.
|
| + struct Module {
|
| + Module();
|
| + ~Module();
|
| +
|
| + //! \brief The pathname used to load the module from disk.
|
| + std::wstring name;
|
| +
|
| + //! \brief The base address of the loaded DLL.
|
| + uintptr_t dll_base;
|
| +
|
| + //! \brief The module's timestamp.
|
| + time_t timestamp;
|
| + };
|
| +
|
| ProcessInfo();
|
| ~ProcessInfo();
|
|
|
| @@ -64,7 +79,7 @@ class ProcessInfo {
|
| //! The modules are enumerated in initialization order as detailed in the
|
| //! Process Environment Block. The main executable will always be the
|
| //! first element.
|
| - bool Modules(std::vector<std::wstring>* modules) const;
|
| + bool Modules(std::vector<Module>* modules) const;
|
|
|
| private:
|
| template <class T>
|
| @@ -75,7 +90,7 @@ class ProcessInfo {
|
| pid_t process_id_;
|
| pid_t inherited_from_process_id_;
|
| std::wstring command_line_;
|
| - std::vector<std::wstring> modules_;
|
| + std::vector<Module> modules_;
|
| bool is_64_bit_;
|
| bool is_wow64_;
|
| InitializationStateDcheck initialized_;
|
|
|