<ahref="#pub-methods">Public Member Functions</a>|
<ahref="classcrashpad_1_1ProcessSubrangeReader-members.html">List of all members</a></div>
<divclass="headertitle">
<divclass="title">crashpad::ProcessSubrangeReader Class Reference</div></div>
</div><!--header-->
<divclass="contents">
<p>A wrapper for <aclass="el"href="classcrashpad_1_1ProcessReaderWin.html"title="Accesses information about another process, identified by a HANDLE. ">ProcessReaderWin</a> that only allows a specific subrange to be read from.
<trclass="memdesc:af553e32780f4661a07fdec8e4aafbbf3"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Initializes the object. <ahref="#af553e32780f4661a07fdec8e4aafbbf3">More...</a><br/></td></tr>
<trclass="memdesc:a9973cac80710c00a9ef625e5b151e75f"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Initializes the object to a subrange of an existing <aclass="el"href="classcrashpad_1_1ProcessSubrangeReader.html"title="A wrapper for ProcessReaderWin that only allows a specific subrange to be read from. ">ProcessSubrangeReader</a>. <ahref="#a9973cac80710c00a9ef625e5b151e75f">More...</a><br/></td></tr>
<trclass="memdesc:aff3db97a5a2160407c12aeca45b36544"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Reads memory from the remote process. <ahref="#aff3db97a5a2160407c12aeca45b36544">More...</a><br/></td></tr>
<divclass="textblock"><p>A wrapper for <aclass="el"href="classcrashpad_1_1ProcessReaderWin.html"title="Accesses information about another process, identified by a HANDLE. ">ProcessReaderWin</a> that only allows a specific subrange to be read from. </p>
<p>This class is useful to restrict reads to a specific address range, such as the address range occupied by a loaded module, or a specific section within a module. </p>
</div><h2class="groupheader">Member Function Documentation</h2>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">process_reader</td><td>A reader for a remote process. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">base</td><td>The base address for the range that reads should be restricted to. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">size</td><td>The size of the range that reads should be restricted to. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">name</td><td>The range’s name, a string to be used in logged messages. This string is for diagnostic purposes.</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> on success, <code>false</code> on failure with a message logged. The other methods in this class must not be called unless this method or <aclass="el"href="classcrashpad_1_1ProcessSubrangeReader.html#a9973cac80710c00a9ef625e5b151e75f"title="Initializes the object to a subrange of an existing ProcessSubrangeReader. ">InitializeSubrange()</a> has returned true. </dd></dl>
<p>Initializes the object to a subrange of an existing <aclass="el"href="classcrashpad_1_1ProcessSubrangeReader.html"title="A wrapper for ProcessReaderWin that only allows a specific subrange to be read from. ">ProcessSubrangeReader</a>. </p>
<p>The subrange identified by <em>base</em> and <em>size</em> must be contained within the subrange in <em>that</em>.</p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">that</td><td>The existing <aclass="el"href="classcrashpad_1_1ProcessSubrangeReader.html"title="A wrapper for ProcessReaderWin that only allows a specific subrange to be read from. ">ProcessSubrangeReader</a> to base the new object on. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">base</td><td>The base address for the range that reads should be restricted to. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">size</td><td>The size of the range that reads should be restricted to. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">sub_name</td><td>A description of the subrange, which will be appended to the <em>name</em> in <em>that</em> and used in logged messages. This string is for diagnostic purposes.</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> on success, <code>false</code> on failure with a message logged. The other methods in this class must not be called unless this method or <aclass="el"href="classcrashpad_1_1ProcessSubrangeReader.html#af553e32780f4661a07fdec8e4aafbbf3"title="Initializes the object. ">Initialize()</a> has returned true. </dd></dl>