class DumpBase

Defined at line 82 of file ../../src/lib/zxdump/include/lib/zxdump/dump.h

zxdump::ProcessDump

<zx

::process> or zxdump::ProcessDump

<zx

::unowned_process>

represents one dump being made from the process whose handle is transferred

or borrowed in the constructor argument. The same object can be reset and

used again to make another dump from the same process, but most often this

object is only kept alive while one dump is being collected and written out.

These are move-only, move-assignable, and default-constructible types.

The ProcessDumpBase class defines the public API for dumping even though the

class isn't used directly. The ProcessDump template class below adapts to

using this API with either an owned or an unowned process handle.

The methods to produce the dump output work with any callable object that

accepts a monotonically-increasing size_t offset in the "dump file" (really,

stream position) and a zxdump::ByteView chunk of output. That call should

return some `fit::result

<error

_type>` type. The methods here propagate any

error result by returning `fit::result

<error

_type, ...>` values.

zxdump::FdWriter (

<lib

/zxdump/fd-writer.h>) and similar objects return

callable objects meant to be passed in here.

Records