OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Crashpad Authors. All rights reserved. |
| 2 // |
| 3 // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 // you may not use this file except in compliance with the License. |
| 5 // You may obtain a copy of the License at |
| 6 // |
| 7 // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 // |
| 9 // Unless required by applicable law or agreed to in writing, software |
| 10 // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 // See the License for the specific language governing permissions and |
| 13 // limitations under the License. |
| 14 |
| 15 :doctype: manpage |
| 16 |
| 17 = crashpad_handler(8) |
| 18 |
| 19 == Name |
| 20 |
| 21 crashpad_handler - Crashpad’s exception handler server |
| 22 |
| 23 == Synopsis |
| 24 |
| 25 [verse] |
| 26 *crashpad_handler* ['OPTION…'] |
| 27 |
| 28 == Description |
| 29 |
| 30 This program is Crashpad’s main exception-handling server. This server is |
| 31 normally started by its initial client, and it performs a handshake with this |
| 32 client via a pipe established by the client that is inherited by the server, |
| 33 referenced by the *--handshake-fd* argument. During the handshake, the server |
| 34 furnishes the client with a send right that the client may use as an exception |
| 35 port. The server retains the corresponding receive right, which it monitors for |
| 36 exception messages. When the receive right loses all senders, the server exits. |
| 37 |
| 38 It is not normally appropriate to invoke this program directly. Usually, it will |
| 39 be invoked by a Crashpad client using the Crashpad client library. Arbitrary |
| 40 programs may be run with a Crashpad handler by using run_with_crashpad(1) to |
| 41 establish the Crashpad client environment before running a program. |
| 42 |
| 43 == Options |
| 44 *-h*, *--handshake-fd*='FD':: |
| 45 Perform the handshake with the initial client on the file descriptor at 'FD'. |
| 46 |
| 47 *--help*:: |
| 48 Display help and exit. |
| 49 |
| 50 *--version*:: |
| 51 Output version information and exit. |
| 52 |
| 53 == Exit Status |
| 54 |
| 55 *0*:: |
| 56 Success. |
| 57 |
| 58 *1*:: |
| 59 Failure, with a message printed to the standard error stream. |
| 60 |
| 61 == See Also |
| 62 |
| 63 catch_exception_tool(1), |
| 64 generate_dump(1), |
| 65 run_with_crashpad(1) |
| 66 |
| 67 include::../../tools/man_footer.ad[] |
OLD | NEW |