2015-10-08 14:55:01 -04:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2017-02-22 23:37:31 -05:00
< meta name = "generator" content = "Doxygen 1.8.13" / >
2016-11-07 15:21:37 -05:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2015-10-08 14:55:01 -04:00
< title > Crashpad: crashpad::ProcessReaderWin Class Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
2016-11-08 14:26:59 -05:00
< link href = "crashpad_doxygen.css" rel = "stylesheet" type = "text/css" / >
2015-10-08 14:55:01 -04:00
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
2016-01-06 16:09:15 -05:00
< td id = "projectalign" style = "padding-left: 0.5em;" >
2015-10-08 14:55:01 -04:00
< div id = "projectname" > Crashpad
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2017-02-22 23:37:31 -05:00
<!-- Generated by Doxygen 1.8.13 -->
2015-10-08 14:55:01 -04:00
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
2016-11-07 15:21:37 -05:00
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
< / script >
< div id = "main-nav" > < / div >
2015-10-08 14:55:01 -04:00
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "namespacecrashpad.html" > crashpad< / a > < / li > < li class = "navelem" > < a class = "el" href = "classcrashpad_1_1ProcessReaderWin.html" > ProcessReaderWin< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#nested-classes" > Classes< / a > |
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "classcrashpad_1_1ProcessReaderWin-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > crashpad::ProcessReaderWin Class Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > Accesses information about another process, identified by a < code > HANDLE< / code > .
< a href = "classcrashpad_1_1ProcessReaderWin.html#details" > More...< / a > < / p >
< p > < code > #include " snapshot/win/process_reader_win.h" < / code > < / p >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "nested-classes" > < / a >
Classes< / h2 > < / td > < / tr >
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structcrashpad_1_1ProcessReaderWin_1_1Thread.html" > Thread< / a > < / td > < / tr >
< tr class = "memdesc:" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Contains information about a thread that belongs to a process. < a href = "structcrashpad_1_1ProcessReaderWin_1_1Thread.html#details" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a21cb39ea246076f3458f08ab22b03ed3" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1ProcessReaderWin.html#a21cb39ea246076f3458f08ab22b03ed3" > Initialize< / a > (HANDLE process, < a class = "el" href = "namespacecrashpad.html#ab96bb7edb42a2e1ce28eda205a18a17a" > ProcessSuspensionState< / a > suspension_state)< / td > < / tr >
< tr class = "memdesc:a21cb39ea246076f3458f08ab22b03ed3" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Initializes this object. This method must be called before any other. < a href = "#a21cb39ea246076f3458f08ab22b03ed3" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a21cb39ea246076f3458f08ab22b03ed3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:aa1b7b00a5f9b4040c6736e5b04c6a747" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1ProcessReaderWin.html#aa1b7b00a5f9b4040c6736e5b04c6a747" > Is64Bit< / a > () const< / td > < / tr >
< tr class = "separator:aa1b7b00a5f9b4040c6736e5b04c6a747" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a04ba8e19eb0209d546d213705e07c34b" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1ProcessReaderWin.html#a04ba8e19eb0209d546d213705e07c34b" > ReadMemory< / a > (< a class = "el" href = "namespacecrashpad.html#a368af6d88f68998b5c5eb80b8f6ebb76" > WinVMAddress< / a > at, < a class = "el" href = "namespacecrashpad.html#a1bac9f2a189b24737e743d6690362239" > WinVMSize< / a > num_bytes, void *into) const< / td > < / tr >
< tr class = "memdesc:a04ba8e19eb0209d546d213705e07c34b" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Attempts to read < em > num_bytes< / em > bytes from the target process starting at address < em > at< / em > into < em > into< / em > . < a href = "#a04ba8e19eb0209d546d213705e07c34b" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a04ba8e19eb0209d546d213705e07c34b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a9a57de463ff788497e10d04bc20c5b3d" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "namespacecrashpad.html#a1bac9f2a189b24737e743d6690362239" > WinVMSize< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1ProcessReaderWin.html#a9a57de463ff788497e10d04bc20c5b3d" > ReadAvailableMemory< / a > (< a class = "el" href = "namespacecrashpad.html#a368af6d88f68998b5c5eb80b8f6ebb76" > WinVMAddress< / a > at, < a class = "el" href = "namespacecrashpad.html#a1bac9f2a189b24737e743d6690362239" > WinVMSize< / a > num_bytes, void *into) const< / td > < / tr >
< tr class = "memdesc:a9a57de463ff788497e10d04bc20c5b3d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Attempts to read < em > num_bytes< / em > bytes from the target process starting at address < em > at< / em > into < em > into< / em > . If some of the specified range is not accessible, reads up to the first inaccessible byte. < a href = "#a9a57de463ff788497e10d04bc20c5b3d" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a9a57de463ff788497e10d04bc20c5b3d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-08 14:26:59 -05:00
< tr class = "memitem:ac195b620d6522e48683eaaa203537f6f" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1ProcessReaderWin.html#ac195b620d6522e48683eaaa203537f6f" > StartTime< / a > (timeval *start_time) const< / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memdesc:ac195b620d6522e48683eaaa203537f6f" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Determines the target process' start time. < a href = "#ac195b620d6522e48683eaaa203537f6f" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ac195b620d6522e48683eaaa203537f6f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-08 14:26:59 -05:00
< tr class = "memitem:a808d9b56c3306802a15b41d82daa0fa5" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1ProcessReaderWin.html#a808d9b56c3306802a15b41d82daa0fa5" > CPUTimes< / a > (timeval *user_time, timeval *system_time) const< / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memdesc:a808d9b56c3306802a15b41d82daa0fa5" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Determines the target process' execution time. < a href = "#a808d9b56c3306802a15b41d82daa0fa5" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a808d9b56c3306802a15b41d82daa0fa5" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2015-10-08 14:55:01 -04:00
< tr class = "memitem:a4e8c6dbc415404658201bd4a7e3536d7" > < td class = "memItemLeft" align = "right" valign = "top" > const std::vector< < a class = "el" href = "structcrashpad_1_1ProcessReaderWin_1_1Thread.html" > Thread< / a > > &   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1ProcessReaderWin.html#a4e8c6dbc415404658201bd4a7e3536d7" > Threads< / a > ()< / td > < / tr >
< tr class = "separator:a4e8c6dbc415404658201bd4a7e3536d7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ac6bca8a188dd098c864d497fef269cf5" > < td class = "memItemLeft" align = "right" valign = "top" > const std::vector< < a class = "el" href = "structcrashpad_1_1ProcessInfo_1_1Module.html" > ProcessInfo::Module< / a > > &   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1ProcessReaderWin.html#ac6bca8a188dd098c864d497fef269cf5" > Modules< / a > ()< / td > < / tr >
< tr class = "separator:ac6bca8a188dd098c864d497fef269cf5" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:af3830be2b7bc38bd37e3b211297ff42a" > < td class = "memItemLeft" align = "right" valign = "top" > const < a class = "el" href = "classcrashpad_1_1ProcessInfo.html" > ProcessInfo< / a > &   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1ProcessReaderWin.html#af3830be2b7bc38bd37e3b211297ff42a" > GetProcessInfo< / a > () const< / td > < / tr >
< tr class = "separator:af3830be2b7bc38bd37e3b211297ff42a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-06-23 11:18:01 -04:00
< tr class = "memitem:a7e381af0ba9565d55d2bc6b58d0c55bc" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1ProcessReaderWin.html#a7e381af0ba9565d55d2bc6b58d0c55bc" > DecrementThreadSuspendCounts< / a > (uint64_t except_thread_id)< / td > < / tr >
< tr class = "memdesc:a7e381af0ba9565d55d2bc6b58d0c55bc" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Decrements the thread suspend counts for all thread ids other than < em > except_thread_id< / em > . < a href = "#a7e381af0ba9565d55d2bc6b58d0c55bc" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a7e381af0ba9565d55d2bc6b58d0c55bc" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2015-10-08 14:55:01 -04:00
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > Accesses information about another process, identified by a < code > HANDLE< / code > . < / p >
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
2016-11-07 15:21:37 -05:00
< a id = "a808d9b56c3306802a15b41d82daa0fa5" > < / a >
2017-02-22 23:37:31 -05:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a808d9b56c3306802a15b41d82daa0fa5" > ◆ < / a > < / span > CPUTimes()< / h2 >
2016-11-07 15:21:37 -05:00
2015-10-08 14:55:01 -04:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool crashpad::ProcessReaderWin::CPUTimes < / td >
< td > (< / td >
2016-11-08 14:26:59 -05:00
< td class = "paramtype" > timeval *  < / td >
2015-10-08 14:55:01 -04:00
< td class = "paramname" > < em > user_time< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2016-11-08 14:26:59 -05:00
< td class = "paramtype" > timeval *  < / td >
2015-10-08 14:55:01 -04:00
< td class = "paramname" > < em > system_time< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > const< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Determines the target process' execution time. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramdir" > [out]< / td > < td class = "paramname" > user_time< / td > < td > The amount of time the process has executed code in user mode. < / td > < / tr >
< tr > < td class = "paramdir" > [out]< / td > < td class = "paramname" > system_time< / td > < td > The amount of time the process has executed code in kernel mode.< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > < code > true< / code > on success, < code > false< / code > on failure, with a warning logged. < / dd > < / dl >
2016-06-23 11:18:01 -04:00
< / div >
< / div >
2016-11-07 15:21:37 -05:00
< a id = "a7e381af0ba9565d55d2bc6b58d0c55bc" > < / a >
2017-02-22 23:37:31 -05:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a7e381af0ba9565d55d2bc6b58d0c55bc" > ◆ < / a > < / span > DecrementThreadSuspendCounts()< / h2 >
2016-11-07 15:21:37 -05:00
2016-06-23 11:18:01 -04:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void crashpad::ProcessReaderWin::DecrementThreadSuspendCounts < / td >
< td > (< / td >
< td class = "paramtype" > uint64_t  < / td >
< td class = "paramname" > < em > except_thread_id< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Decrements the thread suspend counts for all thread ids other than < em > except_thread_id< / em > . < / p >
< p > Used to adjust the thread suspend count to correspond to the actual values for the process before Crashpad got involved. < / p >
2015-10-08 14:55:01 -04:00
< / div >
< / div >
2016-11-07 15:21:37 -05:00
< a id = "af3830be2b7bc38bd37e3b211297ff42a" > < / a >
2017-02-22 23:37:31 -05:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#af3830be2b7bc38bd37e3b211297ff42a" > ◆ < / a > < / span > GetProcessInfo()< / h2 >
2016-11-07 15:21:37 -05:00
2015-10-08 14:55:01 -04:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > const < a class = "el" href = "classcrashpad_1_1ProcessInfo.html" > ProcessInfo< / a > & crashpad::ProcessReaderWin::GetProcessInfo < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > const< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "section return" > < dt > Returns< / dt > < dd > A < a class = "el" href = "classcrashpad_1_1ProcessInfo.html" title = "Gathers information about a process given its HANDLE. This consists primarily of information stored i..." > ProcessInfo< / a > object for the process being read. < / dd > < / dl >
< / div >
< / div >
2016-11-07 15:21:37 -05:00
< a id = "a21cb39ea246076f3458f08ab22b03ed3" > < / a >
2017-02-22 23:37:31 -05:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a21cb39ea246076f3458f08ab22b03ed3" > ◆ < / a > < / span > Initialize()< / h2 >
2016-11-07 15:21:37 -05:00
2015-10-08 14:55:01 -04:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool crashpad::ProcessReaderWin::Initialize < / td >
< td > (< / td >
< td class = "paramtype" > HANDLE  < / td >
< td class = "paramname" > < em > process< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "namespacecrashpad.html#ab96bb7edb42a2e1ce28eda205a18a17a" > ProcessSuspensionState< / a >   < / td >
< td class = "paramname" > < em > suspension_state< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Initializes this object. This method must be called before any other. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > process< / td > < td > Process handle, must have < code > PROCESS_QUERY_INFORMATION< / code > , < code > PROCESS_VM_READ< / code > , and < code > PROCESS_DUP_HANDLE< / code > access. < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > suspension_state< / td > < td > Whether < em > process< / em > has already been suspended by the caller. Typically, this will be < a class = "el" href = "namespacecrashpad.html#ab96bb7edb42a2e1ce28eda205a18a17aa6e09d95243f1f7bec7d0061e5831dc82" title = "The process is suspended. " > ProcessSuspensionState::kSuspended< / a > , except for testing uses and where the reader is reading itself.< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > < code > true< / code > on success, indicating that this object will respond validly to further method calls. < code > false< / code > on failure. On failure, no further method calls should be made.< / dd > < / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "classcrashpad_1_1ScopedProcessSuspend.html" title = "Manages the suspension of another process. " > ScopedProcessSuspend< / a > < / dd > < / dl >
< / div >
< / div >
2016-11-07 15:21:37 -05:00
< a id = "aa1b7b00a5f9b4040c6736e5b04c6a747" > < / a >
2017-02-22 23:37:31 -05:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aa1b7b00a5f9b4040c6736e5b04c6a747" > ◆ < / a > < / span > Is64Bit()< / h2 >
2016-11-07 15:21:37 -05:00
2015-10-08 14:55:01 -04:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > bool crashpad::ProcessReaderWin::Is64Bit < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > const< / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "section return" > < dt > Returns< / dt > < dd > < code > true< / code > if the target task is a 64-bit process. < / dd > < / dl >
< / div >
< / div >
2016-11-07 15:21:37 -05:00
< a id = "ac6bca8a188dd098c864d497fef269cf5" > < / a >
2017-02-22 23:37:31 -05:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ac6bca8a188dd098c864d497fef269cf5" > ◆ < / a > < / span > Modules()< / h2 >
2016-11-07 15:21:37 -05:00
2015-10-08 14:55:01 -04:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > const std::vector< < a class = "el" href = "structcrashpad_1_1ProcessInfo_1_1Module.html" > ProcessInfo::Module< / a > > & crashpad::ProcessReaderWin::Modules < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "section return" > < dt > Returns< / dt > < dd > The modules loaded in the process. The first element (at index < code > 0< / code > ) corresponds to the main executable. < / dd > < / dl >
< / div >
< / div >
2016-11-07 15:21:37 -05:00
< a id = "a9a57de463ff788497e10d04bc20c5b3d" > < / a >
2017-02-22 23:37:31 -05:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a9a57de463ff788497e10d04bc20c5b3d" > ◆ < / a > < / span > ReadAvailableMemory()< / h2 >
2016-11-07 15:21:37 -05:00
2015-10-08 14:55:01 -04:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "namespacecrashpad.html#a1bac9f2a189b24737e743d6690362239" > WinVMSize< / a > crashpad::ProcessReaderWin::ReadAvailableMemory < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "namespacecrashpad.html#a368af6d88f68998b5c5eb80b8f6ebb76" > WinVMAddress< / a >   < / td >
< td class = "paramname" > < em > at< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "namespacecrashpad.html#a1bac9f2a189b24737e743d6690362239" > WinVMSize< / a >   < / td >
< td class = "paramname" > < em > num_bytes< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > void *  < / td >
< td class = "paramname" > < em > into< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > const< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Attempts to read < em > num_bytes< / em > bytes from the target process starting at address < em > at< / em > into < em > into< / em > . If some of the specified range is not accessible, reads up to the first inaccessible byte. < / p >
< dl class = "section return" > < dt > Returns< / dt > < dd > The actual number of bytes read.< / dd > < / dl >
2016-11-07 15:21:37 -05:00
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "classcrashpad_1_1ProcessReaderWin.html#a04ba8e19eb0209d546d213705e07c34b" title = "Attempts to read num_bytes bytes from the target process starting at address at into into..." > ReadMemory< / a > < / dd > < / dl >
2015-10-08 14:55:01 -04:00
< / div >
< / div >
2016-11-07 15:21:37 -05:00
< a id = "a04ba8e19eb0209d546d213705e07c34b" > < / a >
2017-02-22 23:37:31 -05:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a04ba8e19eb0209d546d213705e07c34b" > ◆ < / a > < / span > ReadMemory()< / h2 >
2016-11-07 15:21:37 -05:00
2015-10-08 14:55:01 -04:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool crashpad::ProcessReaderWin::ReadMemory < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "namespacecrashpad.html#a368af6d88f68998b5c5eb80b8f6ebb76" > WinVMAddress< / a >   < / td >
< td class = "paramname" > < em > at< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "namespacecrashpad.html#a1bac9f2a189b24737e743d6690362239" > WinVMSize< / a >   < / td >
< td class = "paramname" > < em > num_bytes< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > void *  < / td >
< td class = "paramname" > < em > into< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > const< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Attempts to read < em > num_bytes< / em > bytes from the target process starting at address < em > at< / em > into < em > into< / em > . < / p >
< dl class = "section return" > < dt > Returns< / dt > < dd > < code > true< / code > if the entire region could be read, or < code > false< / code > with an error logged.< / dd > < / dl >
2016-11-07 15:21:37 -05:00
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "classcrashpad_1_1ProcessReaderWin.html#a9a57de463ff788497e10d04bc20c5b3d" title = "Attempts to read num_bytes bytes from the target process starting at address at into into..." > ReadAvailableMemory< / a > < / dd > < / dl >
2015-10-08 14:55:01 -04:00
< / div >
< / div >
2016-11-07 15:21:37 -05:00
< a id = "ac195b620d6522e48683eaaa203537f6f" > < / a >
2017-02-22 23:37:31 -05:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ac195b620d6522e48683eaaa203537f6f" > ◆ < / a > < / span > StartTime()< / h2 >
2016-11-07 15:21:37 -05:00
2015-10-08 14:55:01 -04:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool crashpad::ProcessReaderWin::StartTime < / td >
< td > (< / td >
2016-11-08 14:26:59 -05:00
< td class = "paramtype" > timeval *  < / td >
2015-10-08 14:55:01 -04:00
< td class = "paramname" > < em > start_time< / em > < / td > < td > )< / td >
< td > const< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Determines the target process' start time. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramdir" > [out]< / td > < td class = "paramname" > start_time< / td > < td > The time that the process started.< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > < code > true< / code > on success, < code > false< / code > on failure, with a warning logged. < / dd > < / dl >
< / div >
< / div >
2016-11-07 15:21:37 -05:00
< a id = "a4e8c6dbc415404658201bd4a7e3536d7" > < / a >
2017-02-22 23:37:31 -05:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a4e8c6dbc415404658201bd4a7e3536d7" > ◆ < / a > < / span > Threads()< / h2 >
2016-11-07 15:21:37 -05:00
2015-10-08 14:55:01 -04:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > const std::vector< < a class = "el" href = "structcrashpad_1_1ProcessReaderWin_1_1Thread.html" > ProcessReaderWin::Thread< / a > > & crashpad::ProcessReaderWin::Threads < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "section return" > < dt > Returns< / dt > < dd > The threads that are in the process. The first element (at index < code > 0< / code > ) corresponds to the main thread. < / dd > < / dl >
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
< li > snapshot/win/process_reader_win.h< / li >
< li > snapshot/win/process_reader_win.cc< / li >
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
Generated by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
2017-02-22 23:37:31 -05:00
< / a > 1.8.13
2015-10-08 14:55:01 -04:00
< / small > < / address >
< / body >
< / html >