blob: d5c16786f231243e7330b937bace23242d8ea4bf [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: crashpad::ExceptionSnapshot 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.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 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_1ExceptionSnapshot.html">ExceptionSnapshot</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_1ExceptionSnapshot-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">crashpad::ExceptionSnapshot Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p>An abstract interface to a snapshot representing an exception that a snapshot process sustained and triggered the snapshot being taken.
<a href="classcrashpad_1_1ExceptionSnapshot.html#details">More...</a></p>
<p><code>#include &quot;snapshot/exception_snapshot.h&quot;</code></p>
<div class="dynheader">
Inheritance diagram for crashpad::ExceptionSnapshot:</div>
<div class="dyncontent">
<div class="center">
<img src="classcrashpad_1_1ExceptionSnapshot.png" usemap="#crashpad::ExceptionSnapshot_map" alt=""/>
<map id="crashpad::ExceptionSnapshot_map" name="crashpad::ExceptionSnapshot_map">
<area href="classcrashpad_1_1internal_1_1ExceptionSnapshotFuchsia.html" title="An ExceptionSnapshot of an exception sustained by a process on a Fuchsia system. " alt="crashpad::internal::ExceptionSnapshotFuchsia" shape="rect" coords="0,56,271,80"/>
<area href="classcrashpad_1_1internal_1_1ExceptionSnapshotLinux.html" title="An ExceptionSnapshot of an signal received by a running (or crashed) process on a Linux system..." alt="crashpad::internal::ExceptionSnapshotLinux" shape="rect" coords="281,56,552,80"/>
<area href="classcrashpad_1_1internal_1_1ExceptionSnapshotMac.html" title="An ExceptionSnapshot of an exception sustained by a running (or crashed) process on a macOS system..." alt="crashpad::internal::ExceptionSnapshotMac" shape="rect" coords="562,56,833,80"/>
<area href="classcrashpad_1_1internal_1_1ExceptionSnapshotWin.html" alt="crashpad::internal::ExceptionSnapshotWin" shape="rect" coords="843,56,1114,80"/>
<area href="classcrashpad_1_1test_1_1TestExceptionSnapshot.html" title="A test ExceptionSnapshot that can carry arbitrary data for testing purposes. " alt="crashpad::test::TestExceptionSnapshot" shape="rect" coords="1124,56,1395,80"/>
</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:a9ba62f24e17805f436feda32c01f353e"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="structcrashpad_1_1CPUContext.html">CPUContext</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1ExceptionSnapshot.html#a9ba62f24e17805f436feda32c01f353e">Context</a> () const =0</td></tr>
<tr class="memdesc:a9ba62f24e17805f436feda32c01f353e"><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 thread’s CPU context at the time of the exception. <a href="#a9ba62f24e17805f436feda32c01f353e">More...</a><br /></td></tr>
<tr class="separator:a9ba62f24e17805f436feda32c01f353e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef11b2d8ffb00bb38688e09c0b62ac51"><td class="memItemLeft" align="right" valign="top">virtual uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1ExceptionSnapshot.html#aef11b2d8ffb00bb38688e09c0b62ac51">ThreadID</a> () const =0</td></tr>
<tr class="memdesc:aef11b2d8ffb00bb38688e09c0b62ac51"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the thread identifier of the thread that triggered the exception. <a href="#aef11b2d8ffb00bb38688e09c0b62ac51">More...</a><br /></td></tr>
<tr class="separator:aef11b2d8ffb00bb38688e09c0b62ac51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af73f1ae2f0572a10bd1b62dee1472607"><td class="memItemLeft" align="right" valign="top">virtual uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1ExceptionSnapshot.html#af73f1ae2f0572a10bd1b62dee1472607">Exception</a> () const =0</td></tr>
<tr class="memdesc:af73f1ae2f0572a10bd1b62dee1472607"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the top-level exception code identifying the exception. <a href="#af73f1ae2f0572a10bd1b62dee1472607">More...</a><br /></td></tr>
<tr class="separator:af73f1ae2f0572a10bd1b62dee1472607"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1c97187c37fa378252415f7f3b4e6cb"><td class="memItemLeft" align="right" valign="top">virtual uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1ExceptionSnapshot.html#ae1c97187c37fa378252415f7f3b4e6cb">ExceptionInfo</a> () const =0</td></tr>
<tr class="memdesc:ae1c97187c37fa378252415f7f3b4e6cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the second-level exception code identifying the exception. <a href="#ae1c97187c37fa378252415f7f3b4e6cb">More...</a><br /></td></tr>
<tr class="separator:ae1c97187c37fa378252415f7f3b4e6cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12bf01b499037e2ad642d5e131f23f86"><td class="memItemLeft" align="right" valign="top">virtual uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1ExceptionSnapshot.html#a12bf01b499037e2ad642d5e131f23f86">ExceptionAddress</a> () const =0</td></tr>
<tr class="memdesc:a12bf01b499037e2ad642d5e131f23f86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the address that triggered the exception. <a href="#a12bf01b499037e2ad642d5e131f23f86">More...</a><br /></td></tr>
<tr class="separator:a12bf01b499037e2ad642d5e131f23f86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b98ff58b73e105c39ccba39dad5a2d7"><td class="memItemLeft" align="right" valign="top">virtual const std::vector&lt; uint64_t &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1ExceptionSnapshot.html#a1b98ff58b73e105c39ccba39dad5a2d7">Codes</a> () const =0</td></tr>
<tr class="memdesc:a1b98ff58b73e105c39ccba39dad5a2d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a series of operating system-specific exception codes. <a href="#a1b98ff58b73e105c39ccba39dad5a2d7">More...</a><br /></td></tr>
<tr class="separator:a1b98ff58b73e105c39ccba39dad5a2d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85e992db62e56bc47242a186b94208f4"><td class="memItemLeft" align="right" valign="top">virtual 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_1ExceptionSnapshot.html#a85e992db62e56bc47242a186b94208f4">ExtraMemory</a> () const =0</td></tr>
<tr class="memdesc:a85e992db62e56bc47242a186b94208f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a vector of additional memory blocks that should be included in a minidump. <a href="#a85e992db62e56bc47242a186b94208f4">More...</a><br /></td></tr>
<tr class="separator:a85e992db62e56bc47242a186b94208f4"><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>An abstract interface to a snapshot representing an exception that a snapshot process sustained and triggered the snapshot being taken. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a1b98ff58b73e105c39ccba39dad5a2d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b98ff58b73e105c39ccba39dad5a2d7">&#9670;&nbsp;</a></span>Codes()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual const std::vector&lt;uint64_t&gt;&amp; crashpad::ExceptionSnapshot::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">pure 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 macOS, 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>Implemented in <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotWin.html#a9e062aaf208e2e20ba68b407b9bfd950">crashpad::internal::ExceptionSnapshotWin</a>, <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotMac.html#a3179b8de3f86e150cf6d1d3078dd8109">crashpad::internal::ExceptionSnapshotMac</a>, <a class="el" href="classcrashpad_1_1test_1_1TestExceptionSnapshot.html#afd83da0b687967809bbe2bb663b57298">crashpad::test::TestExceptionSnapshot</a>, <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotLinux.html#a744d4246a913757956bf2d66c064736a">crashpad::internal::ExceptionSnapshotLinux</a>, and <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotFuchsia.html#a50bbe2e9156cfef1f90bb7926d4dc398">crashpad::internal::ExceptionSnapshotFuchsia</a>.</p>
</div>
</div>
<a id="a9ba62f24e17805f436feda32c01f353e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ba62f24e17805f436feda32c01f353e">&#9670;&nbsp;</a></span>Context()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual const <a class="el" href="structcrashpad_1_1CPUContext.html">CPUContext</a>* crashpad::ExceptionSnapshot::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">pure 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 thread’s 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>Implemented in <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotWin.html#ab4c2e6947c052aa9d0ded95b5be72de1">crashpad::internal::ExceptionSnapshotWin</a>, <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotMac.html#aeebb43d42ba7f1eacd06bc82399055cd">crashpad::internal::ExceptionSnapshotMac</a>, <a class="el" href="classcrashpad_1_1test_1_1TestExceptionSnapshot.html#ae199229ad7ab258d823fcb86cae9bd17">crashpad::test::TestExceptionSnapshot</a>, <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotLinux.html#abbd1bf5416a23d3416f709873509b36b">crashpad::internal::ExceptionSnapshotLinux</a>, and <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotFuchsia.html#a609e808aadad57247f384b1d10632688">crashpad::internal::ExceptionSnapshotFuchsia</a>.</p>
</div>
</div>
<a id="af73f1ae2f0572a10bd1b62dee1472607"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af73f1ae2f0572a10bd1b62dee1472607">&#9670;&nbsp;</a></span>Exception()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual uint32_t crashpad::ExceptionSnapshot::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">pure 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 macOS, this will be an <a class="el" href="mach_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_1ExceptionSnapshot.html#a1b98ff58b73e105c39ccba39dad5a2d7" title="Returns a series of operating system-specific exception codes. ">Codes()</a>.</p>
<p>For Windows, this will be an <code>EXCEPTION_*</code> exception type, such as <code>EXCEPTION_ACCESS_VIOLATION</code>. </p>
<p>Implemented in <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotWin.html#a8083efff504bd812e2de87bfbf3d9547">crashpad::internal::ExceptionSnapshotWin</a>, <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotMac.html#a12e7d80c0c92e30df5f90d6386b92c3f">crashpad::internal::ExceptionSnapshotMac</a>, <a class="el" href="classcrashpad_1_1test_1_1TestExceptionSnapshot.html#afa83c6fa95e27e90b29f0b537c561094">crashpad::test::TestExceptionSnapshot</a>, <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotLinux.html#a56eca1b067ef859926c56d25e0b208b2">crashpad::internal::ExceptionSnapshotLinux</a>, and <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotFuchsia.html#a6a1f3920d3284468c2aee57324b4bf42">crashpad::internal::ExceptionSnapshotFuchsia</a>.</p>
</div>
</div>
<a id="a12bf01b499037e2ad642d5e131f23f86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12bf01b499037e2ad642d5e131f23f86">&#9670;&nbsp;</a></span>ExceptionAddress()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual uint64_t crashpad::ExceptionSnapshot::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">pure 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 macOS, this will be the value of the exception code at index 1 as received by a Mach exception handler. </p>
<p>Implemented in <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotWin.html#a8d42e828a3f6768b21114fc1f20c03d3">crashpad::internal::ExceptionSnapshotWin</a>, <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotMac.html#a1dd9dba7bdf05e485d4307d05d0d1c13">crashpad::internal::ExceptionSnapshotMac</a>, <a class="el" href="classcrashpad_1_1test_1_1TestExceptionSnapshot.html#aa770edbae31d5d00af25d1101a1ca51d">crashpad::test::TestExceptionSnapshot</a>, <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotLinux.html#ace9d4fa78bf7fd8fea2ce15488653940">crashpad::internal::ExceptionSnapshotLinux</a>, and <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotFuchsia.html#af3d489c0337112870256ee6a2702fe64">crashpad::internal::ExceptionSnapshotFuchsia</a>.</p>
</div>
</div>
<a id="ae1c97187c37fa378252415f7f3b4e6cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1c97187c37fa378252415f7f3b4e6cb">&#9670;&nbsp;</a></span>ExceptionInfo()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual uint32_t crashpad::ExceptionSnapshot::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">pure 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 macOS, 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 macOS, the full exception code at index 0 as it was received will appear at index 1 of <a class="el" href="classcrashpad_1_1ExceptionSnapshot.html#a1b98ff58b73e105c39ccba39dad5a2d7" title="Returns a series of operating system-specific exception codes. ">Codes()</a>.</p>
<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>Implemented in <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotWin.html#a5977dded1385688030a667ac1fafaa51">crashpad::internal::ExceptionSnapshotWin</a>, <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotMac.html#a9ab56e1477da32b5d017b6603aed9c87">crashpad::internal::ExceptionSnapshotMac</a>, <a class="el" href="classcrashpad_1_1test_1_1TestExceptionSnapshot.html#a28c1706545fcac448a770e09341d92ea">crashpad::test::TestExceptionSnapshot</a>, <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotLinux.html#adf6edc2ae286986027ebda04c53d25f7">crashpad::internal::ExceptionSnapshotLinux</a>, and <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotFuchsia.html#a0b66aed0e22a9008b49b816221382763">crashpad::internal::ExceptionSnapshotFuchsia</a>.</p>
</div>
</div>
<a id="a85e992db62e56bc47242a186b94208f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85e992db62e56bc47242a186b94208f4">&#9670;&nbsp;</a></span>ExtraMemory()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual std::vector&lt;const <a class="el" href="classcrashpad_1_1MemorySnapshot.html">MemorySnapshot</a>*&gt; crashpad::ExceptionSnapshot::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">pure 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>Implemented in <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotWin.html#af4e67f7a996f10eee640dabf1833fd6c">crashpad::internal::ExceptionSnapshotWin</a>, <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotMac.html#a724cfd55bfd6b2f18e1148141d4ffbaa">crashpad::internal::ExceptionSnapshotMac</a>, <a class="el" href="classcrashpad_1_1test_1_1TestExceptionSnapshot.html#a7b4aaefa471d5c0fde691e26ec7439a8">crashpad::test::TestExceptionSnapshot</a>, <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotLinux.html#ada5fcf76174d3b2ed781b3d87f36ae9f">crashpad::internal::ExceptionSnapshotLinux</a>, and <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotFuchsia.html#a4e3927954a46e9ea00613db589c76737">crashpad::internal::ExceptionSnapshotFuchsia</a>.</p>
</div>
</div>
<a id="aef11b2d8ffb00bb38688e09c0b62ac51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef11b2d8ffb00bb38688e09c0b62ac51">&#9670;&nbsp;</a></span>ThreadID()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual uint64_t crashpad::ExceptionSnapshot::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">pure 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#a3c953575fadb934cd5f163560df149da" title="Returns the thread’s 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>
<p>Implemented in <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotWin.html#a140f74a35257a73faca6b0e2d8f04f44">crashpad::internal::ExceptionSnapshotWin</a>, <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotMac.html#a3685b418dfcf4bafc81b81dbb8b80db9">crashpad::internal::ExceptionSnapshotMac</a>, <a class="el" href="classcrashpad_1_1test_1_1TestExceptionSnapshot.html#a94d06ac7c4022fbff1acd2c37cb85e54">crashpad::test::TestExceptionSnapshot</a>, <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotLinux.html#a7f1befd18a82340f4f7edd550cb35af2">crashpad::internal::ExceptionSnapshotLinux</a>, and <a class="el" href="classcrashpad_1_1internal_1_1ExceptionSnapshotFuchsia.html#a106fcde70897aff1a2cb8f025abe6614">crashpad::internal::ExceptionSnapshotFuchsia</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>snapshot/exception_snapshot.h</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>