crashpad/doc/generated/doxygen/classcrashpad_1_1internal_1_1ExceptionSnapshotWin.html

404 lines
26 KiB
HTML
Raw Normal View History

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"/>
<meta name="generator" content="Doxygen 1.8.10"/>
2015-10-08 14:55:01 -04:00
<title>Crashpad: crashpad::internal::ExceptionSnapshotWin 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 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 -->
<!-- Generated by Doxygen 1.8.10 -->
2015-10-08 14:55:01 -04:00
<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&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;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&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;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_1ExceptionSnapshotWin.html">ExceptionSnapshotWin</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classcrashpad_1_1internal_1_1ExceptionSnapshotWin-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">crashpad::internal::ExceptionSnapshotWin Class Reference<span class="mlabels"><span class="mlabel">final</span></span></div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for crashpad::internal::ExceptionSnapshotWin:</div>
<div class="dyncontent">
<div class="center">
<img src="classcrashpad_1_1internal_1_1ExceptionSnapshotWin.png" usemap="#crashpad::internal::ExceptionSnapshotWin_map" alt=""/>
<map id="crashpad::internal::ExceptionSnapshotWin_map" name="crashpad::internal::ExceptionSnapshotWin_map">
<area href="classcrashpad_1_1ExceptionSnapshot.html" title="An abstract interface to a snapshot representing an exception that a snapshot process sustained and t..." alt="crashpad::ExceptionSnapshot" shape="rect" coords="0,0,247,24"/>
</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:a689b7087d7d69cf432c32c2f3dd748c7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotWin.html#a689b7087d7d69cf432c32c2f3dd748c7">Initialize</a> (<a class="el" href="classcrashpad_1_1ProcessReaderWin.html">ProcessReaderWin</a> *process_reader, DWORD thread_id, <a class="el" href="namespacecrashpad.html#a368af6d88f68998b5c5eb80b8f6ebb76">WinVMAddress</a> exception_pointers)</td></tr>
<tr class="memdesc:a689b7087d7d69cf432c32c2f3dd748c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the object. <a href="#a689b7087d7d69cf432c32c2f3dd748c7">More...</a><br /></td></tr>
<tr class="separator:a689b7087d7d69cf432c32c2f3dd748c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac80687ea46ad9542b183abf1246973c0"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structcrashpad_1_1CPUContext.html">CPUContext</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotWin.html#ac80687ea46ad9542b183abf1246973c0">Context</a> () const override</td></tr>
<tr class="memdesc:ac80687ea46ad9542b183abf1246973c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a <a class="el" href="structcrashpad_1_1CPUContext.html" title="A context structure capable of carrying the context of any supported CPU architecture. ">CPUContext</a> object corresponding to the exception threads CPU context at the time of the exception. <a href="#ac80687ea46ad9542b183abf1246973c0">More...</a><br /></td></tr>
<tr class="separator:ac80687ea46ad9542b183abf1246973c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb24a5a7b0c476e7bd1e8cd020cb1f07"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotWin.html#aeb24a5a7b0c476e7bd1e8cd020cb1f07">ThreadID</a> () const override</td></tr>
<tr class="memdesc:aeb24a5a7b0c476e7bd1e8cd020cb1f07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the thread identifier of the thread that triggered the exception. <a href="#aeb24a5a7b0c476e7bd1e8cd020cb1f07">More...</a><br /></td></tr>
<tr class="separator:aeb24a5a7b0c476e7bd1e8cd020cb1f07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a081539ced0ac599376e252a402def61e"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotWin.html#a081539ced0ac599376e252a402def61e">Exception</a> () const override</td></tr>
<tr class="memdesc:a081539ced0ac599376e252a402def61e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the top-level exception code identifying the exception. <a href="#a081539ced0ac599376e252a402def61e">More...</a><br /></td></tr>
<tr class="separator:a081539ced0ac599376e252a402def61e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e5002647b22e5b34bed8164fb836b14"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotWin.html#a4e5002647b22e5b34bed8164fb836b14">ExceptionInfo</a> () const override</td></tr>
<tr class="memdesc:a4e5002647b22e5b34bed8164fb836b14"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the second-level exception code identifying the exception. <a href="#a4e5002647b22e5b34bed8164fb836b14">More...</a><br /></td></tr>
<tr class="separator:a4e5002647b22e5b34bed8164fb836b14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99e96c1b4d2c0b02408b96ee5cc4140b"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotWin.html#a99e96c1b4d2c0b02408b96ee5cc4140b">ExceptionAddress</a> () const override</td></tr>
<tr class="memdesc:a99e96c1b4d2c0b02408b96ee5cc4140b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the address that triggered the exception. <a href="#a99e96c1b4d2c0b02408b96ee5cc4140b">More...</a><br /></td></tr>
<tr class="separator:a99e96c1b4d2c0b02408b96ee5cc4140b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34df0516c41e42fd891a7f74ca4485c1"><td class="memItemLeft" align="right" valign="top">const std::vector&lt; uint64_t &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotWin.html#a34df0516c41e42fd891a7f74ca4485c1">Codes</a> () const override</td></tr>
<tr class="memdesc:a34df0516c41e42fd891a7f74ca4485c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a series of operating system-specific exception codes. <a href="#a34df0516c41e42fd891a7f74ca4485c1">More...</a><br /></td></tr>
<tr class="separator:a34df0516c41e42fd891a7f74ca4485c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe411b390d361297fe3aa4fe8f3e3241"><td class="memItemLeft" align="right" valign="top">std::vector&lt; const <a class="el" href="classcrashpad_1_1MemorySnapshot.html">MemorySnapshot</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotWin.html#afe411b390d361297fe3aa4fe8f3e3241">ExtraMemory</a> () const override</td></tr>
<tr class="memdesc:afe411b390d361297fe3aa4fe8f3e3241"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a vector of additional memory blocks that should be included in a minidump. <a href="#afe411b390d361297fe3aa4fe8f3e3241">More...</a><br /></td></tr>
<tr class="separator:afe411b390d361297fe3aa4fe8f3e3241"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0690060157934faa3b820faade0722c8"><td class="memTemplParams" colspan="2"><a class="anchor" id="a0690060157934faa3b820faade0722c8"></a>
template&lt;class ExceptionRecordType , class ExceptionPointersType , class ContextType &gt; </td></tr>
<tr class="memitem:a0690060157934faa3b820faade0722c8"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>InitializeFromExceptionPointers</b> (<a class="el" href="classcrashpad_1_1ProcessReaderWin.html">ProcessReaderWin</a> *process_reader, <a class="el" href="namespacecrashpad.html#a368af6d88f68998b5c5eb80b8f6ebb76">WinVMAddress</a> exception_pointers_address, DWORD exception_thread_id, void(*native_to_cpu_context)(const ContextType &amp;context_record, <a class="el" href="structcrashpad_1_1CPUContext.html">CPUContext</a> *context, CPUContextUnion *context_union))</td></tr>
<tr class="separator:a0690060157934faa3b820faade0722c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
2015-10-08 14:55:01 -04:00
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a34df0516c41e42fd891a7f74ca4485c1"></a>
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">const std::vector&lt; uint64_t &gt; &amp; crashpad::internal::ExceptionSnapshotWin::Codes </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 a series of operating system-specific exception codes. </p>
<p>The precise interpretation of these codes is specific to the snapshot operating system. These codes may provide a duplicate of information available elsewhere, they may extend information available elsewhere, or they may not be present at all. In this case, an empty vector will be returned.</p>
<p>For Mac OS X, this will be a vector containing the original exception type and the values of <code>code[0]</code> and <code>code[1]</code> as received by a Mach exception handler.</p>
<p>For Windows, these are additional arguments (if any) as provided to <code>RaiseException()</code>. See the documentation for <code><a class="el" href="structcrashpad_1_1ExceptionInformation.html" title="Structure read out of the client process by the crash handler when an exception occurs. ">ExceptionInformation</a></code> in <code>EXCEPTION_RECORD</code>. </p>
<p>Implements <a class="el" href="classcrashpad_1_1ExceptionSnapshot.html#ab4fa67b763525c55cb5185c57d16a498">crashpad::ExceptionSnapshot</a>.</p>
2015-10-08 14:55:01 -04:00
</div>
</div>
<a class="anchor" id="ac80687ea46ad9542b183abf1246973c0"></a>
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">const <a class="el" href="structcrashpad_1_1CPUContext.html">CPUContext</a> * crashpad::internal::ExceptionSnapshotWin::Context </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 a <a class="el" href="structcrashpad_1_1CPUContext.html" title="A context structure capable of carrying the context of any supported CPU architecture. ">CPUContext</a> object corresponding to the exception threads CPU context at the time of the exception. </p>
<p>The caller does not take ownership of this object, it is scoped to the lifetime of the <a class="el" href="classcrashpad_1_1ThreadSnapshot.html" title="An abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot...">ThreadSnapshot</a> object that it was obtained from. </p>
<p>Implements <a class="el" href="classcrashpad_1_1ExceptionSnapshot.html#aee312c270a666428fcd9c57ec711df03">crashpad::ExceptionSnapshot</a>.</p>
2015-10-08 14:55:01 -04:00
</div>
</div>
<a class="anchor" id="a081539ced0ac599376e252a402def61e"></a>
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">uint32_t crashpad::internal::ExceptionSnapshotWin::Exception </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 top-level exception code identifying the exception. </p>
<p>This is an operating system-specific value.</p>
<p>For Mac OS X, this will be an <a class="el" href="non__mac_2mach_2mach_8h.html#EXC_x">EXC_*</a> exception type, such as <code>EXC_BAD_ACCESS</code>. <code>EXC_CRASH</code> will not appear here for exceptions processed as <code>EXC_CRASH</code> when generated from another preceding exception: the original exception code will appear instead. The exception type as it was received will appear at index 0 of <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotWin.html#a34df0516c41e42fd891a7f74ca4485c1" title="Returns a series of operating system-specific exception codes. ">Codes()</a>.</p>
2015-10-08 14:55:01 -04:00
<p>For Windows, this will be an EXCEPTION_* exception type such as <code>EXCEPTION_ACCESS_VIOLATION</code>. </p>
<p>Implements <a class="el" href="classcrashpad_1_1ExceptionSnapshot.html#ad52584797721decba84e33a101640de1">crashpad::ExceptionSnapshot</a>.</p>
2015-10-08 14:55:01 -04:00
</div>
</div>
<a class="anchor" id="a99e96c1b4d2c0b02408b96ee5cc4140b"></a>
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">uint64_t crashpad::internal::ExceptionSnapshotWin::ExceptionAddress </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 address that triggered the exception. </p>
<p>This may be the address that caused a fault on data access, or it may be the instruction pointer that contained an offending instruction. For exceptions where this value cannot be determined, it will be <code>0</code>.</p>
<p>For Mac OS X, this will be the value of the exception code at index 1 as received by a Mach exception handler. </p>
<p>Implements <a class="el" href="classcrashpad_1_1ExceptionSnapshot.html#aa46f563a99977e9ddf487035d4b63559">crashpad::ExceptionSnapshot</a>.</p>
2015-10-08 14:55:01 -04:00
</div>
</div>
<a class="anchor" id="a4e5002647b22e5b34bed8164fb836b14"></a>
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">uint32_t crashpad::internal::ExceptionSnapshotWin::ExceptionInfo </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 second-level exception code identifying the exception. </p>
<p>This is an operating system-specific value.</p>
<p>For Mac OS X, this will be the value of the exception code at index 0 as received by a Mach exception handler, except:</p><ul>
<li>For <code>EXC_CRASH</code> exceptions generated from another preceding exception, the original exception code will appear here, not the code as received by the Mach exception handler.</li>
<li>For <code>EXC_RESOURCE</code> and <code>EXC_GUARD</code> exceptions, the high 32 bits of the exception code at index 0 will appear here.</li>
</ul>
<p>In all cases on Mac OS X, the full exception code at index 0 as it was received will appear at index 1 of <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotWin.html#a34df0516c41e42fd891a7f74ca4485c1" title="Returns a series of operating system-specific exception codes. ">Codes()</a>.</p>
2015-10-08 14:55:01 -04:00
<p>On Windows, this will either be <code>0</code> if the exception is continuable, or <code>EXCEPTION_NONCONTINUABLE</code> to indicate a noncontinuable exception. </p>
<p>Implements <a class="el" href="classcrashpad_1_1ExceptionSnapshot.html#ae4603f825047de9918ea13b129a64b44">crashpad::ExceptionSnapshot</a>.</p>
</div>
</div>
<a class="anchor" id="afe411b390d361297fe3aa4fe8f3e3241"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::vector&lt; const <a class="el" href="classcrashpad_1_1MemorySnapshot.html">MemorySnapshot</a> * &gt; crashpad::internal::ExceptionSnapshotWin::ExtraMemory </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 a vector of additional memory blocks that should be included in a minidump. </p>
<dl class="section return"><dt>Returns</dt><dd>A vector of <a class="el" href="classcrashpad_1_1MemorySnapshot.html" title="An abstract interface to a snapshot representing a region of memory present in a snapshot process...">MemorySnapshot</a> objects that will be included in the crash dump. The caller does not take ownership of these objects, they are scoped to the lifetime of the <a class="el" href="classcrashpad_1_1ThreadSnapshot.html" title="An abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot...">ThreadSnapshot</a> object that they were obtained from. </dd></dl>
<p>Implements <a class="el" href="classcrashpad_1_1ExceptionSnapshot.html#aa100b62618bf575b1de7898cc0feaf34">crashpad::ExceptionSnapshot</a>.</p>
2015-10-08 14:55:01 -04:00
</div>
</div>
<a class="anchor" id="a689b7087d7d69cf432c32c2f3dd748c7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool crashpad::internal::ExceptionSnapshotWin::Initialize </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classcrashpad_1_1ProcessReaderWin.html">ProcessReaderWin</a> *&#160;</td>
<td class="paramname"><em>process_reader</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">DWORD&#160;</td>
<td class="paramname"><em>thread_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespacecrashpad.html#a368af6d88f68998b5c5eb80b8f6ebb76">WinVMAddress</a>&#160;</td>
<td class="paramname"><em>exception_pointers</em>&#160;</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 process that sustained the exception. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">thread_id</td><td>The thread ID in which the exception occurred. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">exception_pointers_address</td><td>The address of an <code>EXCEPTION_POINTERS</code> record in the target process, passed through from the exception handler.</td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>If the exception was triggered by <a class="el" href="classcrashpad_1_1CrashpadClient.html#a00540d42464336ee01307a5bdbf1826f" title="Requests that the handler capture a dump of a different process. ">CrashpadClient::DumpAndCrashTargetProcess()</a>, this has the side-effect of correcting the thread suspend counts for <em>process_reader</em>.</dd></dl>
2015-10-08 14:55:01 -04:00
<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="aeb24a5a7b0c476e7bd1e8cd020cb1f07"></a>
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">uint64_t crashpad::internal::ExceptionSnapshotWin::ThreadID </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 thread identifier of the thread that triggered the exception. </p>
<p>This value can be compared to <a class="el" href="classcrashpad_1_1ThreadSnapshot.html#a21b11bab41a09226db8cdb6e629ebfc4" title="Returns the threads identifier. ">ThreadSnapshot::ThreadID()</a> to associate an <a class="el" href="classcrashpad_1_1ExceptionSnapshot.html" title="An abstract interface to a snapshot representing an exception that a snapshot process sustained and t...">ExceptionSnapshot</a> object with the <a class="el" href="classcrashpad_1_1ThreadSnapshot.html" title="An abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot...">ThreadSnapshot</a> that contains a snapshot of the thread that triggered the exception. </p>
2015-10-08 14:55:01 -04:00
<p>Implements <a class="el" href="classcrashpad_1_1ExceptionSnapshot.html#aba314482bc7f1cc92447a91497b1b895">crashpad::ExceptionSnapshot</a>.</p>
2015-10-08 14:55:01 -04:00
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>snapshot/win/exception_snapshot_win.h</li>
<li>snapshot/win/exception_snapshot_win.cc</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.10
2015-10-08 14:55:01 -04:00
</small></address>
</body>
</html>