diff --git a/doc/generated/doxygen/annotated.html b/doc/generated/doxygen/annotated.html index f9b731f8..1d8fa610 100644 --- a/doc/generated/doxygen/annotated.html +++ b/doc/generated/doxygen/annotated.html @@ -317,9 +317,10 @@ $(function() {
- - - + + + +Retrieves the IPC pipe name used to register with the Crashpad handler.
-This method retrieves the IPC pipe name set by SetHandlerIPCPipe(), or a suitable IPC pipe name chosen by StartHandler(). It is intended to be used to obtain the IPC pipe name so that it may be passed to other processes, so that they may register with an existing Crashpad handler by calling SetHandlerIPCPipe().
This method is only defined on Windows.
+This method retrieves the IPC pipe name set by SetHandlerIPCPipe(), or a suitable IPC pipe name chosen by StartHandler(). It must only be called after a successful call to one of those methods. It is intended to be used to obtain the IPC pipe name so that it may be passed to other processes, so that they may register with an existing Crashpad handler by calling SetHandlerIPCPipe().
"\\.\pipe\NAME"
. base::mac::ScopedMachSendRight crashpad::CrashpadClient::GetHandlerMachPort | +( | +) | +const | +
Retrieves a send right to the process’ crash handler Mach port.
+This method is only defined on macOS.
+This method can be used to obtain the crash handler Mach port when a Crashpad client process wishes to provide a send right to this port to another process. The IPC mechanism used to convey the right is under the application’s control. If the other process wishes to become a client of the same crash handler, it can provide the transferred right to SetHandlerMachPort().
+See StartHandler() for more detail on how the port and handler are configured.
+MACH_PORT_NULL
on failure with a message logged. timeout () cons
The documentation for this class was generated from the following files:
This is the complete list of members for crashpad::ToolSupport, including all inherited members.
diff --git a/doc/generated/doxygen/classcrashpad_1_1ToolSupport.html b/doc/generated/doxygen/classcrashpad_1_1ToolSupport.html index bb1b13fe..3aeefc72 100644 --- a/doc/generated/doxygen/classcrashpad_1_1ToolSupport.html +++ b/doc/generated/doxygen/classcrashpad_1_1ToolSupport.html @@ -102,6 +102,9 @@ Static Public Member Functions |
||
static base::FilePath::StringType | CommandLineArgumentToFilePathStringType (const base::StringPiece &arg) | |
Converts a command line argument to the string type suitable for base::FilePath. More... | ||
static std::string | FilePathToCommandLineArgument (const base::FilePath &file_path) | |
Converts a base::FilePath to a command line argument. More... | ||
Common functions used by command line tools.
@@ -132,7 +135,38 @@ Static Public Member FunctionsConverts a command line argument to the string type suitable for base::FilePath.
On POSIX, this is a no-op. On Windows, assumes that Wmain() was used, and the input argument was converted from UTF-16 in a wchar_t*
to UTF-8 in a char*
. This undoes that transformation.
+
|
+ +static | +
Converts a base::FilePath to a command line argument.
+On POSIX, this is a no-op. On Windows, this undoes the transformation done by CommandLineArgumentToFilePathStringType() in the same manner as Wmain().
+ Crashpad
+
+ |
+
This is the complete list of members for crashpad::WeakStdioFileWriter, including all inherited members.
+Seek(FileOffset offset, int whence) override | crashpad::WeakStdioFileWriter | virtual |
SeekGet() | crashpad::FileSeekerInterface | |
SeekSet(FileOffset offset) | crashpad::FileSeekerInterface | |
WeakStdioFileWriter(FILE *file) (defined in crashpad::WeakStdioFileWriter) | crashpad::WeakStdioFileWriter | explicit |
Write(const void *data, size_t size) override | crashpad::WeakStdioFileWriter | virtual |
WriteIoVec(std::vector< WritableIoVec > *iovecs) override | crashpad::WeakStdioFileWriter | virtual |
~FileSeekerInterface() (defined in crashpad::FileSeekerInterface) | crashpad::FileSeekerInterface | inlineprotected |
~FileWriterInterface() (defined in crashpad::FileWriterInterface) | crashpad::FileWriterInterface | inlinevirtual |
~WeakStdioFileWriter() override (defined in crashpad::WeakStdioFileWriter) | crashpad::WeakStdioFileWriter |
+ Crashpad
+
+ |
+
A file writer backed by a standard input/output FILE*
.
+ More...
#include "util/file/file_writer.h"
+Public Member Functions | |
+ | WeakStdioFileWriter (FILE *file) |
bool | Write (const void *data, size_t size) override |
Wraps LoggingWriteFile(), or provides an implementation with identical semantics. More... | |
bool | WriteIoVec (std::vector< WritableIoVec > *iovecs) override |
Wraps writev() on POSIX or provides an alternate implementation with identical semantics. This method will write entire buffers, continuing after a short write or after being interrupted. On non-POSIX this is a simple wrapper around Write(). More... | |
FileOffset | Seek (FileOffset offset, int whence) override |
Wraps LoggingSeekFile() or provides an alternate implementation with identical semantics. More... | |
![]() | |
FileOffset | SeekGet () |
Wraps Seek(), using SEEK_CUR to obtain the file’s current position. More... | |
bool | SeekSet (FileOffset offset) |
Wraps Seek(), using SEEK_SET , ensuring that the seek succeeded and the file is positioned as desired. More... | |
A file writer backed by a standard input/output FILE*
.
This class accepts an already-open FILE*
. It is not responsible for opening or closing this FILE*
. Users of this class must ensure that the FILE*
is closed appropriately elsewhere. Objects of this class may be used to write to FILE*
objects not associated with filesystem-based files, although special attention should be paid to the Seek() method, which may not function on FILE*
objects that do not refer to disk-based files.
This class is expected to be used when other code is responsible for opening FILE*
objects and already provides FILE*
objects. A good use would be a WeakStdioFileWriter for stdout
.
+
|
+ +overridevirtual | +
Wraps LoggingSeekFile() or provides an alternate implementation with identical semantics.
+-1
on failure, with an error message logged.FILE*
objects referring to disk-based files. Implements crashpad::FileSeekerInterface.
+ +
+
|
+ +overridevirtual | +
Wraps LoggingWriteFile(), or provides an implementation with identical semantics.
+true
if the operation succeeded, false
if it failed, with an error message logged. Implements crashpad::FileWriterInterface.
+ +
+
|
+ +overridevirtual | +
Wraps writev()
on POSIX or provides an alternate implementation with identical semantics. This method will write entire buffers, continuing after a short write or after being interrupted. On non-POSIX this is a simple wrapper around Write().
true
if the operation succeeded, false
if it failed, with an error message logged.Implements crashpad::FileWriterInterface.
+ + i |
f |
x |
x |
FILE*
. More...FILE*
. More...