blob: 700531a1c2374a418b54e1e33e82ad2744932cbc [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Crashpad: crashpad::test::TestProcessSnapshot 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.18 -->
<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="namespacecrashpad_1_1test.html">test</a></li><li class="navelem"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html">TestProcessSnapshot</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_1test_1_1TestProcessSnapshot-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">crashpad::test::TestProcessSnapshot Class Reference<span class="mlabels"><span class="mlabel">final</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p>A test <a class="el" href="classcrashpad_1_1ProcessSnapshot.html" title="An abstract interface to a snapshot representing the state of a process.">ProcessSnapshot</a> that can carry arbitrary data for testing purposes.
<a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#details">More...</a></p>
<p><code>#include &quot;snapshot/test/test_process_snapshot.h&quot;</code></p>
<div class="dynheader">
Inheritance diagram for crashpad::test::TestProcessSnapshot:</div>
<div class="dyncontent">
<div class="center">
<img src="classcrashpad_1_1test_1_1TestProcessSnapshot.png" usemap="#crashpad::test::TestProcessSnapshot_map" alt=""/>
<map id="crashpad::test::TestProcessSnapshot_map" name="crashpad::test::TestProcessSnapshot_map">
<area href="classcrashpad_1_1ProcessSnapshot.html" title="An abstract interface to a snapshot representing the state of a process." alt="crashpad::ProcessSnapshot" shape="rect" coords="0,0,217,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:a913ec3325a97dcbf11d2af1abfdf1017"><td class="memItemLeft" align="right" valign="top"><a id="a913ec3325a97dcbf11d2af1abfdf1017"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetProcessID</b> (<a class="el" href="namespacecrashpad.html#a0f06cbe8cfef9e24ceed3e34de6563c2">crashpad::ProcessID</a> process_id)</td></tr>
<tr class="separator:a913ec3325a97dcbf11d2af1abfdf1017"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8866defd628c265de7815c2a68203f00"><td class="memItemLeft" align="right" valign="top"><a id="a8866defd628c265de7815c2a68203f00"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetParentProcessID</b> (<a class="el" href="namespacecrashpad.html#a0f06cbe8cfef9e24ceed3e34de6563c2">crashpad::ProcessID</a> parent_process_id)</td></tr>
<tr class="separator:a8866defd628c265de7815c2a68203f00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a724ea72868075f7f64f77ed7c0e15479"><td class="memItemLeft" align="right" valign="top"><a id="a724ea72868075f7f64f77ed7c0e15479"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetSnapshotTime</b> (const timeval &amp;snapshot_time)</td></tr>
<tr class="separator:a724ea72868075f7f64f77ed7c0e15479"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a642b692da2e977eed05a8079688af632"><td class="memItemLeft" align="right" valign="top"><a id="a642b692da2e977eed05a8079688af632"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetProcessStartTime</b> (const timeval &amp;start_time)</td></tr>
<tr class="separator:a642b692da2e977eed05a8079688af632"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c8ad8cd4de60248b1fa98baed0a7b9c"><td class="memItemLeft" align="right" valign="top"><a id="a8c8ad8cd4de60248b1fa98baed0a7b9c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetProcessCPUTimes</b> (const timeval &amp;user_time, const timeval &amp;system_time)</td></tr>
<tr class="separator:a8c8ad8cd4de60248b1fa98baed0a7b9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5acb9fb3b3f3b6f90e78ec6c8cae4733"><td class="memItemLeft" align="right" valign="top"><a id="a5acb9fb3b3f3b6f90e78ec6c8cae4733"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetReportID</b> (const <a class="el" href="structcrashpad_1_1UUID.html">UUID</a> &amp;report_id)</td></tr>
<tr class="separator:a5acb9fb3b3f3b6f90e78ec6c8cae4733"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2f4d1f43ee52fc1dcbaf4c5bc1a78f7"><td class="memItemLeft" align="right" valign="top"><a id="ab2f4d1f43ee52fc1dcbaf4c5bc1a78f7"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetClientID</b> (const <a class="el" href="structcrashpad_1_1UUID.html">UUID</a> &amp;client_id)</td></tr>
<tr class="separator:ab2f4d1f43ee52fc1dcbaf4c5bc1a78f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa35c22f1573a1dfa4a7de9f6fd0dacb1"><td class="memItemLeft" align="right" valign="top"><a id="aa35c22f1573a1dfa4a7de9f6fd0dacb1"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetAnnotationsSimpleMap</b> (const std::map&lt; std::string, std::string &gt; &amp;annotations_simple_map)</td></tr>
<tr class="separator:aa35c22f1573a1dfa4a7de9f6fd0dacb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2da3d9c33605bb16d0a7fcb2cc4621b0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a2da3d9c33605bb16d0a7fcb2cc4621b0">SetSystem</a> (std::unique_ptr&lt; <a class="el" href="classcrashpad_1_1SystemSnapshot.html">SystemSnapshot</a> &gt; system)</td></tr>
<tr class="memdesc:a2da3d9c33605bb16d0a7fcb2cc4621b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the system snapshot to be returned by <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a61e52051b302138d1aae28d8d36c9bfd" title="Returns a SystemSnapshot reflecting the characteristics of the system that ran the snapshot process a...">System()</a>. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a2da3d9c33605bb16d0a7fcb2cc4621b0">More...</a><br /></td></tr>
<tr class="separator:a2da3d9c33605bb16d0a7fcb2cc4621b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa272a06010291a8d645ef55054c62eb8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#aa272a06010291a8d645ef55054c62eb8">AddThread</a> (std::unique_ptr&lt; <a class="el" href="classcrashpad_1_1ThreadSnapshot.html">ThreadSnapshot</a> &gt; thread)</td></tr>
<tr class="memdesc:aa272a06010291a8d645ef55054c62eb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a thread snapshot to be returned by <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#aa90fabf794e8aa436dc637de4a7e8bba" title="Returns ThreadSnapshot objects reflecting the threads (lightweight processes) existing in the snapsho...">Threads()</a>. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#aa272a06010291a8d645ef55054c62eb8">More...</a><br /></td></tr>
<tr class="separator:aa272a06010291a8d645ef55054c62eb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1de57ba1bc25ae21fa28ce3296842399"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a1de57ba1bc25ae21fa28ce3296842399">AddModule</a> (std::unique_ptr&lt; <a class="el" href="classcrashpad_1_1ModuleSnapshot.html">ModuleSnapshot</a> &gt; module)</td></tr>
<tr class="memdesc:a1de57ba1bc25ae21fa28ce3296842399"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a module snapshot to be returned by <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a43275d7a32de7b074d9483e845911577" title="Returns ModuleSnapshot objects reflecting the code modules (binary images) loaded into the snapshot p...">Modules()</a>. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a1de57ba1bc25ae21fa28ce3296842399">More...</a><br /></td></tr>
<tr class="separator:a1de57ba1bc25ae21fa28ce3296842399"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fb837d7a4f7e26715e1667da9deb9d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a0fb837d7a4f7e26715e1667da9deb9d9">AddModule</a> (const <a class="el" href="classcrashpad_1_1UnloadedModuleSnapshot.html">UnloadedModuleSnapshot</a> &amp;unloaded_module)</td></tr>
<tr class="memdesc:a0fb837d7a4f7e26715e1667da9deb9d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds an unloaded module snapshot to be returned by <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a78cc8bba1f8bbc0347dcf0e1417e9a4c" title="Returns UnloadedModuleSnapshot objects reflecting the code modules the were recorded as unloaded at t...">UnloadedModules()</a>. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a0fb837d7a4f7e26715e1667da9deb9d9">More...</a><br /></td></tr>
<tr class="separator:a0fb837d7a4f7e26715e1667da9deb9d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25effc0085be65c410fcfd57218b6c62"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a25effc0085be65c410fcfd57218b6c62">SetException</a> (std::unique_ptr&lt; <a class="el" href="classcrashpad_1_1ExceptionSnapshot.html">ExceptionSnapshot</a> &gt; exception)</td></tr>
<tr class="memdesc:a25effc0085be65c410fcfd57218b6c62"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the exception snapshot to be returned by <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#aa0d8839f1e8c482bd9d7794e7475a541" title="Returns an ExceptionSnapshot reflecting the exception that the snapshot process sustained to trigger ...">Exception()</a>. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a25effc0085be65c410fcfd57218b6c62">More...</a><br /></td></tr>
<tr class="separator:a25effc0085be65c410fcfd57218b6c62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7acdd5afb05d3c73f659dc3d2b6e2e9b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a7acdd5afb05d3c73f659dc3d2b6e2e9b">AddMemoryMapRegion</a> (std::unique_ptr&lt; <a class="el" href="classcrashpad_1_1MemoryMapRegionSnapshot.html">MemoryMapRegionSnapshot</a> &gt; region)</td></tr>
<tr class="memdesc:a7acdd5afb05d3c73f659dc3d2b6e2e9b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a memory map region snapshot to be returned by <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a8dd98712806a8f9da23e47cca3cafed1" title="Returns MemoryMapRegionSnapshot objects reflecting the regions of the memory map in the snapshot proc...">MemoryMap()</a>. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a7acdd5afb05d3c73f659dc3d2b6e2e9b">More...</a><br /></td></tr>
<tr class="separator:a7acdd5afb05d3c73f659dc3d2b6e2e9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e4c4a05f01270dba20978eb32f76e5a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a1e4c4a05f01270dba20978eb32f76e5a">AddHandle</a> (const <a class="el" href="structcrashpad_1_1HandleSnapshot.html">HandleSnapshot</a> &amp;handle)</td></tr>
<tr class="memdesc:a1e4c4a05f01270dba20978eb32f76e5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a handle snapshot to be returned by <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a230acc3f1dd1cf8f4d0b2e84e106f292" title="Returns HandleSnapshot objects reflecting the open handles in the snapshot process at the time of the...">Handles()</a>. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a1e4c4a05f01270dba20978eb32f76e5a">More...</a><br /></td></tr>
<tr class="separator:a1e4c4a05f01270dba20978eb32f76e5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8660f79a14f789431c344d3842f0827"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#ad8660f79a14f789431c344d3842f0827">AddExtraMemory</a> (std::unique_ptr&lt; <a class="el" href="classcrashpad_1_1MemorySnapshot.html">MemorySnapshot</a> &gt; extra_memory)</td></tr>
<tr class="memdesc:ad8660f79a14f789431c344d3842f0827"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a memory snapshot to be returned by <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a5d76a5f6ea3ed0cb59b39694684f8cf2" title="Returns a vector of additional memory blocks that should be included in a minidump.">ExtraMemory()</a>. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#ad8660f79a14f789431c344d3842f0827">More...</a><br /></td></tr>
<tr class="separator:ad8660f79a14f789431c344d3842f0827"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ac0a015a0fcc8a092a478f4657bc26a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a4ac0a015a0fcc8a092a478f4657bc26a">SetProcessMemory</a> (std::unique_ptr&lt; <a class="el" href="classcrashpad_1_1ProcessMemory.html">ProcessMemory</a> &gt; process_memory)</td></tr>
<tr class="memdesc:a4ac0a015a0fcc8a092a478f4657bc26a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a process memory object to be returned by <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a0d1b8b3083a35adbd617932c319dd85b" title="Returns a ProcessMemory object that allows accessing the process&#39; memory directly.">Memory()</a>. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a4ac0a015a0fcc8a092a478f4657bc26a">More...</a><br /></td></tr>
<tr class="separator:a4ac0a015a0fcc8a092a478f4657bc26a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dda083cd0813e94000e271b7935fba0"><td class="memItemLeft" align="right" valign="top"><a id="a4dda083cd0813e94000e271b7935fba0"></a>
<a class="el" href="namespacecrashpad.html#a0f06cbe8cfef9e24ceed3e34de6563c2">crashpad::ProcessID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a4dda083cd0813e94000e271b7935fba0">ProcessID</a> () const override</td></tr>
<tr class="memdesc:a4dda083cd0813e94000e271b7935fba0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the snapshot process’ process ID. <br /></td></tr>
<tr class="separator:a4dda083cd0813e94000e271b7935fba0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e57df05300d07d59f04bfd83351bf13"><td class="memItemLeft" align="right" valign="top"><a id="a5e57df05300d07d59f04bfd83351bf13"></a>
<a class="el" href="namespacecrashpad.html#a0f06cbe8cfef9e24ceed3e34de6563c2">crashpad::ProcessID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a5e57df05300d07d59f04bfd83351bf13">ParentProcessID</a> () const override</td></tr>
<tr class="memdesc:a5e57df05300d07d59f04bfd83351bf13"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the snapshot process’ parent process’ process ID. <br /></td></tr>
<tr class="separator:a5e57df05300d07d59f04bfd83351bf13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc33336e0959720987626da836e87259"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#abc33336e0959720987626da836e87259">SnapshotTime</a> (timeval *snapshot_time) const override</td></tr>
<tr class="memdesc:abc33336e0959720987626da836e87259"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the time that the snapshot was taken in <em>snapshot_time</em>. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#abc33336e0959720987626da836e87259">More...</a><br /></td></tr>
<tr class="separator:abc33336e0959720987626da836e87259"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32792c433f88bf0f2499c00d9769e5aa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a32792c433f88bf0f2499c00d9769e5aa">ProcessStartTime</a> (timeval *start_time) const override</td></tr>
<tr class="memdesc:a32792c433f88bf0f2499c00d9769e5aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the time that the snapshot process was started in <em>start_time</em>. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a32792c433f88bf0f2499c00d9769e5aa">More...</a><br /></td></tr>
<tr class="separator:a32792c433f88bf0f2499c00d9769e5aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad608647c26f108ba2712b791b4365589"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#ad608647c26f108ba2712b791b4365589">ProcessCPUTimes</a> (timeval *user_time, timeval *system_time) const override</td></tr>
<tr class="memdesc:ad608647c26f108ba2712b791b4365589"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the snapshot process’ CPU usage times in <em>user_time</em> and <em>system_time</em>. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#ad608647c26f108ba2712b791b4365589">More...</a><br /></td></tr>
<tr class="separator:ad608647c26f108ba2712b791b4365589"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f62d1d10c6baaa3b9c4f2c08762f708"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a4f62d1d10c6baaa3b9c4f2c08762f708">ReportID</a> (<a class="el" href="structcrashpad_1_1UUID.html">UUID</a> *report_id) const override</td></tr>
<tr class="memdesc:a4f62d1d10c6baaa3b9c4f2c08762f708"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a UUID identifying the event that the snapshot describes. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a4f62d1d10c6baaa3b9c4f2c08762f708">More...</a><br /></td></tr>
<tr class="separator:a4f62d1d10c6baaa3b9c4f2c08762f708"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6eb9bf88dc221ccc3f891f3259621c79"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a6eb9bf88dc221ccc3f891f3259621c79">ClientID</a> (<a class="el" href="structcrashpad_1_1UUID.html">UUID</a> *client_id) const override</td></tr>
<tr class="memdesc:a6eb9bf88dc221ccc3f891f3259621c79"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a UUID identifying the client that the snapshot represents. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a6eb9bf88dc221ccc3f891f3259621c79">More...</a><br /></td></tr>
<tr class="separator:a6eb9bf88dc221ccc3f891f3259621c79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec23063142af82dcef82d52cfc0774a0"><td class="memItemLeft" align="right" valign="top">const std::map&lt; std::string, std::string &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#aec23063142af82dcef82d52cfc0774a0">AnnotationsSimpleMap</a> () const override</td></tr>
<tr class="memdesc:aec23063142af82dcef82d52cfc0774a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns key-value string annotations recorded for the process, system, or snapshot producer. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#aec23063142af82dcef82d52cfc0774a0">More...</a><br /></td></tr>
<tr class="separator:aec23063142af82dcef82d52cfc0774a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61e52051b302138d1aae28d8d36c9bfd"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classcrashpad_1_1SystemSnapshot.html">SystemSnapshot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a61e52051b302138d1aae28d8d36c9bfd">System</a> () const override</td></tr>
<tr class="memdesc:a61e52051b302138d1aae28d8d36c9bfd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a <a class="el" href="classcrashpad_1_1SystemSnapshot.html" title="An abstract interface to a snapshot representing the state of a system, comprising an operating syste...">SystemSnapshot</a> reflecting the characteristics of the system that ran the snapshot process at the time of the snapshot. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a61e52051b302138d1aae28d8d36c9bfd">More...</a><br /></td></tr>
<tr class="separator:a61e52051b302138d1aae28d8d36c9bfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa90fabf794e8aa436dc637de4a7e8bba"><td class="memItemLeft" align="right" valign="top">std::vector&lt; const <a class="el" href="classcrashpad_1_1ThreadSnapshot.html">ThreadSnapshot</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#aa90fabf794e8aa436dc637de4a7e8bba">Threads</a> () const override</td></tr>
<tr class="memdesc:aa90fabf794e8aa436dc637de4a7e8bba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <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> objects reflecting the threads (lightweight processes) existing in the snapshot process at the time of the snapshot. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#aa90fabf794e8aa436dc637de4a7e8bba">More...</a><br /></td></tr>
<tr class="separator:aa90fabf794e8aa436dc637de4a7e8bba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43275d7a32de7b074d9483e845911577"><td class="memItemLeft" align="right" valign="top">std::vector&lt; const <a class="el" href="classcrashpad_1_1ModuleSnapshot.html">ModuleSnapshot</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a43275d7a32de7b074d9483e845911577">Modules</a> () const override</td></tr>
<tr class="memdesc:a43275d7a32de7b074d9483e845911577"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <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> objects reflecting the code modules (binary images) loaded into the snapshot process at the time of the snapshot. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a43275d7a32de7b074d9483e845911577">More...</a><br /></td></tr>
<tr class="separator:a43275d7a32de7b074d9483e845911577"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78cc8bba1f8bbc0347dcf0e1417e9a4c"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classcrashpad_1_1UnloadedModuleSnapshot.html">UnloadedModuleSnapshot</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a78cc8bba1f8bbc0347dcf0e1417e9a4c">UnloadedModules</a> () const override</td></tr>
<tr class="memdesc:a78cc8bba1f8bbc0347dcf0e1417e9a4c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <a class="el" href="classcrashpad_1_1UnloadedModuleSnapshot.html" title="Information about an unloaded module that was previously loaded into a snapshot process.">UnloadedModuleSnapshot</a> objects reflecting the code modules the were recorded as unloaded at the time of the snapshot. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a78cc8bba1f8bbc0347dcf0e1417e9a4c">More...</a><br /></td></tr>
<tr class="separator:a78cc8bba1f8bbc0347dcf0e1417e9a4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0d8839f1e8c482bd9d7794e7475a541"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classcrashpad_1_1ExceptionSnapshot.html">ExceptionSnapshot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#aa0d8839f1e8c482bd9d7794e7475a541">Exception</a> () const override</td></tr>
<tr class="memdesc:aa0d8839f1e8c482bd9d7794e7475a541"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns 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> reflecting the exception that the snapshot process sustained to trigger the snapshot being taken. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#aa0d8839f1e8c482bd9d7794e7475a541">More...</a><br /></td></tr>
<tr class="separator:aa0d8839f1e8c482bd9d7794e7475a541"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8dd98712806a8f9da23e47cca3cafed1"><td class="memItemLeft" align="right" valign="top">std::vector&lt; const <a class="el" href="classcrashpad_1_1MemoryMapRegionSnapshot.html">MemoryMapRegionSnapshot</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a8dd98712806a8f9da23e47cca3cafed1">MemoryMap</a> () const override</td></tr>
<tr class="memdesc:a8dd98712806a8f9da23e47cca3cafed1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <a class="el" href="classcrashpad_1_1MemoryMapRegionSnapshot.html" title="An abstract interface to a snapshot representing a region of the memory map present in the snapshot p...">MemoryMapRegionSnapshot</a> objects reflecting the regions of the memory map in the snapshot process at the time of the snapshot. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a8dd98712806a8f9da23e47cca3cafed1">More...</a><br /></td></tr>
<tr class="separator:a8dd98712806a8f9da23e47cca3cafed1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a230acc3f1dd1cf8f4d0b2e84e106f292"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="structcrashpad_1_1HandleSnapshot.html">HandleSnapshot</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a230acc3f1dd1cf8f4d0b2e84e106f292">Handles</a> () const override</td></tr>
<tr class="memdesc:a230acc3f1dd1cf8f4d0b2e84e106f292"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <a class="el" href="structcrashpad_1_1HandleSnapshot.html">HandleSnapshot</a> objects reflecting the open handles in the snapshot process at the time of the snapshot. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a230acc3f1dd1cf8f4d0b2e84e106f292">More...</a><br /></td></tr>
<tr class="separator:a230acc3f1dd1cf8f4d0b2e84e106f292"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d76a5f6ea3ed0cb59b39694684f8cf2"><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_1test_1_1TestProcessSnapshot.html#a5d76a5f6ea3ed0cb59b39694684f8cf2">ExtraMemory</a> () const override</td></tr>
<tr class="memdesc:a5d76a5f6ea3ed0cb59b39694684f8cf2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a vector of additional memory blocks that should be included in a minidump. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a5d76a5f6ea3ed0cb59b39694684f8cf2">More...</a><br /></td></tr>
<tr class="separator:a5d76a5f6ea3ed0cb59b39694684f8cf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d1b8b3083a35adbd617932c319dd85b"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classcrashpad_1_1ProcessMemory.html">ProcessMemory</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a0d1b8b3083a35adbd617932c319dd85b">Memory</a> () const override</td></tr>
<tr class="memdesc:a0d1b8b3083a35adbd617932c319dd85b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a <a class="el" href="classcrashpad_1_1ProcessMemory.html" title="Abstract base class for accessing the memory of another process.">ProcessMemory</a> object that allows accessing the process' memory directly. <a href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a0d1b8b3083a35adbd617932c319dd85b">More...</a><br /></td></tr>
<tr class="separator:a0d1b8b3083a35adbd617932c319dd85b"><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>A test <a class="el" href="classcrashpad_1_1ProcessSnapshot.html" title="An abstract interface to a snapshot representing the state of a process.">ProcessSnapshot</a> that can carry arbitrary data for testing purposes. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="ad8660f79a14f789431c344d3842f0827"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8660f79a14f789431c344d3842f0827">&#9670;&nbsp;</a></span>AddExtraMemory()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void crashpad::test::TestProcessSnapshot::AddExtraMemory </td>
<td>(</td>
<td class="paramtype">std::unique_ptr&lt; <a class="el" href="classcrashpad_1_1MemorySnapshot.html">MemorySnapshot</a> &gt;&#160;</td>
<td class="paramname"><em>extra_memory</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Add a memory snapshot to be returned by <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a5d76a5f6ea3ed0cb59b39694684f8cf2" title="Returns a vector of additional memory blocks that should be included in a minidump.">ExtraMemory()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">extra_memory</td><td>The memory snapshot that will be included in <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a5d76a5f6ea3ed0cb59b39694684f8cf2" title="Returns a vector of additional memory blocks that should be included in a minidump.">ExtraMemory()</a>. The <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html" title="A test ProcessSnapshot that can carry arbitrary data for testing purposes.">TestProcessSnapshot</a> object takes ownership of <em>extra_memory</em>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a1e4c4a05f01270dba20978eb32f76e5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e4c4a05f01270dba20978eb32f76e5a">&#9670;&nbsp;</a></span>AddHandle()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void crashpad::test::TestProcessSnapshot::AddHandle </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structcrashpad_1_1HandleSnapshot.html">HandleSnapshot</a> &amp;&#160;</td>
<td class="paramname"><em>handle</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a handle snapshot to be returned by <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a230acc3f1dd1cf8f4d0b2e84e106f292" title="Returns HandleSnapshot objects reflecting the open handles in the snapshot process at the time of the...">Handles()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">handle</td><td>The handle snapshot that will be included in <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a230acc3f1dd1cf8f4d0b2e84e106f292" title="Returns HandleSnapshot objects reflecting the open handles in the snapshot process at the time of the...">Handles()</a>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a7acdd5afb05d3c73f659dc3d2b6e2e9b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7acdd5afb05d3c73f659dc3d2b6e2e9b">&#9670;&nbsp;</a></span>AddMemoryMapRegion()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void crashpad::test::TestProcessSnapshot::AddMemoryMapRegion </td>
<td>(</td>
<td class="paramtype">std::unique_ptr&lt; <a class="el" href="classcrashpad_1_1MemoryMapRegionSnapshot.html">MemoryMapRegionSnapshot</a> &gt;&#160;</td>
<td class="paramname"><em>region</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a memory map region snapshot to be returned by <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a8dd98712806a8f9da23e47cca3cafed1" title="Returns MemoryMapRegionSnapshot objects reflecting the regions of the memory map in the snapshot proc...">MemoryMap()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">region</td><td>The memory map region snapshot that will be included in <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a8dd98712806a8f9da23e47cca3cafed1" title="Returns MemoryMapRegionSnapshot objects reflecting the regions of the memory map in the snapshot proc...">MemoryMap()</a>. The <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html" title="A test ProcessSnapshot that can carry arbitrary data for testing purposes.">TestProcessSnapshot</a> object takes ownership of <em>region</em>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a0fb837d7a4f7e26715e1667da9deb9d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0fb837d7a4f7e26715e1667da9deb9d9">&#9670;&nbsp;</a></span>AddModule() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void crashpad::test::TestProcessSnapshot::AddModule </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classcrashpad_1_1UnloadedModuleSnapshot.html">UnloadedModuleSnapshot</a> &amp;&#160;</td>
<td class="paramname"><em>unloaded_module</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds an unloaded module snapshot to be returned by <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a78cc8bba1f8bbc0347dcf0e1417e9a4c" title="Returns UnloadedModuleSnapshot objects reflecting the code modules the were recorded as unloaded at t...">UnloadedModules()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">unloaded_module</td><td>The unloaded module snapshot that will be included in <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a78cc8bba1f8bbc0347dcf0e1417e9a4c" title="Returns UnloadedModuleSnapshot objects reflecting the code modules the were recorded as unloaded at t...">UnloadedModules()</a>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a1de57ba1bc25ae21fa28ce3296842399"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1de57ba1bc25ae21fa28ce3296842399">&#9670;&nbsp;</a></span>AddModule() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void crashpad::test::TestProcessSnapshot::AddModule </td>
<td>(</td>
<td class="paramtype">std::unique_ptr&lt; <a class="el" href="classcrashpad_1_1ModuleSnapshot.html">ModuleSnapshot</a> &gt;&#160;</td>
<td class="paramname"><em>module</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a module snapshot to be returned by <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a43275d7a32de7b074d9483e845911577" title="Returns ModuleSnapshot objects reflecting the code modules (binary images) loaded into the snapshot p...">Modules()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">module</td><td>The module snapshot that will be included in <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a43275d7a32de7b074d9483e845911577" title="Returns ModuleSnapshot objects reflecting the code modules (binary images) loaded into the snapshot p...">Modules()</a>. The <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html" title="A test ProcessSnapshot that can carry arbitrary data for testing purposes.">TestProcessSnapshot</a> object takes ownership of <em>module</em>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aa272a06010291a8d645ef55054c62eb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa272a06010291a8d645ef55054c62eb8">&#9670;&nbsp;</a></span>AddThread()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void crashpad::test::TestProcessSnapshot::AddThread </td>
<td>(</td>
<td class="paramtype">std::unique_ptr&lt; <a class="el" href="classcrashpad_1_1ThreadSnapshot.html">ThreadSnapshot</a> &gt;&#160;</td>
<td class="paramname"><em>thread</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a thread snapshot to be returned by <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#aa90fabf794e8aa436dc637de4a7e8bba" title="Returns ThreadSnapshot objects reflecting the threads (lightweight processes) existing in the snapsho...">Threads()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">thread</td><td>The thread snapshot that will be included in <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#aa90fabf794e8aa436dc637de4a7e8bba" title="Returns ThreadSnapshot objects reflecting the threads (lightweight processes) existing in the snapsho...">Threads()</a>. The <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html" title="A test ProcessSnapshot that can carry arbitrary data for testing purposes.">TestProcessSnapshot</a> object takes ownership of <em>thread</em>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aec23063142af82dcef82d52cfc0774a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec23063142af82dcef82d52cfc0774a0">&#9670;&nbsp;</a></span>AnnotationsSimpleMap()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const std::map&lt; std::string, std::string &gt; &amp; crashpad::test::TestProcessSnapshot::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 for the process, system, or snapshot producer. </p>
<p>This method retrieves annotations recorded for a process. 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>Annotations stored here may reflect the process, system, or snapshot producer. Most annotations not under the client’s direct control will be retrievable by this method. For clients such as Chrome, this includes the product name and version.</p>
<p>Additional per-module annotations may be obtained by calling <a class="el" href="classcrashpad_1_1ModuleSnapshot.html#a4d1328fda3e91a4c25369b5fcc4cf2f6" title="Returns key-value string annotations recorded in the module.">ModuleSnapshot::AnnotationsSimpleMap()</a>. </p>
<p>Implements <a class="el" href="classcrashpad_1_1ProcessSnapshot.html#a7f39b29ec055fb4235e5156d55e066cb">crashpad::ProcessSnapshot</a>.</p>
</div>
</div>
<a id="a6eb9bf88dc221ccc3f891f3259621c79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6eb9bf88dc221ccc3f891f3259621c79">&#9670;&nbsp;</a></span>ClientID()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void crashpad::test::TestProcessSnapshot::ClientID </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structcrashpad_1_1UUID.html">UUID</a> *&#160;</td>
<td class="paramname"><em>client_id</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 a UUID identifying the client that the snapshot represents. </p>
<p>Client identification is within the scope of the application, but it is expected that the identifier will be unique for an instance of Crashpad monitoring an application or set of applications for a user. The identifier shall remain stable over time.</p>
<p>If no identifier is available, this field will contain zeroes. </p>
<p>Implements <a class="el" href="classcrashpad_1_1ProcessSnapshot.html#a1415886b55df0daef8e217254c3f2291">crashpad::ProcessSnapshot</a>.</p>
</div>
</div>
<a id="aa0d8839f1e8c482bd9d7794e7475a541"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0d8839f1e8c482bd9d7794e7475a541">&#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">const <a class="el" href="classcrashpad_1_1ExceptionSnapshot.html">ExceptionSnapshot</a> * crashpad::test::TestProcessSnapshot::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 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> reflecting the exception that the snapshot process sustained to trigger the snapshot being taken. </p>
<dl class="section return"><dt>Returns</dt><dd>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. The caller does not take ownership of this object, it is scoped to the lifetime of the <a class="el" href="classcrashpad_1_1ProcessSnapshot.html" title="An abstract interface to a snapshot representing the state of a process.">ProcessSnapshot</a> object that it was obtained from. If the snapshot is not a result of an exception, returns <code>nullptr</code>. </dd></dl>
<p>Implements <a class="el" href="classcrashpad_1_1ProcessSnapshot.html#abee793ad58b7180fc5c659ea3a8823b9">crashpad::ProcessSnapshot</a>.</p>
</div>
</div>
<a id="a5d76a5f6ea3ed0cb59b39694684f8cf2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d76a5f6ea3ed0cb59b39694684f8cf2">&#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">std::vector&lt; const <a class="el" href="classcrashpad_1_1MemorySnapshot.html">MemorySnapshot</a> * &gt; crashpad::test::TestProcessSnapshot::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>An 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_1ProcessSnapshot.html" title="An abstract interface to a snapshot representing the state of a process.">ProcessSnapshot</a> object that they were obtained from. </dd></dl>
<p>Implements <a class="el" href="classcrashpad_1_1ProcessSnapshot.html#a481df990e82034800cf995c77df44d9e">crashpad::ProcessSnapshot</a>.</p>
</div>
</div>
<a id="a230acc3f1dd1cf8f4d0b2e84e106f292"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a230acc3f1dd1cf8f4d0b2e84e106f292">&#9670;&nbsp;</a></span>Handles()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::vector&lt; <a class="el" href="structcrashpad_1_1HandleSnapshot.html">HandleSnapshot</a> &gt; crashpad::test::TestProcessSnapshot::Handles </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 class="el" href="structcrashpad_1_1HandleSnapshot.html">HandleSnapshot</a> objects reflecting the open handles in the snapshot process at the time of the snapshot. </p>
<dl class="section return"><dt>Returns</dt><dd>A vector of <a class="el" href="structcrashpad_1_1HandleSnapshot.html">HandleSnapshot</a> objects. </dd></dl>
<p>Implements <a class="el" href="classcrashpad_1_1ProcessSnapshot.html#aec92d647e9d548bf4cfb9237bfcbba81">crashpad::ProcessSnapshot</a>.</p>
</div>
</div>
<a id="a0d1b8b3083a35adbd617932c319dd85b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d1b8b3083a35adbd617932c319dd85b">&#9670;&nbsp;</a></span>Memory()</h2>
<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="classcrashpad_1_1ProcessMemory.html">ProcessMemory</a> * crashpad::test::TestProcessSnapshot::Memory </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="classcrashpad_1_1ProcessMemory.html" title="Abstract base class for accessing the memory of another process.">ProcessMemory</a> object that allows accessing the process' memory directly. </p>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classcrashpad_1_1ProcessMemory.html" title="Abstract base class for accessing the memory of another process.">ProcessMemory</a> object. The caller does not take ownership of this object, it is scoped to the lifetime of the <a class="el" href="classcrashpad_1_1ProcessSnapshot.html" title="An abstract interface to a snapshot representing the state of a process.">ProcessSnapshot</a> object that it was obtained from. </dd></dl>
<p>Implements <a class="el" href="classcrashpad_1_1ProcessSnapshot.html#ab5c0f0dc5925200a95687e6cd30dfbcc">crashpad::ProcessSnapshot</a>.</p>
</div>
</div>
<a id="a8dd98712806a8f9da23e47cca3cafed1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8dd98712806a8f9da23e47cca3cafed1">&#9670;&nbsp;</a></span>MemoryMap()</h2>
<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_1MemoryMapRegionSnapshot.html">MemoryMapRegionSnapshot</a> * &gt; crashpad::test::TestProcessSnapshot::MemoryMap </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 class="el" href="classcrashpad_1_1MemoryMapRegionSnapshot.html" title="An abstract interface to a snapshot representing a region of the memory map present in the snapshot p...">MemoryMapRegionSnapshot</a> objects reflecting the regions of the memory map in the snapshot process at the time of the snapshot. </p>
<dl class="section return"><dt>Returns</dt><dd>A vector of <a class="el" href="classcrashpad_1_1MemoryMapRegionSnapshot.html" title="An abstract interface to a snapshot representing a region of the memory map present in the snapshot p...">MemoryMapRegionSnapshot</a> objects. The caller does not take ownership of these objects, they are scoped to the lifetime of the <a class="el" href="classcrashpad_1_1ProcessSnapshot.html" title="An abstract interface to a snapshot representing the state of a process.">ProcessSnapshot</a> object that they were obtained from. </dd></dl>
<p>Implements <a class="el" href="classcrashpad_1_1ProcessSnapshot.html#a7f478924c3d76d85487e16686204549b">crashpad::ProcessSnapshot</a>.</p>
</div>
</div>
<a id="a43275d7a32de7b074d9483e845911577"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43275d7a32de7b074d9483e845911577">&#9670;&nbsp;</a></span>Modules()</h2>
<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_1ModuleSnapshot.html">ModuleSnapshot</a> * &gt; crashpad::test::TestProcessSnapshot::Modules </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 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> objects reflecting the code modules (binary images) loaded into the snapshot process at the time of the snapshot. </p>
<dl class="section return"><dt>Returns</dt><dd>A vector of <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> objects. The caller does not take ownership of these objects, they are scoped to the lifetime of the <a class="el" href="classcrashpad_1_1ProcessSnapshot.html" title="An abstract interface to a snapshot representing the state of a process.">ProcessSnapshot</a> object that they were obtained from. </dd></dl>
<p>Implements <a class="el" href="classcrashpad_1_1ProcessSnapshot.html#ab121715bf3d05dcf38a97e8212920fd8">crashpad::ProcessSnapshot</a>.</p>
</div>
</div>
<a id="ad608647c26f108ba2712b791b4365589"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad608647c26f108ba2712b791b4365589">&#9670;&nbsp;</a></span>ProcessCPUTimes()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void crashpad::test::TestProcessSnapshot::ProcessCPUTimes </td>
<td>(</td>
<td class="paramtype">timeval *&#160;</td>
<td class="paramname"><em>user_time</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">timeval *&#160;</td>
<td class="paramname"><em>system_time</em>&#160;</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 snapshot process’ CPU usage times in <em>user_time</em> and <em>system_time</em>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">user_time</td><td>The time that the process has spent executing in user mode. </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">system_time</td><td>The time that the process has spent executing in system (kernel) mode. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classcrashpad_1_1ProcessSnapshot.html#a9a2b61c60114c5ed6cac278496979575">crashpad::ProcessSnapshot</a>.</p>
</div>
</div>
<a id="a32792c433f88bf0f2499c00d9769e5aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32792c433f88bf0f2499c00d9769e5aa">&#9670;&nbsp;</a></span>ProcessStartTime()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void crashpad::test::TestProcessSnapshot::ProcessStartTime </td>
<td>(</td>
<td class="paramtype">timeval *&#160;</td>
<td class="paramname"><em>start_time</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 time that the snapshot process was started in <em>start_time</em>. </p>
<p>Normally, process uptime in wall clock time can be computed as <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#abc33336e0959720987626da836e87259" title="Returns the time that the snapshot was taken in snapshot_time.">SnapshotTime()</a><a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a32792c433f88bf0f2499c00d9769e5aa" title="Returns the time that the snapshot process was started in start_time.">ProcessStartTime()</a>, but this cannot be guaranteed in cases where the real-time clock has been set during the snapshot process’ lifetime.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">start_time</td><td>The time that the process was started. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classcrashpad_1_1ProcessSnapshot.html#a13e296954660e175812f99a21e1e2671">crashpad::ProcessSnapshot</a>.</p>
</div>
</div>
<a id="a4f62d1d10c6baaa3b9c4f2c08762f708"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f62d1d10c6baaa3b9c4f2c08762f708">&#9670;&nbsp;</a></span>ReportID()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void crashpad::test::TestProcessSnapshot::ReportID </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structcrashpad_1_1UUID.html">UUID</a> *&#160;</td>
<td class="paramname"><em>client_id</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 a UUID identifying the event that the snapshot describes. </p>
<p>This provides a stable identifier for a crash even as the report is converted to different formats, provided that all formats support storing a crash report ID. When a report is originally created, a report ID should be assigned. From that point on, any operations involving the same report should preserve the same report ID.</p>
<p>If no identifier is available, this field will contain zeroes. </p>
<p>Implements <a class="el" href="classcrashpad_1_1ProcessSnapshot.html#ae0e40c11c938d180ffe13d7e407a5fbb">crashpad::ProcessSnapshot</a>.</p>
</div>
</div>
<a id="a25effc0085be65c410fcfd57218b6c62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a25effc0085be65c410fcfd57218b6c62">&#9670;&nbsp;</a></span>SetException()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void crashpad::test::TestProcessSnapshot::SetException </td>
<td>(</td>
<td class="paramtype">std::unique_ptr&lt; <a class="el" href="classcrashpad_1_1ExceptionSnapshot.html">ExceptionSnapshot</a> &gt;&#160;</td>
<td class="paramname"><em>exception</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the exception snapshot to be returned by <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#aa0d8839f1e8c482bd9d7794e7475a541" title="Returns an ExceptionSnapshot reflecting the exception that the snapshot process sustained to trigger ...">Exception()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">exception</td><td>The exception snapshot that <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#aa0d8839f1e8c482bd9d7794e7475a541" title="Returns an ExceptionSnapshot reflecting the exception that the snapshot process sustained to trigger ...">Exception()</a> will return. The <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html" title="A test ProcessSnapshot that can carry arbitrary data for testing purposes.">TestProcessSnapshot</a> object takes ownership of <em>exception</em>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a4ac0a015a0fcc8a092a478f4657bc26a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ac0a015a0fcc8a092a478f4657bc26a">&#9670;&nbsp;</a></span>SetProcessMemory()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void crashpad::test::TestProcessSnapshot::SetProcessMemory </td>
<td>(</td>
<td class="paramtype">std::unique_ptr&lt; <a class="el" href="classcrashpad_1_1ProcessMemory.html">ProcessMemory</a> &gt;&#160;</td>
<td class="paramname"><em>process_memory</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Add a process memory object to be returned by <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a0d1b8b3083a35adbd617932c319dd85b" title="Returns a ProcessMemory object that allows accessing the process&#39; memory directly.">Memory()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">process_memory</td><td>The memory object that will be returned by <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a0d1b8b3083a35adbd617932c319dd85b" title="Returns a ProcessMemory object that allows accessing the process&#39; memory directly.">Memory()</a>. The <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html" title="A test ProcessSnapshot that can carry arbitrary data for testing purposes.">TestProcessSnapshot</a> object takes ownership of <em>extra_memory</em>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a2da3d9c33605bb16d0a7fcb2cc4621b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2da3d9c33605bb16d0a7fcb2cc4621b0">&#9670;&nbsp;</a></span>SetSystem()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void crashpad::test::TestProcessSnapshot::SetSystem </td>
<td>(</td>
<td class="paramtype">std::unique_ptr&lt; <a class="el" href="classcrashpad_1_1SystemSnapshot.html">SystemSnapshot</a> &gt;&#160;</td>
<td class="paramname"><em>system</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the system snapshot to be returned by <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a61e52051b302138d1aae28d8d36c9bfd" title="Returns a SystemSnapshot reflecting the characteristics of the system that ran the snapshot process a...">System()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">system</td><td>The system snapshot that <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html#a61e52051b302138d1aae28d8d36c9bfd" title="Returns a SystemSnapshot reflecting the characteristics of the system that ran the snapshot process a...">System()</a> will return. The <a class="el" href="classcrashpad_1_1test_1_1TestProcessSnapshot.html" title="A test ProcessSnapshot that can carry arbitrary data for testing purposes.">TestProcessSnapshot</a> object takes ownership of <em>system</em>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="abc33336e0959720987626da836e87259"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc33336e0959720987626da836e87259">&#9670;&nbsp;</a></span>SnapshotTime()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void crashpad::test::TestProcessSnapshot::SnapshotTime </td>
<td>(</td>
<td class="paramtype">timeval *&#160;</td>
<td class="paramname"><em>snapshot_time</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 time that the snapshot was taken in <em>snapshot_time</em>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">snapshot_time</td><td>The time that the snapshot was taken. This is distinct from the time that a <a class="el" href="classcrashpad_1_1ProcessSnapshot.html" title="An abstract interface to a snapshot representing the state of a process.">ProcessSnapshot</a> object was created or initialized, although it may be that time for <a class="el" href="classcrashpad_1_1ProcessSnapshot.html" title="An abstract interface to a snapshot representing the state of a process.">ProcessSnapshot</a> objects representing live or recently-crashed process state. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classcrashpad_1_1ProcessSnapshot.html#a755c58effbbfb33b4d5be963bd81079f">crashpad::ProcessSnapshot</a>.</p>
</div>
</div>
<a id="a61e52051b302138d1aae28d8d36c9bfd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61e52051b302138d1aae28d8d36c9bfd">&#9670;&nbsp;</a></span>System()</h2>
<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="classcrashpad_1_1SystemSnapshot.html">SystemSnapshot</a> * crashpad::test::TestProcessSnapshot::System </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="classcrashpad_1_1SystemSnapshot.html" title="An abstract interface to a snapshot representing the state of a system, comprising an operating syste...">SystemSnapshot</a> reflecting the characteristics of the system that ran the snapshot process at the time of the snapshot. </p>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classcrashpad_1_1SystemSnapshot.html" title="An abstract interface to a snapshot representing the state of a system, comprising an operating syste...">SystemSnapshot</a> object. The caller does not take ownership of this object, it is scoped to the lifetime of the <a class="el" href="classcrashpad_1_1ProcessSnapshot.html" title="An abstract interface to a snapshot representing the state of a process.">ProcessSnapshot</a> object that it was obtained from. </dd></dl>
<p>Implements <a class="el" href="classcrashpad_1_1ProcessSnapshot.html#ac5b07daec385ab21d6e1e82d56677960">crashpad::ProcessSnapshot</a>.</p>
</div>
</div>
<a id="aa90fabf794e8aa436dc637de4a7e8bba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa90fabf794e8aa436dc637de4a7e8bba">&#9670;&nbsp;</a></span>Threads()</h2>
<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_1ThreadSnapshot.html">ThreadSnapshot</a> * &gt; crashpad::test::TestProcessSnapshot::Threads </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 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> objects reflecting the threads (lightweight processes) existing in the snapshot process at the time of the snapshot. </p>
<dl class="section return"><dt>Returns</dt><dd>A vector of <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> objects. The caller does not take ownership of these objects, they are scoped to the lifetime of the <a class="el" href="classcrashpad_1_1ProcessSnapshot.html" title="An abstract interface to a snapshot representing the state of a process.">ProcessSnapshot</a> object that they were obtained from. </dd></dl>
<p>Implements <a class="el" href="classcrashpad_1_1ProcessSnapshot.html#a90f301f9e6cc169c47c254636ddacb1d">crashpad::ProcessSnapshot</a>.</p>
</div>
</div>
<a id="a78cc8bba1f8bbc0347dcf0e1417e9a4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78cc8bba1f8bbc0347dcf0e1417e9a4c">&#9670;&nbsp;</a></span>UnloadedModules()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::vector&lt; <a class="el" href="classcrashpad_1_1UnloadedModuleSnapshot.html">UnloadedModuleSnapshot</a> &gt; crashpad::test::TestProcessSnapshot::UnloadedModules </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 class="el" href="classcrashpad_1_1UnloadedModuleSnapshot.html" title="Information about an unloaded module that was previously loaded into a snapshot process.">UnloadedModuleSnapshot</a> objects reflecting the code modules the were recorded as unloaded at the time of the snapshot. </p>
<dl class="section return"><dt>Returns</dt><dd>A vector of <a class="el" href="classcrashpad_1_1UnloadedModuleSnapshot.html" title="Information about an unloaded module that was previously loaded into a snapshot process.">UnloadedModuleSnapshot</a> objects. </dd></dl>
<p>Implements <a class="el" href="classcrashpad_1_1ProcessSnapshot.html#a5fcaf6d6c1f1d23b3ace73dfc1fb58d2">crashpad::ProcessSnapshot</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>snapshot/test/test_process_snapshot.h</li>
<li>snapshot/test/test_process_snapshot.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.18
</small></address>
</body>
</html>