<areahref="classcrashpad_1_1internal_1_1ModuleSnapshotMac.html"title="A ModuleSnapshot of a code module (binary image) loaded into a running (or crashed) process on a Mac ..."alt="crashpad::internal::ModuleSnapshotMac"shape="rect"coords="0,56,267,80"/>
<areahref="classcrashpad_1_1internal_1_1ModuleSnapshotMinidump.html"title="A ModuleSnapshot based on a module in a minidump file. "alt="crashpad::internal::ModuleSnapshotMinidump"shape="rect"coords="277,56,544,80"/>
<areahref="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html"title="A ModuleSnapshot of a code module (binary image) loaded into a running (or crashed) process on a Wind..."alt="crashpad::internal::ModuleSnapshotWin"shape="rect"coords="554,56,821,80"/>
<areahref="classcrashpad_1_1test_1_1TestModuleSnapshot.html"title="A test ModuleSnapshot that can carry arbitrary data for testing purposes. "alt="crashpad::test::TestModuleSnapshot"shape="rect"coords="831,56,1098,80"/>
<trclass="memdesc:aa0ab6a719fbb6f63d73e05086fe4a314"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the module’s pathname. <br/></td></tr>
<trclass="memdesc:abc7ba093097dc019648a2e58126c1df8"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the base address that the module is loaded at in the snapshot process. <br/></td></tr>
<trclass="memdesc:ac412fbdc86c4b0862f74f7b06170469a"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the size that the module occupies in the snapshot process’ address space, starting at its base address. <ahref="#ac412fbdc86c4b0862f74f7b06170469a">More...</a><br/></td></tr>
<trclass="memdesc:a061dbd6816d0524396af0063e6976adb"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the module’s timestamp, if known. <ahref="#a061dbd6816d0524396af0063e6976adb">More...</a><br/></td></tr>
<trclass="memdesc:a6b3f4831720290e2ab5460ef21ff7443"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the module’s file version in the <em>version_*</em> parameters. <ahref="#a6b3f4831720290e2ab5460ef21ff7443">More...</a><br/></td></tr>
<trclass="memdesc:a5ec8c62e1ff32421b01bf2677ad66761"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the module’s source version in the <em>version_*</em> parameters. <ahref="#a5ec8c62e1ff32421b01bf2677ad66761">More...</a><br/></td></tr>
<trclass="memdesc:a24a9de66bb92e51ac5bb3f04f076a119"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the module’s <aclass="el"href="structcrashpad_1_1UUID.html"title="A universally unique identifier (UUID). ">UUID</a> in the <em>uuid</em> parameter, and the age of that <aclass="el"href="structcrashpad_1_1UUID.html"title="A universally unique identifier (UUID). ">UUID</a> in <em>age</em>. <ahref="#a24a9de66bb92e51ac5bb3f04f076a119">More...</a><br/></td></tr>
<trclass="memdesc:aa08595e35c34bb13e456cddb4f40f698"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the module’s debug file info name. <ahref="#aa08595e35c34bb13e456cddb4f40f698">More...</a><br/></td></tr>
<trclass="memdesc:a11075b25729fda7cf96ed8c8b25061a2"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns string annotations recorded in the module. <ahref="#a11075b25729fda7cf96ed8c8b25061a2">More...</a><br/></td></tr>
<trclass="memdesc:a4d1328fda3e91a4c25369b5fcc4cf2f6"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns key-value string annotations recorded in the module. <ahref="#a4d1328fda3e91a4c25369b5fcc4cf2f6">More...</a><br/></td></tr>
<trclass="memdesc:a3e92412e68aa4a7e9d55fb1bf3fbafb5"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a set of extra memory ranges specified in the module as being desirable to include in the crash dump. <br/></td></tr>
<trclass="memdesc:ac8e8b541c1ff276f8c55a75b7562546c"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a list of custom minidump stream specified in the module to be included in the crash dump. <ahref="#ac8e8b541c1ff276f8c55a75b7562546c">More...</a><br/></td></tr>
<tr><thcolspan="2">Enumerator</th></tr><tr><tdclass="fieldname"><aid="a7fd77f711ef04d87ece6e04d48d219f7a0d87f3e0be43a8c34d84c5091547bc07"></a>kModuleTypeUnknown </td><tdclass="fielddoc"><p>The module’s type is unknown. </p>
<tr><tdclass="fieldname"><aid="a7fd77f711ef04d87ece6e04d48d219f7a5aa857de5460564df477961eac703929"></a>kModuleTypeExecutable </td><tdclass="fielddoc"><p>The module is a main executable. </p>
<tr><tdclass="fieldname"><aid="a7fd77f711ef04d87ece6e04d48d219f7a05280dd34028b7d52eb7488ec8a3e96b"></a>kModuleTypeSharedLibrary </td><tdclass="fielddoc"><p>The module is a shared library. </p>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="classcrashpad_1_1ModuleSnapshot.html#a7fd77f711ef04d87ece6e04d48d219f7aa31aa8a3aa331f3dcf49bf57d2d56b0c"title="The module is a loadable module. ">kModuleTypeLoadableModule</a></dd></dl>
<tr><tdclass="fieldname"><aid="a7fd77f711ef04d87ece6e04d48d219f7aa31aa8a3aa331f3dcf49bf57d2d56b0c"></a>kModuleTypeLoadableModule </td><tdclass="fielddoc"><p>The module is a loadable module. </p>
<p>On some platforms, loadable modules are distinguished from shared libraries. On these platforms, a shared library is a module that another module links against directly, and a loadable module is not. Loadable modules tend to be binary plug-ins. </p>
<tr><tdclass="fieldname"><aid="a7fd77f711ef04d87ece6e04d48d219f7afcee6c62064ab77825b89e4b444e3f81"></a>kModuleTypeDynamicLoader </td><tdclass="fielddoc"><p>The module is a dynamic loader. </p>
<p>This is the module responsible for loading other modules. This is normally <code>dyld</code> for macOS and <code>ld.so</code> for Linux and other systems using ELF. </p>
<p>Returns key-value string annotations recorded in the module. </p>
<p>This method retrieves annotations recorded in a module. 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>For macOS snapshots, these annotations are found by interpreting the <code>__DATA,crashpad_info</code> section as <code><aclass="el"href="structcrashpad_1_1CrashpadInfo.html"title="A structure that can be used by a Crashpad-enabled program to provide information to the Crashpad cra...">CrashpadInfo</a></code>. Clients can use the Crashpad client interface to store annotations in this structure. Most annotations under the client’s direct control will be retrievable by this method. For clients such as Chrome, this includes the process type.</p>
<p>The annotations returned by this method do not duplicate those returned by <aclass="el"href="classcrashpad_1_1ModuleSnapshot.html#a11075b25729fda7cf96ed8c8b25061a2"title="Returns string annotations recorded in the module. ">AnnotationsVector()</a>. Additional annotations related to the process, system, or snapshot producer may be obtained by calling <aclass="el"href="classcrashpad_1_1ProcessSnapshot.html#a7f39b29ec055fb4235e5156d55e066cb"title="Returns key-value string annotations recorded for the process, system, or snapshot producer...">ProcessSnapshot::AnnotationsSimpleMap()</a>. </p>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestModuleSnapshot.html#a2cab3a5791597068c5585aaebf9faa4e">crashpad::test::TestModuleSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#a4122d0649c3513608f070f234a6013b9">crashpad::internal::ModuleSnapshotWin</a>, <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotMac.html#a54d28a9f4cd06f2446e6fcaa288360f7">crashpad::internal::ModuleSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotMinidump.html#a5650eaea4d201ffa29b0dda5bcce1cf1">crashpad::internal::ModuleSnapshotMinidump</a>.</p>
<p>Returns string annotations recorded in the module. </p>
<p>This method retrieves annotations recorded in a module. These annotations are intended for diagnostic use, including crash analysis. A module may contain multiple annotations, so they are returned in a vector.</p>
<p>For macOS snapshots, these annotations are found by interpreting the module’s <code>__DATA,__crash_info</code> section as <code>crashreporter_annotations_t</code>. System libraries using the crash reporter client interface may reference annotations in this structure. Additional annotations messages may be found in other locations, which may be module-specific. The dynamic linker (<code>dyld</code>) can provide an annotation at its <code>_error_string</code> symbol.</p>
<p>The annotations returned by this method do not duplicate those returned by <aclass="el"href="classcrashpad_1_1ModuleSnapshot.html#a4d1328fda3e91a4c25369b5fcc4cf2f6"title="Returns key-value string annotations recorded in the module. ">AnnotationsSimpleMap()</a>. </p>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestModuleSnapshot.html#a97cdfcc95cf23d6be000e59baa7b457b">crashpad::test::TestModuleSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#a6fdf9a63074896bf2c12e6df89689411">crashpad::internal::ModuleSnapshotWin</a>, <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotMac.html#a8c043511c3c3c543993da252948dfea9">crashpad::internal::ModuleSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotMinidump.html#a19863780827939572c3ea36ef0077dbe">crashpad::internal::ModuleSnapshotMinidump</a>.</p>
<p>Returns a list of custom minidump stream specified in the module to be included in the crash dump. </p>
<dlclass="section return"><dt>Returns</dt><dd>The caller does not take ownership of the returned objects, they are scoped to the lifetime of the <aclass="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> object that they were obtained from. </dd></dl>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestModuleSnapshot.html#a714541292435f313f7af71ef005db2da">crashpad::test::TestModuleSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#ad816634de2d091060bb064170401976a">crashpad::internal::ModuleSnapshotWin</a>, <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotMac.html#a2817f923a6d90c1cd8d3966c2791f1e5">crashpad::internal::ModuleSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotMinidump.html#ae2a29aa22898ecad48a4d91bc4e0e64d">crashpad::internal::ModuleSnapshotMinidump</a>.</p>
<p>On Windows, this references the PDB file, which contains symbol information held separately from the module itself. On other platforms, this is normally the basename of the module, because the debug info file’s name is not relevant even in split-debug scenarios.</p>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="classcrashpad_1_1ModuleSnapshot.html#a24a9de66bb92e51ac5bb3f04f076a119"title="Returns the module’s UUID in the uuid parameter, and the age of that UUID in age. ">UUIDAndAge()</a></dd></dl>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestModuleSnapshot.html#a718634cb14e12d27fd1e531dd292a3be">crashpad::test::TestModuleSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#ae819d7011878cb9aed89cd1b693cc721">crashpad::internal::ModuleSnapshotWin</a>, <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotMac.html#a62bb8650ee3d30f289e70b9bd6c0bde3">crashpad::internal::ModuleSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotMinidump.html#ab5640b14a706cc30ade77dd4dba6e1c7">crashpad::internal::ModuleSnapshotMinidump</a>.</p>
<p>For macOS snapshots, this is taken from the module’s <code>LC_ID_DYLIB</code> load command for shared libraries, and is <code>0</code> for other module types. </p>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestModuleSnapshot.html#ae82618e4945d0fa2f5e735578be3aa55">crashpad::test::TestModuleSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#a360ff8c4593575bec6cf5ad9d095fa3c">crashpad::internal::ModuleSnapshotWin</a>, <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotMac.html#ab124235bd262034c5ec432f663ee7967">crashpad::internal::ModuleSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotMinidump.html#a68b5f5bf99675f59afaad3bdf785bad6">crashpad::internal::ModuleSnapshotMinidump</a>.</p>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestModuleSnapshot.html#ac0d8018d626a6d53f6a9bd674e0a9623">crashpad::test::TestModuleSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#af3935e2bc946adce23c3fb95cc8456d9">crashpad::internal::ModuleSnapshotWin</a>, <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotMac.html#a084373912d84b791e4c13a2229976e06">crashpad::internal::ModuleSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotMinidump.html#a8b7ca559f3006665795118852f2bab89">crashpad::internal::ModuleSnapshotMinidump</a>.</p>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestModuleSnapshot.html#ad276752e9ca47b67d5e36991f0816009">crashpad::test::TestModuleSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#a51fff655bd3faecb23127fd2f39777fc">crashpad::internal::ModuleSnapshotWin</a>, <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotMac.html#a457e1c01f5506646c24b721fa89eec99">crashpad::internal::ModuleSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotMinidump.html#a8184f644b6d4eace129f9918673789de">crashpad::internal::ModuleSnapshotMinidump</a>.</p>
<p>The timestamp is typically the modification time of the file that provided the module in <code>time_t</code> format, seconds since the POSIX epoch. If the module’s timestamp is unknown, this method returns <code>0</code>. </p>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestModuleSnapshot.html#a2117384e0e2a32c50b5f79a37c8cbc69">crashpad::test::TestModuleSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#a713af5d32c8dbe656520fe780b1d2fdc">crashpad::internal::ModuleSnapshotWin</a>, <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotMac.html#a85f4158887da0a68166d878c2b2c8af9">crashpad::internal::ModuleSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotMinidump.html#a875a58ab05c48a7009eb82455a0376c6">crashpad::internal::ModuleSnapshotMinidump</a>.</p>
<p>Returns the module’s <aclass="el"href="structcrashpad_1_1UUID.html"title="A universally unique identifier (UUID). ">UUID</a> in the <em>uuid</em> parameter, and the age of that <aclass="el"href="structcrashpad_1_1UUID.html"title="A universally unique identifier (UUID). ">UUID</a> in <em>age</em>. </p>
<p>A snapshot module’s <aclass="el"href="structcrashpad_1_1UUID.html"title="A universally unique identifier (UUID). ">UUID</a> is taken directly from the module itself. If the module does not have a <aclass="el"href="structcrashpad_1_1UUID.html"title="A universally unique identifier (UUID). ">UUID</a>, the <em>uuid</em> parameter will be zeroed out.</p>
<p><em>age</em> is the number of times the <aclass="el"href="structcrashpad_1_1UUID.html"title="A universally unique identifier (UUID). ">UUID</a> has been reused. This occurs on Windows with incremental linking. On other platforms <em>age</em> will always be <code>0</code>.</p>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="classcrashpad_1_1ModuleSnapshot.html#aa08595e35c34bb13e456cddb4f40f698"title="Returns the module’s debug file info name. ">DebugFileName()</a></dd></dl>
<p>Implemented in <aclass="el"href="classcrashpad_1_1test_1_1TestModuleSnapshot.html#a74ace0376367c9f1fccdbc52f8922de0">crashpad::test::TestModuleSnapshot</a>, <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotWin.html#a7a18b084cf48b7a53f9d660e9339428f">crashpad::internal::ModuleSnapshotWin</a>, <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotMac.html#a83c57596fdff2d1bc67d2727be72c2ee">crashpad::internal::ModuleSnapshotMac</a>, and <aclass="el"href="classcrashpad_1_1internal_1_1ModuleSnapshotMinidump.html#ac874f6717e8e81464bff57db2274add5">crashpad::internal::ModuleSnapshotMinidump</a>.</p>