Chromium Code Reviews| Index: util/win/process_info.h |
| diff --git a/util/win/process_info.h b/util/win/process_info.h |
| index 02514739381e4a6cbbc0c37a63b42e1f3631e053..6a67ed7b3000d3853f33e6427a79a2e3b77cfef5 100644 |
| --- a/util/win/process_info.h |
| +++ b/util/win/process_info.h |
| @@ -78,6 +78,13 @@ class ProcessInfo { |
| //! Block. |
| bool CommandLine(std::wstring* command_line) const; |
| + //! \brief Gets the address and size of the process's Process Environment |
| + //! Block. |
| + |
|
Mark Mentovai
2015/09/23 21:40:50
Missing //!
scottmg
2015/09/24 20:00:10
Done.
|
| + //! \param[out] peb_address The address of the Process Environment Block. |
| + //! \param[out] peb_size The size of the Process Environment Block. |
| + void Peb(WinVMAddress* peb_address, WinVMSize* peb_size) const; |
| + |
| //! \brief Retrieves the modules loaded into the target process. |
| //! |
| //! The modules are enumerated in initialization order as detailed in the |
| @@ -90,7 +97,8 @@ class ProcessInfo { |
| friend bool GetProcessBasicInformation(HANDLE process, |
| bool is_wow64, |
| ProcessInfo* process_info, |
| - WinVMAddress* peb_address); |
| + WinVMAddress* peb_address, |
| + WinVMSize* peb_size); |
| template <class Traits> |
| friend bool ReadProcessData(HANDLE process, |
| WinVMAddress peb_address_vmaddr, |
| @@ -99,6 +107,8 @@ class ProcessInfo { |
| pid_t process_id_; |
| pid_t inherited_from_process_id_; |
| std::wstring command_line_; |
| + WinVMAddress peb_address_; |
| + WinVMSize peb_size_; |
| std::vector<Module> modules_; |
| bool is_64_bit_; |
| bool is_wow64_; |