2017-06-20 10:44:54 -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" / >
< meta name = "generator" content = "Doxygen 1.8.13" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > Crashpad: crashpad::AuxiliaryVector 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" / >
< link href = "crashpad_doxygen.css" rel = "stylesheet" type = "text/css" / >
< / 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;" >
< td id = "projectalign" style = "padding-left: 0.5em;" >
< div id = "projectname" > Crashpad
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
< 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 >
<!-- 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_1AuxiliaryVector.html" > AuxiliaryVector< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "#pro-attribs" > Protected Attributes< / a > |
< a href = "classcrashpad_1_1AuxiliaryVector-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > crashpad::AuxiliaryVector Class Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > Read the auxiliary vector for a target process.
< a href = "classcrashpad_1_1AuxiliaryVector.html#details" > More...< / a > < / p >
< p > < code > #include " util/linux/auxiliary_vector.h" < / code > < / p >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
2018-07-20 16:32:28 -04:00
< tr class = "memitem:a7b786512796fbecee76b69aebf68918d" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1AuxiliaryVector.html#a7b786512796fbecee76b69aebf68918d" > Initialize< / a > (< a class = "el" href = "classcrashpad_1_1PtraceConnection.html" > PtraceConnection< / a > *connection)< / td > < / tr >
< tr class = "memdesc:a7b786512796fbecee76b69aebf68918d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Initializes this object with the auxiliary vector for the process connected via < em > connection< / em > . < a href = "#a7b786512796fbecee76b69aebf68918d" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a7b786512796fbecee76b69aebf68918d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-06-20 10:44:54 -04:00
< tr class = "memitem:ae00dc7ebf414b994a4a9330ddc2a6e56" > < td class = "memTemplParams" colspan = "2" > template< typename V > < / td > < / tr >
< tr class = "memitem:ae00dc7ebf414b994a4a9330ddc2a6e56" > < td class = "memTemplItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1AuxiliaryVector.html#ae00dc7ebf414b994a4a9330ddc2a6e56" > GetValue< / a > (uint64_t type, V *value) const< / td > < / tr >
< tr class = "memdesc:ae00dc7ebf414b994a4a9330ddc2a6e56" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Retrieve a value from the vector. < a href = "#ae00dc7ebf414b994a4a9330ddc2a6e56" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ae00dc7ebf414b994a4a9330ddc2a6e56" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pro-attribs" > < / a >
Protected Attributes< / h2 > < / td > < / tr >
< tr class = "memitem:a43c73ed8dcc5f870cfa8a40201607814" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a43c73ed8dcc5f870cfa8a40201607814" > < / a >
std::map< uint64_t, uint64_t >   < / td > < td class = "memItemRight" valign = "bottom" > < b > values_< / b > < / td > < / tr >
< tr class = "separator:a43c73ed8dcc5f870cfa8a40201607814" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > Read the auxiliary vector for a target process. < / p >
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
< a id = "ae00dc7ebf414b994a4a9330ddc2a6e56" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ae00dc7ebf414b994a4a9330ddc2a6e56" > ◆ < / a > < / span > GetValue()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< typename V > < / div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > bool crashpad::AuxiliaryVector::GetValue < / td >
< td > (< / td >
< td class = "paramtype" > uint64_t  < / td >
< td class = "paramname" > < em > type< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > V *  < / td >
< td class = "paramname" > < em > value< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / 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" >
< p > Retrieve a value from the vector. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > type< / td > < td > Specifies which value should be retrieved. The possible values for this parameter are defined by < code > < linux/auxvec.h> < / code > . < / td > < / tr >
< tr > < td class = "paramdir" > [out]< / td > < td class = "paramname" > value< / td > < td > The value, casted to an appropriate type, if found. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > < code > true< / code > if the value is found. < / dd > < / dl >
< / div >
< / div >
2018-07-20 16:32:28 -04:00
< a id = "a7b786512796fbecee76b69aebf68918d" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a7b786512796fbecee76b69aebf68918d" > ◆ < / a > < / span > Initialize()< / h2 >
2017-06-20 10:44:54 -04:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool crashpad::AuxiliaryVector::Initialize < / td >
< td > (< / td >
2018-07-20 16:32:28 -04:00
< td class = "paramtype" > < a class = "el" href = "classcrashpad_1_1PtraceConnection.html" > PtraceConnection< / a > *  < / td >
< td class = "paramname" > < em > connection< / em > < / td > < td > )< / td >
2017-06-20 10:44:54 -04:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2018-07-20 16:32:28 -04:00
< p > Initializes this object with the auxiliary vector for the process connected via < em > connection< / em > . < / p >
2017-06-20 10:44:54 -04:00
< p > This method must be called successfully prior to calling any other method in this class.< / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2018-07-20 16:32:28 -04:00
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > connection< / td > < td > A connection to the target process.< / td > < / tr >
2017-06-20 10:44:54 -04:00
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > < code > true< / code > on success, < code > false< / code > on failure with a message logged. < / dd > < / dl >
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
< li > util/linux/auxiliary_vector.h< / li >
< li > util/linux/auxiliary_vector.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" / >
< / a > 1.8.13
< / small > < / address >
< / body >
< / html >