2017-07-29 17:13:40 -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::ElfDynamicArrayReader 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_1ElfDynamicArrayReader.html" > ElfDynamicArrayReader< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "classcrashpad_1_1ElfDynamicArrayReader-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > crashpad::ElfDynamicArrayReader Class Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > A reader for ELF dynamic arrays mapped into another process.
< a href = "classcrashpad_1_1ElfDynamicArrayReader.html#details" > More...< / a > < / p >
2017-11-01 13:33:45 -04:00
< p > < code > #include " snapshot/elf/elf_dynamic_array_reader.h" < / code > < / p >
2017-07-29 17:13:40 -04:00
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
2017-11-01 13:33:45 -04:00
< tr class = "memitem:aa99c82b224d2992f08f1ebac16bbfdd6" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1ElfDynamicArrayReader.html#aa99c82b224d2992f08f1ebac16bbfdd6" > Initialize< / a > (const < a class = "el" href = "classcrashpad_1_1ProcessMemoryRange.html" > ProcessMemoryRange< / a > & memory, < a class = "el" href = "namespacecrashpad.html#af2d003bfc8632755c60ab27bd6d1c8ae" > VMAddress< / a > address, < a class = "el" href = "namespacecrashpad.html#a103690edebf604dcd23d5c03b78fe0be" > VMSize< / a > size)< / td > < / tr >
< tr class = "memdesc:aa99c82b224d2992f08f1ebac16bbfdd6" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Initializes the reader. < a href = "#aa99c82b224d2992f08f1ebac16bbfdd6" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:aa99c82b224d2992f08f1ebac16bbfdd6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-07-20 16:32:28 -04:00
< tr class = "memitem:a786c5fc8c507272a5455690cb2b9ee78" > < td class = "memTemplParams" colspan = "2" > template< typename V > < / td > < / tr >
< tr class = "memitem:a786c5fc8c507272a5455690cb2b9ee78" > < td class = "memTemplItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1ElfDynamicArrayReader.html#a786c5fc8c507272a5455690cb2b9ee78" > GetValue< / a > (uint64_t tag, bool log, V *value)< / td > < / tr >
< tr class = "memdesc:a786c5fc8c507272a5455690cb2b9ee78" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Retrieve a value from the array. < a href = "#a786c5fc8c507272a5455690cb2b9ee78" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a786c5fc8c507272a5455690cb2b9ee78" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-07-29 17:13:40 -04:00
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > A reader for ELF dynamic arrays mapped into another process. < / p >
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
2018-07-20 16:32:28 -04:00
< a id = "a786c5fc8c507272a5455690cb2b9ee78" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a786c5fc8c507272a5455690cb2b9ee78" > ◆ < / a > < / span > GetValue()< / h2 >
2017-07-29 17:13:40 -04:00
< 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::ElfDynamicArrayReader::GetValue < / td >
< td > (< / td >
< td class = "paramtype" > uint64_t  < / td >
< td class = "paramname" > < em > tag< / em > , < / td >
< / tr >
2018-07-20 16:32:28 -04:00
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > bool  < / td >
< td class = "paramname" > < em > log< / em > , < / td >
< / tr >
2017-07-29 17:13:40 -04:00
< 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 > < / 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 array. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > tag< / td > < td > Specifies which value should be retrieved. The possible values for this parameter are the < code > DT_*< / code > values from < code > < elf.h> < / code > . < / td > < / tr >
2018-07-20 16:32:28 -04:00
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > log< / td > < td > Specifies whether an error should be logged if < em > tag< / em > is not found. < / td > < / tr >
2017-07-29 17:13:40 -04:00
< 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 >
2017-11-01 13:33:45 -04:00
< a id = "aa99c82b224d2992f08f1ebac16bbfdd6" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aa99c82b224d2992f08f1ebac16bbfdd6" > ◆ < / a > < / span > Initialize()< / h2 >
2017-07-29 17:13:40 -04:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool crashpad::ElfDynamicArrayReader::Initialize < / td >
< td > (< / td >
< td class = "paramtype" > const < a class = "el" href = "classcrashpad_1_1ProcessMemoryRange.html" > ProcessMemoryRange< / a > &   < / td >
< td class = "paramname" > < em > memory< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2017-11-01 13:33:45 -04:00
< td class = "paramtype" > < a class = "el" href = "namespacecrashpad.html#af2d003bfc8632755c60ab27bd6d1c8ae" > VMAddress< / a >   < / td >
2017-07-29 17:13:40 -04:00
< td class = "paramname" > < em > address< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2017-11-01 13:33:45 -04:00
< td class = "paramtype" > < a class = "el" href = "namespacecrashpad.html#a103690edebf604dcd23d5c03b78fe0be" > VMSize< / a >   < / td >
2017-07-29 17:13:40 -04:00
< td class = "paramname" > < em > size< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Initializes the reader. < / p >
< p > This method must be called once on an object and must be successfully called before any other method in this class may be called.< / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > memory< / td > < td > A memory reader for the remote process. < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > address< / td > < td > The address in the remote process' address space where the ELF dynamic table is loaded. < / td > < / tr >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > size< / td > < td > The maximum number of bytes to read. < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
2017-11-01 13:33:45 -04:00
< li > snapshot/elf/elf_dynamic_array_reader.h< / li >
< li > snapshot/elf/elf_dynamic_array_reader.cc< / li >
2017-07-29 17:13:40 -04:00
< / 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 >