mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-21 19:23:46 +00:00
492 lines
32 KiB
HTML
492 lines
32 KiB
HTML
|
<!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.9.1"/>
|
|||
|
<title>Crashpad: crashpad::internal::ModuleSnapshotWin 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>
|
|||
|
<script type="text/javascript">
|
|||
|
$(document).ready(function() { init_search(); });
|
|||
|
</script>
|
|||
|
<link href="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 style="padding-left: 0.5em;">
|
|||
|
<div id="projectname">Crashpad
|
|||
|
</div>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<!-- end header part -->
|
|||
|
<!-- Generated by Doxygen 1.8.9.1 -->
|
|||
|
<script type="text/javascript">
|
|||
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
|
</script>
|
|||
|
<div id="navrow1" class="tabs">
|
|||
|
<ul class="tablist">
|
|||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|||
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|||
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|||
|
<li><a href="files.html"><span>Files</span></a></li>
|
|||
|
<li>
|
|||
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|||
|
<span class="left">
|
|||
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|||
|
alt=""/>
|
|||
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|||
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|||
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|||
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|||
|
</span><span class="right">
|
|||
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|||
|
</span>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
<div id="navrow2" class="tabs2">
|
|||
|
<ul class="tablist">
|
|||
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|||
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
|||
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|||
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|||
|
</ul>
|
|||
|
</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="namespacecrashpad_1_1internal.html">internal</a></li><li class="navelem"><a class="el" href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html">ModuleSnapshotWin</a></li> </ul>
|
|||
|
</div>
|
|||
|
</div><!-- top -->
|
|||
|
<div class="header">
|
|||
|
<div class="summary">
|
|||
|
<a href="#pub-methods">Public Member Functions</a> |
|
|||
|
<a href="classcrashpad_1_1internal_1_1ModuleSnapshotWin-members.html">List of all members</a> </div>
|
|||
|
<div class="headertitle">
|
|||
|
<div class="title">crashpad::internal::ModuleSnapshotWin Class Reference<span class="mlabels"><span class="mlabel">final</span></span></div> </div>
|
|||
|
</div><!--header-->
|
|||
|
<div class="contents">
|
|||
|
|
|||
|
<p>A <a class="el" href="classcrashpad_1_1ModuleSnapshot.html" title="An abstract interface to a snapshot representing a code module (binary image) loaded into a snapshot ...">ModuleSnapshot</a> of a code module (binary image) loaded into a running (or crashed) process on a Windows system.
|
|||
|
<a href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#details">More...</a></p>
|
|||
|
|
|||
|
<p><code>#include "snapshot/win/module_snapshot_win.h"</code></p>
|
|||
|
<div class="dynheader">
|
|||
|
Inheritance diagram for crashpad::internal::ModuleSnapshotWin:</div>
|
|||
|
<div class="dyncontent">
|
|||
|
<div class="center">
|
|||
|
<img src="classcrashpad_1_1internal_1_1ModuleSnapshotWin.png" usemap="#crashpad::internal::ModuleSnapshotWin_map" alt=""/>
|
|||
|
<map id="crashpad::internal::ModuleSnapshotWin_map" name="crashpad::internal::ModuleSnapshotWin_map">
|
|||
|
<area href="classcrashpad_1_1ModuleSnapshot.html" title="An abstract interface to a snapshot representing a code module (binary image) loaded into a snapshot ..." alt="crashpad::ModuleSnapshot" shape="rect" coords="0,0,353,24"/>
|
|||
|
<area href="classcrashpad_1_1PointerContainer.html" alt="crashpad::PointerContainer< internal::ModuleSnapshotWin >" shape="rect" coords="0,112,353,136"/>
|
|||
|
</map>
|
|||
|
</div></div>
|
|||
|
<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:ae55965b09bcb1e527daa61565df8c1f4"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#ae55965b09bcb1e527daa61565df8c1f4">Initialize</a> (<a class="el" href="classcrashpad_1_1ProcessReaderWin.html">ProcessReaderWin</a> *process_reader, const <a class="el" href="structcrashpad_1_1ProcessInfo_1_1Module.html">ProcessInfo::Module</a> &process_reader_module)</td></tr>
|
|||
|
<tr class="memdesc:ae55965b09bcb1e527daa61565df8c1f4"><td class="mdescLeft"> </td><td class="mdescRight">Initializes the object. <a href="#ae55965b09bcb1e527daa61565df8c1f4">More...</a><br /></td></tr>
|
|||
|
<tr class="separator:ae55965b09bcb1e527daa61565df8c1f4"><td class="memSeparator" colspan="2"> </td></tr>
|
|||
|
<tr class="memitem:a6b30e66dbd5646a0183daa0cb2865249"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#a6b30e66dbd5646a0183daa0cb2865249">GetCrashpadOptions</a> (<a class="el" href="structcrashpad_1_1CrashpadInfoClientOptions.html">CrashpadInfoClientOptions</a> *options)</td></tr>
|
|||
|
<tr class="memdesc:a6b30e66dbd5646a0183daa0cb2865249"><td class="mdescLeft"> </td><td class="mdescRight">Returns options from the module's <a class="el" href="structcrashpad_1_1CrashpadInfo.html" title="A structure that can be used by a Crashpad-enabled program to provide information to the Crashpad cra...">CrashpadInfo</a> structure. <a href="#a6b30e66dbd5646a0183daa0cb2865249">More...</a><br /></td></tr>
|
|||
|
<tr class="separator:a6b30e66dbd5646a0183daa0cb2865249"><td class="memSeparator" colspan="2"> </td></tr>
|
|||
|
<tr class="memitem:a92ff377db1bc97d6a8bd789c3a0763de"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a92ff377db1bc97d6a8bd789c3a0763de"></a>
|
|||
|
const <a class="el" href="classcrashpad_1_1PEImageReader.html">PEImageReader</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#a92ff377db1bc97d6a8bd789c3a0763de">pe_image_reader</a> () const </td></tr>
|
|||
|
<tr class="memdesc:a92ff377db1bc97d6a8bd789c3a0763de"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classcrashpad_1_1PEImageReader.html" title="A reader for PE images mapped into another process. ">PEImageReader</a> used to read this module. Only valid after <a class="el" href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#ae55965b09bcb1e527daa61565df8c1f4" title="Initializes the object. ">Initialize()</a> is called. <br /></td></tr>
|
|||
|
<tr class="separator:a92ff377db1bc97d6a8bd789c3a0763de"><td class="memSeparator" colspan="2"> </td></tr>
|
|||
|
<tr class="memitem:a101eb8b9086642a9b49d47bee0e63f32"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a101eb8b9086642a9b49d47bee0e63f32"></a>
|
|||
|
std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#a101eb8b9086642a9b49d47bee0e63f32">Name</a> () const override</td></tr>
|
|||
|
<tr class="memdesc:a101eb8b9086642a9b49d47bee0e63f32"><td class="mdescLeft"> </td><td class="mdescRight">Returns the module’s pathname. <br /></td></tr>
|
|||
|
<tr class="separator:a101eb8b9086642a9b49d47bee0e63f32"><td class="memSeparator" colspan="2"> </td></tr>
|
|||
|
<tr class="memitem:a05a4b485a2633809f976b7f2b5560cd0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a05a4b485a2633809f976b7f2b5560cd0"></a>
|
|||
|
uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#a05a4b485a2633809f976b7f2b5560cd0">Address</a> () const override</td></tr>
|
|||
|
<tr class="memdesc:a05a4b485a2633809f976b7f2b5560cd0"><td class="mdescLeft"> </td><td class="mdescRight">Returns the base address that the module is loaded at in the snapshot process. <br /></td></tr>
|
|||
|
<tr class="separator:a05a4b485a2633809f976b7f2b5560cd0"><td class="memSeparator" colspan="2"> </td></tr>
|
|||
|
<tr class="memitem:af3935e2bc946adce23c3fb95cc8456d9"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#af3935e2bc946adce23c3fb95cc8456d9">Size</a> () const override</td></tr>
|
|||
|
<tr class="memdesc:af3935e2bc946adce23c3fb95cc8456d9"><td class="mdescLeft"> </td><td class="mdescRight">Returns the size that the module occupies in the snapshot process’ address space, starting at its base address. <a href="#af3935e2bc946adce23c3fb95cc8456d9">More...</a><br /></td></tr>
|
|||
|
<tr class="separator:af3935e2bc946adce23c3fb95cc8456d9"><td class="memSeparator" colspan="2"> </td></tr>
|
|||
|
<tr class="memitem:a713af5d32c8dbe656520fe780b1d2fdc"><td class="memItemLeft" align="right" valign="top">time_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#a713af5d32c8dbe656520fe780b1d2fdc">Timestamp</a> () const override</td></tr>
|
|||
|
<tr class="memdesc:a713af5d32c8dbe656520fe780b1d2fdc"><td class="mdescLeft"> </td><td class="mdescRight">Returns the module’s timestamp, if known. <a href="#a713af5d32c8dbe656520fe780b1d2fdc">More...</a><br /></td></tr>
|
|||
|
<tr class="separator:a713af5d32c8dbe656520fe780b1d2fdc"><td class="memSeparator" colspan="2"> </td></tr>
|
|||
|
<tr class="memitem:a360ff8c4593575bec6cf5ad9d095fa3c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#a360ff8c4593575bec6cf5ad9d095fa3c">FileVersion</a> (uint16_t *version_0, uint16_t *version_1, uint16_t *version_2, uint16_t *version_3) const override</td></tr>
|
|||
|
<tr class="memdesc:a360ff8c4593575bec6cf5ad9d095fa3c"><td class="mdescLeft"> </td><td class="mdescRight">Returns the module’s file version in the <em>version_*</em> parameters. <a href="#a360ff8c4593575bec6cf5ad9d095fa3c">More...</a><br /></td></tr>
|
|||
|
<tr class="separator:a360ff8c4593575bec6cf5ad9d095fa3c"><td class="memSeparator" colspan="2"> </td></tr>
|
|||
|
<tr class="memitem:a51fff655bd3faecb23127fd2f39777fc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#a51fff655bd3faecb23127fd2f39777fc">SourceVersion</a> (uint16_t *version_0, uint16_t *version_1, uint16_t *version_2, uint16_t *version_3) const override</td></tr>
|
|||
|
<tr class="memdesc:a51fff655bd3faecb23127fd2f39777fc"><td class="mdescLeft"> </td><td class="mdescRight">Returns the module’s source version in the <em>version_*</em> parameters. <a href="#a51fff655bd3faecb23127fd2f39777fc">More...</a><br /></td></tr>
|
|||
|
<tr class="separator:a51fff655bd3faecb23127fd2f39777fc"><td class="memSeparator" colspan="2"> </td></tr>
|
|||
|
<tr class="memitem:a7ae6fbe01d2eb43f956c415ff318c658"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7ae6fbe01d2eb43f956c415ff318c658"></a>
|
|||
|
<a class="el" href="classcrashpad_1_1ModuleSnapshot.html#a7fd77f711ef04d87ece6e04d48d219f7">ModuleType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#a7ae6fbe01d2eb43f956c415ff318c658">GetModuleType</a> () const override</td></tr>
|
|||
|
<tr class="memdesc:a7ae6fbe01d2eb43f956c415ff318c658"><td class="mdescLeft"> </td><td class="mdescRight">Returns the module’s type. <br /></td></tr>
|
|||
|
<tr class="separator:a7ae6fbe01d2eb43f956c415ff318c658"><td class="memSeparator" colspan="2"> </td></tr>
|
|||
|
<tr class="memitem:a6dd6d469da8f26dee4c96aedf01d8557"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#a6dd6d469da8f26dee4c96aedf01d8557">UUID</a> (<a class="el" href="structcrashpad_1_1UUID.html">crashpad::UUID</a> *uuid) const override</td></tr>
|
|||
|
<tr class="memdesc:a6dd6d469da8f26dee4c96aedf01d8557"><td class="mdescLeft"> </td><td class="mdescRight">Returns the module’s <a class="el" href="structcrashpad_1_1UUID.html" title="A universally unique identifier (UUID). ">UUID</a> in the <em>uuid</em> parameter. <a href="#a6dd6d469da8f26dee4c96aedf01d8557">More...</a><br /></td></tr>
|
|||
|
<tr class="separator:a6dd6d469da8f26dee4c96aedf01d8557"><td class="memSeparator" colspan="2"> </td></tr>
|
|||
|
<tr class="memitem:a6fdf9a63074896bf2c12e6df89689411"><td class="memItemLeft" align="right" valign="top">std::vector< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#a6fdf9a63074896bf2c12e6df89689411">AnnotationsVector</a> () const override</td></tr>
|
|||
|
<tr class="memdesc:a6fdf9a63074896bf2c12e6df89689411"><td class="mdescLeft"> </td><td class="mdescRight">Returns string annotations recorded in the module. <a href="#a6fdf9a63074896bf2c12e6df89689411">More...</a><br /></td></tr>
|
|||
|
<tr class="separator:a6fdf9a63074896bf2c12e6df89689411"><td class="memSeparator" colspan="2"> </td></tr>
|
|||
|
<tr class="memitem:a4122d0649c3513608f070f234a6013b9"><td class="memItemLeft" align="right" valign="top">std::map< std::string, std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#a4122d0649c3513608f070f234a6013b9">AnnotationsSimpleMap</a> () const override</td></tr>
|
|||
|
<tr class="memdesc:a4122d0649c3513608f070f234a6013b9"><td class="mdescLeft"> </td><td class="mdescRight">Returns key-value string annotations recorded in the module. <a href="#a4122d0649c3513608f070f234a6013b9">More...</a><br /></td></tr>
|
|||
|
<tr class="separator:a4122d0649c3513608f070f234a6013b9"><td class="memSeparator" colspan="2"> </td></tr>
|
|||
|
</table><table class="memberdecls">
|
|||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
|||
|
Additional Inherited Members</h2></td></tr>
|
|||
|
<tr class="inherit_header pub_types_classcrashpad_1_1ModuleSnapshot"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classcrashpad_1_1ModuleSnapshot')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classcrashpad_1_1ModuleSnapshot.html">crashpad::ModuleSnapshot</a></td></tr>
|
|||
|
<tr class="memitem:a7fd77f711ef04d87ece6e04d48d219f7 inherit pub_types_classcrashpad_1_1ModuleSnapshot"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1ModuleSnapshot.html#a7fd77f711ef04d87ece6e04d48d219f7">ModuleType</a> </td></tr>
|
|||
|
<tr class="memdesc:a7fd77f711ef04d87ece6e04d48d219f7"><td class="mdescLeft"> </td><td class="mdescRight">A module’s type. <a href="classcrashpad_1_1ModuleSnapshot.html#a7fd77f711ef04d87ece6e04d48d219f7">More...</a><br /></td></tr>
|
|||
|
<tr class="separator:a7fd77f711ef04d87ece6e04d48d219f7 inherit pub_types_classcrashpad_1_1ModuleSnapshot"><td class="memSeparator" colspan="2"> </td></tr>
|
|||
|
</table>
|
|||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|||
|
<div class="textblock"><p>A <a class="el" href="classcrashpad_1_1ModuleSnapshot.html" title="An abstract interface to a snapshot representing a code module (binary image) loaded into a snapshot ...">ModuleSnapshot</a> of a code module (binary image) loaded into a running (or crashed) process on a Windows system. </p>
|
|||
|
</div><h2 class="groupheader">Member Function Documentation</h2>
|
|||
|
<a class="anchor" id="a4122d0649c3513608f070f234a6013b9"></a>
|
|||
|
<div class="memitem">
|
|||
|
<div class="memproto">
|
|||
|
<table class="mlabels">
|
|||
|
<tr>
|
|||
|
<td class="mlabels-left">
|
|||
|
<table class="memname">
|
|||
|
<tr>
|
|||
|
<td class="memname">std::map< std::string, std::string > crashpad::internal::ModuleSnapshotWin::AnnotationsSimpleMap </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">override</span><span class="mlabel">virtual</span></span> </td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div><div class="memdoc">
|
|||
|
|
|||
|
<p>Returns key-value string annotations recorded in the module. </p>
|
|||
|
<p>This method retrieves annotations recorded in a module. These annotations are intended for diagnostic use, including crash analysis. “Simple annotations” are structured as a sequence of key-value pairs, where all keys and values are strings. These are referred to in Chrome as “crash keys.”</p>
|
|||
|
<p>For Mac OS X snapshots, these annotations are found by interpreting the <code>__DATA, __crashpad_info</code> section as <code><a class="el" href="structcrashpad_1_1CrashpadInfo.html" title="A structure that can be used by a Crashpad-enabled program to provide information to the Crashpad cra...">CrashpadInfo</a></code>. Clients can use the Crashpad client interface to store annotations in this structure. Most annotations under the client’s direct control will be retrievable by this method. For clients such as Chrome, this includes the process type.</p>
|
|||
|
<p>The annotations returned by this method do not duplicate those returned by <a class="el" href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#a6fdf9a63074896bf2c12e6df89689411" title="Returns string annotations recorded in the module. ">AnnotationsVector()</a>. Additional annotations related to the process, system, or snapshot producer may be obtained by calling <a class="el" href="classcrashpad_1_1ProcessSnapshot.html#a7f39b29ec055fb4235e5156d55e066cb" title="Returns key-value string annotations recorded for the process, system, or snapshot producer...">ProcessSnapshot::AnnotationsSimpleMap()</a>. </p>
|
|||
|
|
|||
|
<p>Implements <a class="el" href="classcrashpad_1_1ModuleSnapshot.html#a4d1328fda3e91a4c25369b5fcc4cf2f6">crashpad::ModuleSnapshot</a>.</p>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<a class="anchor" id="a6fdf9a63074896bf2c12e6df89689411"></a>
|
|||
|
<div class="memitem">
|
|||
|
<div class="memproto">
|
|||
|
<table class="mlabels">
|
|||
|
<tr>
|
|||
|
<td class="mlabels-left">
|
|||
|
<table class="memname">
|
|||
|
<tr>
|
|||
|
<td class="memname">std::vector< std::string > crashpad::internal::ModuleSnapshotWin::AnnotationsVector </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">override</span><span class="mlabel">virtual</span></span> </td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div><div class="memdoc">
|
|||
|
|
|||
|
<p>Returns string annotations recorded in the module. </p>
|
|||
|
<p>This method retrieves annotations recorded in a module. These annotations are intended for diagnostic use, including crash analysis. A module may contain multiple annotations, so they are returned in a vector.</p>
|
|||
|
<p>For Mac OS X snapshots, these annotations are found by interpreting the module’s <code>__DATA, __crash_info</code> section as <code>crashreporter_annotations_t</code>. System libraries using the crash reporter client interface may reference annotations in this structure. Additional annotations messages may be found in other locations, which may be module-specific. The dynamic linker (<code>dyld</code>) can provide an annotation at its <code>_error_string</code> symbol.</p>
|
|||
|
<p>The annotations returned by this method do not duplicate those returned by <a class="el" href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#a4122d0649c3513608f070f234a6013b9" title="Returns key-value string annotations recorded in the module. ">AnnotationsSimpleMap()</a>. </p>
|
|||
|
|
|||
|
<p>Implements <a class="el" href="classcrashpad_1_1ModuleSnapshot.html#a11075b25729fda7cf96ed8c8b25061a2">crashpad::ModuleSnapshot</a>.</p>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<a class="anchor" id="a360ff8c4593575bec6cf5ad9d095fa3c"></a>
|
|||
|
<div class="memitem">
|
|||
|
<div class="memproto">
|
|||
|
<table class="mlabels">
|
|||
|
<tr>
|
|||
|
<td class="mlabels-left">
|
|||
|
<table class="memname">
|
|||
|
<tr>
|
|||
|
<td class="memname">void crashpad::internal::ModuleSnapshotWin::FileVersion </td>
|
|||
|
<td>(</td>
|
|||
|
<td class="paramtype">uint16_t * </td>
|
|||
|
<td class="paramname"><em>version_0</em>, </td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td class="paramkey"></td>
|
|||
|
<td></td>
|
|||
|
<td class="paramtype">uint16_t * </td>
|
|||
|
<td class="paramname"><em>version_1</em>, </td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td class="paramkey"></td>
|
|||
|
<td></td>
|
|||
|
<td class="paramtype">uint16_t * </td>
|
|||
|
<td class="paramname"><em>version_2</em>, </td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td class="paramkey"></td>
|
|||
|
<td></td>
|
|||
|
<td class="paramtype">uint16_t * </td>
|
|||
|
<td class="paramname"><em>version_3</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">override</span><span class="mlabel">virtual</span></span> </td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div><div class="memdoc">
|
|||
|
|
|||
|
<p>Returns the module’s file version in the <em>version_*</em> parameters. </p>
|
|||
|
<p>If no file version can be determined, the <em>version_*</em> parameters are set to <code>0</code>.</p>
|
|||
|
<p>For Mac OS X snapshots, this is taken from the module’s <code>LC_ID_DYLIB</code> load command for shared libraries, and is <code>0</code> for other module types. </p>
|
|||
|
|
|||
|
<p>Implements <a class="el" href="classcrashpad_1_1ModuleSnapshot.html#a6b3f4831720290e2ab5460ef21ff7443">crashpad::ModuleSnapshot</a>.</p>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<a class="anchor" id="a6b30e66dbd5646a0183daa0cb2865249"></a>
|
|||
|
<div class="memitem">
|
|||
|
<div class="memproto">
|
|||
|
<table class="memname">
|
|||
|
<tr>
|
|||
|
<td class="memname">void crashpad::internal::ModuleSnapshotWin::GetCrashpadOptions </td>
|
|||
|
<td>(</td>
|
|||
|
<td class="paramtype"><a class="el" href="structcrashpad_1_1CrashpadInfoClientOptions.html">CrashpadInfoClientOptions</a> * </td>
|
|||
|
<td class="paramname"><em>options</em></td><td>)</td>
|
|||
|
<td></td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div><div class="memdoc">
|
|||
|
|
|||
|
<p>Returns options from the module's <a class="el" href="structcrashpad_1_1CrashpadInfo.html" title="A structure that can be used by a Crashpad-enabled program to provide information to the Crashpad cra...">CrashpadInfo</a> structure. </p>
|
|||
|
<dl class="params"><dt>Parameters</dt><dd>
|
|||
|
<table class="params">
|
|||
|
<tr><td class="paramdir">[out]</td><td class="paramname">options</td><td>Options set in the module's <a class="el" href="structcrashpad_1_1CrashpadInfo.html" title="A structure that can be used by a Crashpad-enabled program to provide information to the Crashpad cra...">CrashpadInfo</a> structure. </td></tr>
|
|||
|
</table>
|
|||
|
</dd>
|
|||
|
</dl>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<a class="anchor" id="ae55965b09bcb1e527daa61565df8c1f4"></a>
|
|||
|
<div class="memitem">
|
|||
|
<div class="memproto">
|
|||
|
<table class="memname">
|
|||
|
<tr>
|
|||
|
<td class="memname">bool crashpad::internal::ModuleSnapshotWin::Initialize </td>
|
|||
|
<td>(</td>
|
|||
|
<td class="paramtype"><a class="el" href="classcrashpad_1_1ProcessReaderWin.html">ProcessReaderWin</a> * </td>
|
|||
|
<td class="paramname"><em>process_reader</em>, </td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td class="paramkey"></td>
|
|||
|
<td></td>
|
|||
|
<td class="paramtype">const <a class="el" href="structcrashpad_1_1ProcessInfo_1_1Module.html">ProcessInfo::Module</a> & </td>
|
|||
|
<td class="paramname"><em>process_reader_module</em> </td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td></td>
|
|||
|
<td>)</td>
|
|||
|
<td></td><td></td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div><div class="memdoc">
|
|||
|
|
|||
|
<p>Initializes the object. </p>
|
|||
|
<dl class="params"><dt>Parameters</dt><dd>
|
|||
|
<table class="params">
|
|||
|
<tr><td class="paramdir">[in]</td><td class="paramname">process_reader</td><td>A <a class="el" href="classcrashpad_1_1ProcessReader.html" title="Accesses information about another process, identified by a Mach task. ">ProcessReader</a> for the task containing the module. </td></tr>
|
|||
|
<tr><td class="paramdir">[in]</td><td class="paramname">process_reader_module</td><td>The module within the <a class="el" href="classcrashpad_1_1ProcessReader.html" title="Accesses information about another process, identified by a Mach task. ">ProcessReader</a> for which the snapshot should be created.</td></tr>
|
|||
|
</table>
|
|||
|
</dd>
|
|||
|
</dl>
|
|||
|
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the snapshot could be created, <code>false</code> otherwise with an appropriate message logged. </dd></dl>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<a class="anchor" id="af3935e2bc946adce23c3fb95cc8456d9"></a>
|
|||
|
<div class="memitem">
|
|||
|
<div class="memproto">
|
|||
|
<table class="mlabels">
|
|||
|
<tr>
|
|||
|
<td class="mlabels-left">
|
|||
|
<table class="memname">
|
|||
|
<tr>
|
|||
|
<td class="memname">uint64_t crashpad::internal::ModuleSnapshotWin::Size </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">override</span><span class="mlabel">virtual</span></span> </td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div><div class="memdoc">
|
|||
|
|
|||
|
<p>Returns the size that the module occupies in the snapshot process’ address space, starting at its base address. </p>
|
|||
|
<p>For Mac OS X snapshots, this method only reports the size of the <code>__TEXT</code> segment, because segments may not be loaded contiguously. </p>
|
|||
|
|
|||
|
<p>Implements <a class="el" href="classcrashpad_1_1ModuleSnapshot.html#ac412fbdc86c4b0862f74f7b06170469a">crashpad::ModuleSnapshot</a>.</p>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<a class="anchor" id="a51fff655bd3faecb23127fd2f39777fc"></a>
|
|||
|
<div class="memitem">
|
|||
|
<div class="memproto">
|
|||
|
<table class="mlabels">
|
|||
|
<tr>
|
|||
|
<td class="mlabels-left">
|
|||
|
<table class="memname">
|
|||
|
<tr>
|
|||
|
<td class="memname">void crashpad::internal::ModuleSnapshotWin::SourceVersion </td>
|
|||
|
<td>(</td>
|
|||
|
<td class="paramtype">uint16_t * </td>
|
|||
|
<td class="paramname"><em>version_0</em>, </td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td class="paramkey"></td>
|
|||
|
<td></td>
|
|||
|
<td class="paramtype">uint16_t * </td>
|
|||
|
<td class="paramname"><em>version_1</em>, </td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td class="paramkey"></td>
|
|||
|
<td></td>
|
|||
|
<td class="paramtype">uint16_t * </td>
|
|||
|
<td class="paramname"><em>version_2</em>, </td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td class="paramkey"></td>
|
|||
|
<td></td>
|
|||
|
<td class="paramtype">uint16_t * </td>
|
|||
|
<td class="paramname"><em>version_3</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">override</span><span class="mlabel">virtual</span></span> </td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div><div class="memdoc">
|
|||
|
|
|||
|
<p>Returns the module’s source version in the <em>version_*</em> parameters. </p>
|
|||
|
<p>If no source version can be determined, the <em>version_*</em> parameters are set to <code>0</code>.</p>
|
|||
|
<p>For Mac OS X snapshots, this is taken from the module’s <code>LC_SOURCE_VERSION</code> load command. </p>
|
|||
|
|
|||
|
<p>Implements <a class="el" href="classcrashpad_1_1ModuleSnapshot.html#a5ec8c62e1ff32421b01bf2677ad66761">crashpad::ModuleSnapshot</a>.</p>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<a class="anchor" id="a713af5d32c8dbe656520fe780b1d2fdc"></a>
|
|||
|
<div class="memitem">
|
|||
|
<div class="memproto">
|
|||
|
<table class="mlabels">
|
|||
|
<tr>
|
|||
|
<td class="mlabels-left">
|
|||
|
<table class="memname">
|
|||
|
<tr>
|
|||
|
<td class="memname">time_t crashpad::internal::ModuleSnapshotWin::Timestamp </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">override</span><span class="mlabel">virtual</span></span> </td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div><div class="memdoc">
|
|||
|
|
|||
|
<p>Returns the module’s timestamp, if known. </p>
|
|||
|
<p>The timestamp is typically the modification time of the file that provided the module in <code>time_t</code> format, seconds since the POSIX epoch. If the module’s timestamp is unknown, this method returns <code>0</code>. </p>
|
|||
|
|
|||
|
<p>Implements <a class="el" href="classcrashpad_1_1ModuleSnapshot.html#a061dbd6816d0524396af0063e6976adb">crashpad::ModuleSnapshot</a>.</p>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<a class="anchor" id="a6dd6d469da8f26dee4c96aedf01d8557"></a>
|
|||
|
<div class="memitem">
|
|||
|
<div class="memproto">
|
|||
|
<table class="mlabels">
|
|||
|
<tr>
|
|||
|
<td class="mlabels-left">
|
|||
|
<table class="memname">
|
|||
|
<tr>
|
|||
|
<td class="memname">void crashpad::internal::ModuleSnapshotWin::UUID </td>
|
|||
|
<td>(</td>
|
|||
|
<td class="paramtype"><a class="el" href="structcrashpad_1_1UUID.html">crashpad::UUID</a> * </td>
|
|||
|
<td class="paramname"><em>uuid</em></td><td>)</td>
|
|||
|
<td> const</td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</td>
|
|||
|
<td class="mlabels-right">
|
|||
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div><div class="memdoc">
|
|||
|
|
|||
|
<p>Returns the module’s <a class="el" href="structcrashpad_1_1UUID.html" title="A universally unique identifier (UUID). ">UUID</a> in the <em>uuid</em> parameter. </p>
|
|||
|
<p>A snapshot module’s <a class="el" href="structcrashpad_1_1UUID.html" title="A universally unique identifier (UUID). ">UUID</a> is taken directly from the module itself. If the module does not have a <a class="el" href="structcrashpad_1_1UUID.html" title="A universally unique identifier (UUID). ">UUID</a>, the <em>uuid</em> parameter will be zeroed out. </p>
|
|||
|
|
|||
|
<p>Implements <a class="el" href="classcrashpad_1_1ModuleSnapshot.html#abe496c52eb77c0dced87a644331ea9b1">crashpad::ModuleSnapshot</a>.</p>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|||
|
<li>snapshot/win/module_snapshot_win.h</li>
|
|||
|
<li>snapshot/win/module_snapshot_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"/>
|
|||
|
</a> 1.8.9.1
|
|||
|
</small></address>
|
|||
|
</body>
|
|||
|
</html>
|