mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-21 19:23:46 +00:00
193 lines
14 KiB
HTML
193 lines
14 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.12"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>Crashpad: MINIDUMP_EXCEPTION Struct Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
<link href="crashpad_doxygen.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">Crashpad
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.12 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-attribs">Public Attributes</a> |
|
|
<a href="structMINIDUMP__EXCEPTION-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">MINIDUMP_EXCEPTION Struct Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Information about an exception that occurred in the process.
|
|
<a href="structMINIDUMP__EXCEPTION.html#details">More...</a></p>
|
|
|
|
<p><code>#include "dbghelp.h"</code></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
|
Public Attributes</h2></td></tr>
|
|
<tr class="memitem:ab6a3e2b22e571abef6c879eed52d292e"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structMINIDUMP__EXCEPTION.html#ab6a3e2b22e571abef6c879eed52d292e">ExceptionCode</a></td></tr>
|
|
<tr class="memdesc:ab6a3e2b22e571abef6c879eed52d292e"><td class="mdescLeft"> </td><td class="mdescRight">The top-level exception code identifying the exception, in operating system-specific values. <a href="#ab6a3e2b22e571abef6c879eed52d292e">More...</a><br /></td></tr>
|
|
<tr class="separator:ab6a3e2b22e571abef6c879eed52d292e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a790cc793a96f090e848160f8d7757ce9"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structMINIDUMP__EXCEPTION.html#a790cc793a96f090e848160f8d7757ce9">ExceptionFlags</a></td></tr>
|
|
<tr class="memdesc:a790cc793a96f090e848160f8d7757ce9"><td class="mdescLeft"> </td><td class="mdescRight">Additional exception flags that further identify the exception, in operating system-specific values. <a href="#a790cc793a96f090e848160f8d7757ce9">More...</a><br /></td></tr>
|
|
<tr class="separator:a790cc793a96f090e848160f8d7757ce9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acfa95816daebbd4603b2423013761c05"><td class="memItemLeft" align="right" valign="top"><a id="acfa95816daebbd4603b2423013761c05"></a>
|
|
uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structMINIDUMP__EXCEPTION.html#acfa95816daebbd4603b2423013761c05">ExceptionRecord</a></td></tr>
|
|
<tr class="memdesc:acfa95816daebbd4603b2423013761c05"><td class="mdescLeft"> </td><td class="mdescRight">An address, in the address space of the process that this minidump file contains a snapshot of, of another <a class="el" href="structMINIDUMP__EXCEPTION.html" title="Information about an exception that occurred in the process. ">MINIDUMP_EXCEPTION</a>. This field is used for nested exceptions. <br /></td></tr>
|
|
<tr class="separator:acfa95816daebbd4603b2423013761c05"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a90415942a28bed1cf46a96866713423a"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structMINIDUMP__EXCEPTION.html#a90415942a28bed1cf46a96866713423a">ExceptionAddress</a></td></tr>
|
|
<tr class="memdesc:a90415942a28bed1cf46a96866713423a"><td class="mdescLeft"> </td><td class="mdescRight">The address that caused the exception. <a href="#a90415942a28bed1cf46a96866713423a">More...</a><br /></td></tr>
|
|
<tr class="separator:a90415942a28bed1cf46a96866713423a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a29c7d61cd5eddf5c4f493bae40cd2679"><td class="memItemLeft" align="right" valign="top"><a id="a29c7d61cd5eddf5c4f493bae40cd2679"></a>
|
|
uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structMINIDUMP__EXCEPTION.html#a29c7d61cd5eddf5c4f493bae40cd2679">NumberParameters</a></td></tr>
|
|
<tr class="memdesc:a29c7d61cd5eddf5c4f493bae40cd2679"><td class="mdescLeft"> </td><td class="mdescRight">The number of valid elements in <a class="el" href="structMINIDUMP__EXCEPTION.html#a5a8ba606d8065108a3053c7bb339822a" title="Additional information about the exception, specific to the operating system and possibly the Excepti...">ExceptionInformation</a>. <br /></td></tr>
|
|
<tr class="separator:a29c7d61cd5eddf5c4f493bae40cd2679"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a34f78bf017382cb114977b3af814653e"><td class="memItemLeft" align="right" valign="top"><a id="a34f78bf017382cb114977b3af814653e"></a>
|
|
uint32_t </td><td class="memItemRight" valign="bottom"><b>__unusedAlignment</b></td></tr>
|
|
<tr class="separator:a34f78bf017382cb114977b3af814653e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5a8ba606d8065108a3053c7bb339822a"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structMINIDUMP__EXCEPTION.html#a5a8ba606d8065108a3053c7bb339822a">ExceptionInformation</a> [<a class="el" href="winnt_8h.html#a3cd1c98b6babaa34a71c020782244ae2">EXCEPTION_MAXIMUM_PARAMETERS</a>]</td></tr>
|
|
<tr class="memdesc:a5a8ba606d8065108a3053c7bb339822a"><td class="mdescLeft"> </td><td class="mdescRight">Additional information about the exception, specific to the operating system and possibly the <a class="el" href="structMINIDUMP__EXCEPTION.html#ab6a3e2b22e571abef6c879eed52d292e" title="The top-level exception code identifying the exception, in operating system-specific values...">ExceptionCode</a>. <a href="#a5a8ba606d8065108a3053c7bb339822a">More...</a><br /></td></tr>
|
|
<tr class="separator:a5a8ba606d8065108a3053c7bb339822a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Information about an exception that occurred in the process. </p>
|
|
</div><h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="a90415942a28bed1cf46a96866713423a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a90415942a28bed1cf46a96866713423a">§ </a></span>ExceptionAddress</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint64_t MINIDUMP_EXCEPTION::ExceptionAddress</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The address that caused 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. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab6a3e2b22e571abef6c879eed52d292e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab6a3e2b22e571abef6c879eed52d292e">§ </a></span>ExceptionCode</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint32_t MINIDUMP_EXCEPTION::ExceptionCode</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>The top-level exception code identifying the exception, in operating system-specific values. </p>
|
|
<p>For macOS minidumps, 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="structMINIDUMP__EXCEPTION.html#a5a8ba606d8065108a3053c7bb339822a" title="Additional information about the exception, specific to the operating system and possibly the Excepti...">ExceptionInformation</a>.</p>
|
|
<p>For Windows minidumps, this will be an <code>EXCEPTION_*</code> exception type, such as <code>EXCEPTION_ACCESS_VIOLATION</code>.</p>
|
|
<dl class="section note"><dt>Note</dt><dd>This field is named ExceptionCode, but what is known as the “exception code” on macOS/Mach is actually stored in the <a class="el" href="structMINIDUMP__EXCEPTION.html#a790cc793a96f090e848160f8d7757ce9" title="Additional exception flags that further identify the exception, in operating system-specific values...">ExceptionFlags</a> field of a minidump file.</dd></dl>
|
|
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000001">Todo:</a></b></dt><dd>Document the possible values by OS. There may be OS-specific enums in minidump_extensions.h. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a790cc793a96f090e848160f8d7757ce9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a790cc793a96f090e848160f8d7757ce9">§ </a></span>ExceptionFlags</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint32_t MINIDUMP_EXCEPTION::ExceptionFlags</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Additional exception flags that further identify the exception, in operating system-specific values. </p>
|
|
<p>For macOS minidumps, this will be the value of the exception code at index 0 as received by a Mach exception handler, except:</p><ul>
|
|
<li>For exception type <code>EXC_CRASH</code> 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 exception types <code>EXC_RESOURCE</code> and <code>EXC_GUARD</code>, the high 32 bits of the code received by the Mach exception handler will appear here.</li>
|
|
</ul>
|
|
<p>In all cases for macOS minidumps, the code as it was received by the Mach exception handler will appear at index 1 of <a class="el" href="structMINIDUMP__EXCEPTION.html#a5a8ba606d8065108a3053c7bb339822a" title="Additional information about the exception, specific to the operating system and possibly the Excepti...">ExceptionInformation</a>.</p>
|
|
<p>For Windows minidumps, this will either be <code>0</code> if the exception is continuable, or <code>EXCEPTION_NONCONTINUABLE</code> to indicate a noncontinuable exception.</p>
|
|
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000002">Todo:</a></b></dt><dd>Document the possible values by OS. There may be OS-specific enums in minidump_extensions.h. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5a8ba606d8065108a3053c7bb339822a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5a8ba606d8065108a3053c7bb339822a">§ </a></span>ExceptionInformation</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint64_t MINIDUMP_EXCEPTION::ExceptionInformation[<a class="el" href="winnt_8h.html#a3cd1c98b6babaa34a71c020782244ae2">EXCEPTION_MAXIMUM_PARAMETERS</a>]</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Additional information about the exception, specific to the operating system and possibly the <a class="el" href="structMINIDUMP__EXCEPTION.html#ab6a3e2b22e571abef6c879eed52d292e" title="The top-level exception code identifying the exception, in operating system-specific values...">ExceptionCode</a>. </p>
|
|
<p>For macOS minidumps, this will contain the exception type as received by a Mach exception handler and the values of the <code>codes[0]</code> and <code>codes[1]</code> (exception code and subcode) parameters supplied to the Mach exception handler. Unlike <a class="el" href="structMINIDUMP__EXCEPTION.html#ab6a3e2b22e571abef6c879eed52d292e" title="The top-level exception code identifying the exception, in operating system-specific values...">ExceptionCode</a> and <a class="el" href="structMINIDUMP__EXCEPTION.html#a790cc793a96f090e848160f8d7757ce9" title="Additional exception flags that further identify the exception, in operating system-specific values...">ExceptionFlags</a>, the values received by a Mach exception handler are used directly here even for the <code>EXC_CRASH</code>, <code>EXC_RESOURCE</code>, and <code>EXC_GUARD</code> exception types. For Windows, these are additional arguments (if any) as provided to <code>RaiseException()</code>. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this struct was generated from the following file:<ul>
|
|
<li>compat/non_win/<a class="el" href="dbghelp_8h.html">dbghelp.h</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.12
|
|
</small></address>
|
|
</body>
|
|
</html>
|