<p>A request sent to a <aclass="el"href="classcrashpad_1_1PtraceBroker.html"title="Implements a PtraceConnection over a socket. ">PtraceBroker</a> from a <aclass="el"href="classcrashpad_1_1PtraceClient.html"title="Implements a PtraceConnection over a socket. ">PtraceClient</a>.
<trclass="memdesc:a17f43bd6507f36e2fad108479d4ea999"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The type of request to serve. <ahref="structcrashpad_1_1PtraceBroker_1_1Request.html#a17f43bd6507f36e2fad108479d4ea999">More...</a><br/></td></tr>
<trclass="memdesc:a505a324ad681ab0fb627183df677d2f6"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The version number for this <aclass="el"href="structcrashpad_1_1PtraceBroker_1_1Request.html"title="A request sent to a PtraceBroker from a PtraceClient. ">Request</a>. <br/></td></tr>
<trclass="memdesc:aeaf2944593020920cdd8e2315e3d5a69"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The thread ID associated with this request. Valid for kTypeAttach, kTypeGetThreadInfo, and kTypeReadMemory. <br/></td></tr>
<trclass="memdesc:a07a41636b3ebe89dd85618da4e26e45e"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The base address of the memory region. <br/></td></tr>
<trclass="memdesc:a95d3d6edf916229392f03159ce37758f"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The size of the memory region. <br/></td></tr>
<trclass="memdesc:a1fd112fd39f46ea2f7478d04043dbd7a"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Specifies the memory region to read for a kTypeReadMemory request. <br/></td></tr>
<trclass="memdesc:ae9340f627154fbef3045e0ddb5fe5ce7"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The number of bytes in <aclass="el"href="structcrashpad_1_1PtraceBroker_1_1Request.html#a6797c04b619b63309f4c5d7ca464d295"title="The file path to read. ">path</a>. The path should not include a <code>NUL</code>-terminator. <br/></td></tr>
<trclass="memdesc:aec981ea2ae94c4b97df170bcdd810831"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Specifies the file path to read for a kTypeReadFile request. <br/></td></tr>
<divclass="textblock"><p>A request sent to a <aclass="el"href="classcrashpad_1_1PtraceBroker.html"title="Implements a PtraceConnection over a socket. ">PtraceBroker</a> from a <aclass="el"href="classcrashpad_1_1PtraceClient.html"title="Implements a PtraceConnection over a socket. ">PtraceClient</a>. </p>
<tr><thcolspan="2">Enumerator</th></tr><tr><tdclass="fieldname"><aid="a17f43bd6507f36e2fad108479d4ea999a6c4ad8fb8f81d2daf6bb1d26d1da937a"></a>kTypeAttach </td><tdclass="fielddoc"><p><code>ptrace</code>-attach the specified thread ID. Responds with kBoolTrue on success, otherwise kBoolFalse, followed by an Errno. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a17f43bd6507f36e2fad108479d4ea999af03bf04c0abc1c3a09d49014e12c1407"></a>kTypeIs64Bit </td><tdclass="fielddoc"><p>Responds with kBoolTrue if the target process is 64-bit. Otherwise, kBoolFalse. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a17f43bd6507f36e2fad108479d4ea999a61e1a5c74e7eb369add6386a7281904a"></a>kTypeGetThreadInfo </td><tdclass="fielddoc"><p>Responds with a <aclass="el"href="structcrashpad_1_1PtraceBroker_1_1GetThreadInfoResponse.html"title="The response sent for a Request with type kTypeGetThreadInfo. ">GetThreadInfoResponse</a> containing a <aclass="el"href="structcrashpad_1_1ThreadInfo.html"title="A collection of ptrace-able information about a thread. ">ThreadInfo</a> for the specified thread ID. If an error occurs, <aclass="el"href="structcrashpad_1_1PtraceBroker_1_1GetThreadInfoResponse.html#a5bda26d861e6c0d6288618ec50db35b9"title="Specifies the success or failure of this call. ">GetThreadInfoResponse::success</a> is set to kBoolFalse and is followed by an Errno. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a17f43bd6507f36e2fad108479d4ea999a009cbfd8cee582baa254a8a579678980"></a>kTypeReadMemory </td><tdclass="fielddoc"><p>Reads memory from the attached process. The data is returned in a series of messages. Each message begins with an int32_t indicating the number of bytes read, 0 for end-of-file, or -1 for errors, followed by a ReadError. On success the bytes read follow. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a17f43bd6507f36e2fad108479d4ea999a5d94acaf928e6f21fc5f6711c8d5bfa7"></a>kTypeReadFile </td><tdclass="fielddoc"><p>Read a file's contents. The data is returned in a series of messages. The first message is an OpenResult, indicating the validity of the received file path. If the OpenResult is kOpenResultSuccess, each subsequent message begins with an int32_t indicating the number of bytes read, 0 for end-of-file, or -1 for errors, followed by an Errno. On success, the bytes read follow. </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a17f43bd6507f36e2fad108479d4ea999a0129b9368a0006420e4d48ea7cba3363"></a>kTypeExit </td><tdclass="fielddoc"><p>Causes the broker to return from <aclass="el"href="classcrashpad_1_1PtraceBroker.html#a7710bcabc694ce327838c0b537f2fdc4"title="Begin serving requests on the configured socket. ">Run()</a>, detaching all attached threads. Does not respond. </p>
</td></tr>
</table>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>util/linux/ptrace_broker.h</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hrclass="footer"/><addressclass="footer"><small>
Generated by  <ahref="http://www.doxygen.org/index.html">