<trclass="memdesc:"><tdclass="mdescLeft"> </td><tdclass="mdescRight">This class enables reading note segments from an ELF image. <ahref="classcrashpad_1_1ElfImageReader_1_1NoteReader.html#details">More...</a><br/></td></tr>
<trclass="memdesc:a9a89b7570705f43a8a52b7cb7a2c9e63"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Initializes the reader. <ahref="#a9a89b7570705f43a8a52b7cb7a2c9e63">More...</a><br/></td></tr>
<trclass="memdesc:aa7d380b5d56ba94de33ad9e72e5b033f"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the base address of the image's memory range. <ahref="#aa7d380b5d56ba94de33ad9e72e5b033f">More...</a><br/></td></tr>
<trclass="memdesc:aff63ec7e00cd748e2395f35c0f32af15"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the size of the range containing all loaded segments for this image. <ahref="#aff63ec7e00cd748e2395f35c0f32af15">More...</a><br/></td></tr>
<trclass="memdesc:afd0483257628188753b1f70709b8cad6"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the file type for the image. <ahref="#afd0483257628188753b1f70709b8cad6">More...</a><br/></td></tr>
<trclass="memdesc:a8a5c9e9b48422e429866e07bd373080d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the load bias for the image. <ahref="#a8a5c9e9b48422e429866e07bd373080d">More...</a><br/></td></tr>
<trclass="memdesc:ac533f0b854f09963870e4457ff2bce3b"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Reads information from the dynamic symbol table about the symbol identified by <em>name</em>. <ahref="#ac533f0b854f09963870e4457ff2bce3b">More...</a><br/></td></tr>
<trclass="memdesc:a01391ffa016463a02e293a229e3fd554"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Reads a <code>NUL</code>-terminated C string from this image's dynamic string table. <ahref="#a01391ffa016463a02e293a229e3fd554">More...</a><br/></td></tr>
<trclass="memdesc:ae456b7627b37bf84f9241de34fde4bdb"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Determine the debug address. <ahref="#ae456b7627b37bf84f9241de34fde4bdb">More...</a><br/></td></tr>
<trclass="memdesc:a5458c4f58828fc39eacaa76ce4819cef"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Determine the address of <code>PT_DYNAMIC</code> segment. <ahref="#a5458c4f58828fc39eacaa76ce4819cef">More...</a><br/></td></tr>
<trclass="memdesc:ae10b55a8e2aad9cae071262285566be2"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Return the address of the program header table. <br/></td></tr>
<trclass="memdesc:a809de4755bc10bd8e4abc1d1be65607d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Return a <aclass="el"href="classcrashpad_1_1ElfImageReader_1_1NoteReader.html"title="This class enables reading note segments from an ELF image. ">NoteReader</a> for this image, which scans all PT_NOTE segments in the image. <ahref="#a809de4755bc10bd8e4abc1d1be65607d">More...</a><br/></td></tr>
<trclass="memdesc:a8341551fd2841c3f7fe423df7e96cb1f"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Return a <aclass="el"href="classcrashpad_1_1ElfImageReader_1_1NoteReader.html"title="This class enables reading note segments from an ELF image. ">NoteReader</a> for this image, which scans all PT_NOTE segments in the image, filtering by name and type. <ahref="#a8341551fd2841c3f7fe423df7e96cb1f">More...</a><br/></td></tr>
<trclass="memdesc:abeaff5b74a26198e7710933010f60fb9"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Return a <aclass="el"href="classcrashpad_1_1ProcessMemoryRange.html"title="Provides range protected access to the memory of another process. ">ProcessMemoryRange</a> restricted to the range of this image. <ahref="#abeaff5b74a26198e7710933010f60fb9">More...</a><br/></td></tr>
<trclass="memdesc:af5d598e330fdf85c9eb07174628ee6a7"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Retrieves the number of symbol table entries in <code>DT_SYMTAB</code> according to the data in the <code>DT_HASH</code> section. <ahref="#af5d598e330fdf85c9eb07174628ee6a7">More...</a><br/></td></tr>
<trclass="memdesc:ae15299d9203eac0d66ed38c1e9a47288"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Retrieves the number of symbol table entries in <code>DT_SYMTAB</code> according to the data in the <code>DT_GNU_HASH</code> section. <ahref="#ae15299d9203eac0d66ed38c1e9a47288">More...</a><br/></td></tr>
<p>This may differ from the address passed to <aclass="el"href="classcrashpad_1_1ElfImageReader.html#a9a89b7570705f43a8a52b7cb7a2c9e63"title="Initializes the reader. ">Initialize()</a> if the ELF header is not loaded at the start of the first <code>PT_LOAD</code> segment. </p>
<p>Determine the address of <code>PT_DYNAMIC</code> segment. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[out]</td><tdclass="paramname">address</td><td>The address of the array, valid if this method returns <code>true</code>. </td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> on success. Otherwise <code>false</code> with a message logged. </dd></dl>
<p>Reads information from the dynamic symbol table about the symbol identified by <em>name</em>. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">name</td><td>The name of the symbol to search for. </td></tr>
<tr><tdclass="paramdir">[out]</td><tdclass="paramname">address</td><td>The address of the symbol in the target process' address space, if found. </td></tr>
<tr><tdclass="paramdir">[out]</td><tdclass="paramname">size</td><td>The size of the symbol, if found. </td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> if the symbol was found. </dd></dl>
<p>Retrieves the number of symbol table entries in <code>DT_SYMTAB</code> according to the data in the <code>DT_GNU_HASH</code> section. </p>
<dlclass="section note"><dt>Note</dt><dd>Exposed for testing, not normally otherwise useful.</dd>
<dd>
Depending on the linker that generated the <code>DT_GNU_HASH</code> section, this value may not be as expected if there are zero exported symbols.</dd></dl>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[out]</td><tdclass="paramname">number_of_symbol_table_entries</td><td>The number of entries expected in <code>DT_SYMTAB</code>. </td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> if a <code>DT_GNU_HASH</code> section was found, and was read successfully, otherwise <code>false</code> with an error logged. </dd></dl>
<p>Retrieves the number of symbol table entries in <code>DT_SYMTAB</code> according to the data in the <code>DT_HASH</code> section. </p>
<dlclass="section note"><dt>Note</dt><dd>Exposed for testing, not normally otherwise useful.</dd></dl>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[out]</td><tdclass="paramname">number_of_symbol_table_entries</td><td>The number of entries expected in <code>DT_SYMTAB</code>. </td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> if a <code>DT_HASH</code> section was found, and was read successfully, otherwise <code>false</code> with an error logged. </dd></dl>
<p>This method must be called once on an object and must be successfully called before any other method in this class may be called.</p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">memory</td><td>A memory reader for the remote process. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">address</td><td>The address in the remote process' address space where the ELF image is loaded. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">verbose</td><td><code>true</code> if this method should log error messages during initialization. Setting this value to <code>false</code> will reduce the error messages relating to verifying the ELF image, but may not suppress logging entirely. </td></tr>
<p>Return a <aclass="el"href="classcrashpad_1_1ProcessMemoryRange.html"title="Provides range protected access to the memory of another process. ">ProcessMemoryRange</a> restricted to the range of this image. </p>
<p>The caller does not take ownership of the returned object. </p>
<p>Return a <aclass="el"href="classcrashpad_1_1ElfImageReader_1_1NoteReader.html"title="This class enables reading note segments from an ELF image. ">NoteReader</a> for this image, which scans all PT_NOTE segments in the image. </p>
<p>The returned <aclass="el"href="classcrashpad_1_1ElfImageReader_1_1NoteReader.html"title="This class enables reading note segments from an ELF image. ">NoteReader</a> is only valid for the lifetime of the <aclass="el"href="classcrashpad_1_1ElfImageReader.html"title="A reader for ELF images mapped into another process. ">ElfImageReader</a> that created it.</p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">max_note_size</td><td>The maximum note size to read. Notes whose combined name, descriptor, and padding size are greater than <em>max_note_size</em> will be silently skipped. A <em>max_note_size</em> of -1 indicates infinite maximum note size. </td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>A <aclass="el"href="classcrashpad_1_1ElfImageReader_1_1NoteReader.html"title="This class enables reading note segments from an ELF image. ">NoteReader</a> object capable of reading notes in this image. </dd></dl>
<p>Return a <aclass="el"href="classcrashpad_1_1ElfImageReader_1_1NoteReader.html"title="This class enables reading note segments from an ELF image. ">NoteReader</a> for this image, which scans all PT_NOTE segments in the image, filtering by name and type. </p>
<p>The returned <aclass="el"href="classcrashpad_1_1ElfImageReader_1_1NoteReader.html"title="This class enables reading note segments from an ELF image. ">NoteReader</a> is only valid for the lifetime of the <aclass="el"href="classcrashpad_1_1ElfImageReader.html"title="A reader for ELF images mapped into another process. ">ElfImageReader</a> that created it.</p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">name</td><td>The note name to match. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">type</td><td>The note type to match. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">max_note_size</td><td>The maximum note size to read. Notes whose combined name, descriptor, and padding size are greater than <em>max_note_size</em> will be silently skipped. A <em>max_note_size</em> of -1 indicates infinite maximum note size. </td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>A <aclass="el"href="classcrashpad_1_1ElfImageReader_1_1NoteReader.html"title="This class enables reading note segments from an ELF image. ">NoteReader</a> object capable of reading notes in this image. </dd></dl>