blob: ae5fc135f50ad24e8dfdbe81173b4abc515f3622 [file] [log] [blame]
<!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.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Crashpad: MINIDUMP_MODULE Struct 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.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</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><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structMINIDUMP__MODULE-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">MINIDUMP_MODULE Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Information about a specific module loaded within the process at the time the snapshot was taken.
<a href="structMINIDUMP__MODULE.html#details">More...</a></p>
<p><code>#include &quot;dbghelp.h&quot;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:af4b4a246ebfa54e57e4c953fb0c3dd31"><td class="memItemLeft" align="right" valign="top"><a id="af4b4a246ebfa54e57e4c953fb0c3dd31"></a>
uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMINIDUMP__MODULE.html#af4b4a246ebfa54e57e4c953fb0c3dd31">BaseOfImage</a></td></tr>
<tr class="memdesc:af4b4a246ebfa54e57e4c953fb0c3dd31"><td class="mdescLeft">&#160;</td><td class="mdescRight">The base address of the loaded module in the address space of the process that the minidump file contains a snapshot of. <br /></td></tr>
<tr class="separator:af4b4a246ebfa54e57e4c953fb0c3dd31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a701a839b502151638e18d66cc83445ee"><td class="memItemLeft" align="right" valign="top"><a id="a701a839b502151638e18d66cc83445ee"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMINIDUMP__MODULE.html#a701a839b502151638e18d66cc83445ee">SizeOfImage</a></td></tr>
<tr class="memdesc:a701a839b502151638e18d66cc83445ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">The size of the loaded module. <br /></td></tr>
<tr class="separator:a701a839b502151638e18d66cc83445ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e034dc1c99bf014191f44c90ebe7bd4"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMINIDUMP__MODULE.html#a9e034dc1c99bf014191f44c90ebe7bd4">CheckSum</a></td></tr>
<tr class="memdesc:a9e034dc1c99bf014191f44c90ebe7bd4"><td class="mdescLeft">&#160;</td><td class="mdescRight">The loaded module’s checksum, or <code>0</code> if unknown. <a href="#a9e034dc1c99bf014191f44c90ebe7bd4">More...</a><br /></td></tr>
<tr class="separator:a9e034dc1c99bf014191f44c90ebe7bd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae03bd3bf01de8e08c9a6abf37a9dfbbb"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMINIDUMP__MODULE.html#ae03bd3bf01de8e08c9a6abf37a9dfbbb">TimeDateStamp</a></td></tr>
<tr class="memdesc:ae03bd3bf01de8e08c9a6abf37a9dfbbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">The module’s timestamp, in <code>time_t</code> units, seconds since the POSIX epoch, or <code>0</code> if unknown. <a href="#ae03bd3bf01de8e08c9a6abf37a9dfbbb">More...</a><br /></td></tr>
<tr class="separator:ae03bd3bf01de8e08c9a6abf37a9dfbbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8aa1ae48a9a32640573747cba5a00274"><td class="memItemLeft" align="right" valign="top"><a id="a8aa1ae48a9a32640573747cba5a00274"></a>
<a class="el" href="dbghelp_8h.html#acf465a1a77ecf067a9d946583bc6a3f8">RVA</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMINIDUMP__MODULE.html#a8aa1ae48a9a32640573747cba5a00274">ModuleNameRva</a></td></tr>
<tr class="memdesc:a8aa1ae48a9a32640573747cba5a00274"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="dbghelp_8h.html#acf465a1a77ecf067a9d946583bc6a3f8" title="An offset within a minidump file, relative to the start of its MINIDUMP_HEADER. ">RVA</a> of a <a class="el" href="structMINIDUMP__STRING.html" title="A variable-length UTF-16-encoded string carried within a minidump file. ">MINIDUMP_STRING</a> containing the module’s path or file name. <br /></td></tr>
<tr class="separator:a8aa1ae48a9a32640573747cba5a00274"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2babe58e6418124599ea2821f30bb84"><td class="memItemLeft" align="right" valign="top"><a id="ac2babe58e6418124599ea2821f30bb84"></a>
<a class="el" href="structVS__FIXEDFILEINFO.html">VS_FIXEDFILEINFO</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMINIDUMP__MODULE.html#ac2babe58e6418124599ea2821f30bb84">VersionInfo</a></td></tr>
<tr class="memdesc:ac2babe58e6418124599ea2821f30bb84"><td class="mdescLeft">&#160;</td><td class="mdescRight">The module’s version information. <br /></td></tr>
<tr class="separator:ac2babe58e6418124599ea2821f30bb84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd07e35faf066880eeabea8a91aa887a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structMINIDUMP__LOCATION__DESCRIPTOR.html">MINIDUMP_LOCATION_DESCRIPTOR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMINIDUMP__MODULE.html#acd07e35faf066880eeabea8a91aa887a">CvRecord</a></td></tr>
<tr class="memdesc:acd07e35faf066880eeabea8a91aa887a"><td class="mdescLeft">&#160;</td><td class="mdescRight">A pointer to the module’s CodeView record, typically a link to its debugging information in <a class="el" href="structcrashpad_1_1CodeViewRecordPDB70.html" title="A CodeView record linking to a .pdb 7.0 file. ">crashpad::CodeViewRecordPDB70</a> format. <a href="#acd07e35faf066880eeabea8a91aa887a">More...</a><br /></td></tr>
<tr class="separator:acd07e35faf066880eeabea8a91aa887a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a749bc0bb7492a1b9463631eec006b4d1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structMINIDUMP__LOCATION__DESCRIPTOR.html">MINIDUMP_LOCATION_DESCRIPTOR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMINIDUMP__MODULE.html#a749bc0bb7492a1b9463631eec006b4d1">MiscRecord</a></td></tr>
<tr class="memdesc:a749bc0bb7492a1b9463631eec006b4d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">A pointer to the module’s miscellaneous debugging record, a structure of type <a class="el" href="structIMAGE__DEBUG__MISC.html" title="Miscellaneous debugging record. ">IMAGE_DEBUG_MISC</a>. <a href="#a749bc0bb7492a1b9463631eec006b4d1">More...</a><br /></td></tr>
<tr class="separator:a749bc0bb7492a1b9463631eec006b4d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad47824cbf58719a1d9d6f49836c67fc2"><td class="memItemLeft" align="right" valign="top"><a id="ad47824cbf58719a1d9d6f49836c67fc2"></a>
uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>Reserved0</b></td></tr>
<tr class="separator:ad47824cbf58719a1d9d6f49836c67fc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa969c0c565b9052c73e90d4ad3eecd43"><td class="memItemLeft" align="right" valign="top"><a id="aa969c0c565b9052c73e90d4ad3eecd43"></a>
uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>Reserved1</b></td></tr>
<tr class="separator:aa969c0c565b9052c73e90d4ad3eecd43"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Information about a specific module loaded within the process at the time the snapshot was taken. </p>
<p>A module may be the main executable, a shared library, or a loadable module.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="structMINIDUMP__MODULE__LIST.html" title="Information about all modules loaded within the process at the time the snapshot was taken...">MINIDUMP_MODULE_LIST</a> </dd></dl>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="a9e034dc1c99bf014191f44c90ebe7bd4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e034dc1c99bf014191f44c90ebe7bd4">&#9670;&nbsp;</a></span>CheckSum</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t MINIDUMP_MODULE::CheckSum</td>
</tr>
</table>
</div><div class="memdoc">
<p>The loaded module’s checksum, or <code>0</code> if unknown. </p>
<p>On Windows, this field comes from the <code>CheckSum</code> field of the module’s <code>IMAGE_OPTIONAL_HEADER</code> structure, if present. It reflects the checksum at the time the module was linked. </p>
</div>
</div>
<a id="acd07e35faf066880eeabea8a91aa887a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd07e35faf066880eeabea8a91aa887a">&#9670;&nbsp;</a></span>CvRecord</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structMINIDUMP__LOCATION__DESCRIPTOR.html">MINIDUMP_LOCATION_DESCRIPTOR</a> MINIDUMP_MODULE::CvRecord</td>
</tr>
</table>
</div><div class="memdoc">
<p>A pointer to the module’s CodeView record, typically a link to its debugging information in <a class="el" href="structcrashpad_1_1CodeViewRecordPDB70.html" title="A CodeView record linking to a .pdb 7.0 file. ">crashpad::CodeViewRecordPDB70</a> format. </p>
<p>The specific format of the CodeView record is indicated by its signature, the first 32-bit value in the structure. For links to debugging information in contemporary usage, this is normally a <a class="el" href="structcrashpad_1_1CodeViewRecordPDB70.html" title="A CodeView record linking to a .pdb 7.0 file. ">crashpad::CodeViewRecordPDB70</a> structure, but may be a <a class="el" href="structcrashpad_1_1CodeViewRecordPDB20.html" title="A CodeView record linking to a .pdb 2.0 file. ">crashpad::CodeViewRecordPDB20</a> structure instead. These structures identify a link to debugging data within a <code>.pdb</code> (Program Database) file. See <a href="http://www.debuginfo.com/articles/debuginfomatch.html#pdbfiles">Matching Debug Information</a>, PDB Files.</p>
<p>On Windows, it is also possible for the CodeView record to contain debugging information itself, as opposed to a link to a <code>.pdb</code> file. See <a href="http://pierrelib.pagesperso-orange.fr/exec_formats/MS_Symbol_Type_v1.0.pdf#page=71">Microsoft Symbol and Type Information</a>, section 7.2, “Debug Information Format” for a list of debug information formats, and <em>Undocumented Windows 2000 Secrets</em>, Windows 2000 Debugging Support/Microsoft Symbol File Internals/CodeView Subsections for an in-depth description of the CodeView 4.1 format. Signatures seen in the wild include “NB09” (0x3930424e) for CodeView 4.1 and “NB11” (0x3131424e) for CodeView 5.0. This form of debugging information within the module, as opposed to a link to an external <code>.pdb</code> file, is chosen by building with <code>/Z7</code> in Visual Studio 6.0 (1998) and earlier. This embedded form of debugging information is now considered obsolete.</p>
<p>On Windows, the CodeView record is taken from a module’s IMAGE_DEBUG_DIRECTORY entry whose Type field has the value IMAGE_DEBUG_TYPE_CODEVIEW (<code>2</code>), if any. Records in <a class="el" href="structcrashpad_1_1CodeViewRecordPDB70.html" title="A CodeView record linking to a .pdb 7.0 file. ">crashpad::CodeViewRecordPDB70</a> format are generated by Visual Studio .NET (2002) (version 7.0) and later.</p>
<p>When the CodeView record is not present, the fields of this <a class="el" href="structMINIDUMP__LOCATION__DESCRIPTOR.html" title="A pointer to a structure or union within a minidump file. ">MINIDUMP_LOCATION_DESCRIPTOR</a> will be <code>0</code>. </p>
</div>
</div>
<a id="a749bc0bb7492a1b9463631eec006b4d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a749bc0bb7492a1b9463631eec006b4d1">&#9670;&nbsp;</a></span>MiscRecord</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structMINIDUMP__LOCATION__DESCRIPTOR.html">MINIDUMP_LOCATION_DESCRIPTOR</a> MINIDUMP_MODULE::MiscRecord</td>
</tr>
</table>
</div><div class="memdoc">
<p>A pointer to the module’s miscellaneous debugging record, a structure of type <a class="el" href="structIMAGE__DEBUG__MISC.html" title="Miscellaneous debugging record. ">IMAGE_DEBUG_MISC</a>. </p>
<p>This field is Windows-specific, and has no meaning on other operating systems. It is largely obsolete on Windows, where it was used to link to debugging information stored in a <code>.dbg</code> file. <code>.dbg</code> files have been superseded by <code>.pdb</code> files.</p>
<p>On Windows, the miscellaneous debugging record is taken from module’s IMAGE_DEBUG_DIRECTORY entry whose Type field has the value IMAGE_DEBUG_TYPE_MISC (<code>4</code>), if any.</p>
<p>When the miscellaneous debugging record is not present, the fields of this <a class="el" href="structMINIDUMP__LOCATION__DESCRIPTOR.html" title="A pointer to a structure or union within a minidump file. ">MINIDUMP_LOCATION_DESCRIPTOR</a> will be <code>0</code>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="structMINIDUMP__MODULE.html#acd07e35faf066880eeabea8a91aa887a" title="A pointer to the module’s CodeView record, typically a link to its debugging information in crashpad...">CvRecord</a> </dd></dl>
</div>
</div>
<a id="ae03bd3bf01de8e08c9a6abf37a9dfbbb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae03bd3bf01de8e08c9a6abf37a9dfbbb">&#9670;&nbsp;</a></span>TimeDateStamp</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t MINIDUMP_MODULE::TimeDateStamp</td>
</tr>
</table>
</div><div class="memdoc">
<p>The module’s timestamp, in <code>time_t</code> units, seconds since the POSIX epoch, or <code>0</code> if unknown. </p>
<p>On Windows, this field comes from the <code>TimeDateStamp</code> field of the module’s <code>IMAGE_FILE_HEADER</code> structure. It reflects the timestamp at the time the module was linked. </p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>compat/non_win/<a class="el" href="dbghelp_8h.html">dbghelp.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>