Crashpad
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Loading...
Searching...
No Matches
crashpad::MinidumpModuleCodeViewRecordPDB20Writer Class Referencefinal

The writer for a CodeViewRecordPDB20 object in a minidump file. More...

#include "minidump/minidump_module_writer.h"

Inheritance diagram for crashpad::MinidumpModuleCodeViewRecordPDB20Writer:
[legend]
Collaboration diagram for crashpad::MinidumpModuleCodeViewRecordPDB20Writer:
[legend]

Public Member Functions

 MinidumpModuleCodeViewRecordPDB20Writer (const MinidumpModuleCodeViewRecordPDB20Writer &)=delete
 
MinidumpModuleCodeViewRecordPDB20Writeroperator= (const MinidumpModuleCodeViewRecordPDB20Writer &)=delete
 
void SetTimestampAndAge (time_t timestamp, uint32_t age)
 Sets CodeViewRecordPDB20::timestamp and CodeViewRecordPDB20::age.
 
- Public Member Functions inherited from crashpad::internal::MinidumpModuleCodeViewRecordPDBLinkWriter< CodeViewRecordPDB20 >
 MinidumpModuleCodeViewRecordPDBLinkWriter (const MinidumpModuleCodeViewRecordPDBLinkWriter &)=delete
 
MinidumpModuleCodeViewRecordPDBLinkWriteroperator= (const MinidumpModuleCodeViewRecordPDBLinkWriter &)=delete
 
void SetPDBName (const std::string &pdb_name)
 Sets the name of the .pdb file being linked to.
 
- Public Member Functions inherited from crashpad::MinidumpModuleCodeViewRecordWriter
 MinidumpModuleCodeViewRecordWriter (const MinidumpModuleCodeViewRecordWriter &)=delete
 
MinidumpModuleCodeViewRecordWriteroperator= (const MinidumpModuleCodeViewRecordWriter &)=delete
 
- Public Member Functions inherited from crashpad::internal::MinidumpWritable
 MinidumpWritable (const MinidumpWritable &)=delete
 
MinidumpWritableoperator= (const MinidumpWritable &)=delete
 
virtual bool WriteEverything (FileWriterInterface *file_writer)
 Writes an object and all of its children to a minidump file.
 
void RegisterRVA (RVA *rva)
 Registers a file offset pointer as one that should point to the object on which this method is called.
 
void RegisterRVA (RVA64 *rva)
 
void RegisterLocationDescriptor (MINIDUMP_LOCATION_DESCRIPTOR *location_descriptor)
 Registers a location descriptor as one that should point to the object on which this method is called.
 
void RegisterLocationDescriptor (MINIDUMP_LOCATION_DESCRIPTOR64 *location_descriptor64)
 

Additional Inherited Members

- Protected Types inherited from crashpad::internal::MinidumpWritable
enum  State
 Identifies the state of an object. More...
 
enum  Phase
 Identifies the phase during which an object will be written to a minidump file. More...
 
- Protected Member Functions inherited from crashpad::internal::MinidumpModuleCodeViewRecordPDBLinkWriter< CodeViewRecordPDB20 >
size_t SizeOfObject () override
 Returns the amount of space that this object will consume when written to a minidump file, in bytes, not including any leading or trailing padding necessary to maintain proper alignment.
 
bool WriteObject (FileWriterInterface *file_writer) override
 Writes the object’s content.
 
CodeViewRecordPDB20codeview_record ()
 Returns a pointer to the raw CodeView record’s data.
 
- Protected Member Functions inherited from crashpad::internal::MinidumpWritable
State state () const
 The state of the object.
 
virtual bool Freeze ()
 Transitions the object from kStateMutable to kStateFrozen.
 
virtual size_t Alignment ()
 Returns the object’s desired byte-boundary alignment.
 
virtual std::vector< MinidumpWritable * > Children ()
 Returns the object’s children.
 
virtual Phase WritePhase ()
 Returns the object’s desired write phase.
 
size_t WillWriteAtOffset (Phase phase, FileOffset *offset, std::vector< MinidumpWritable * > *write_sequence)
 Prepares the object to be written at a known file offset, transitioning it from kStateFrozen to kStateWritable.
 
virtual bool WillWriteAtOffsetImpl (FileOffset offset)
 Called once an object’s writable file offset is determined, as it transitions into kStateWritable.
 
bool WritePaddingAndObject (FileWriterInterface *file_writer)
 Writes the object, transitioning it from kStateWritable to kStateWritten.
 
- Static Protected Attributes inherited from crashpad::internal::MinidumpWritable
static constexpr size_t kInvalidSize = std::numeric_limits<size_t>::max()
 A size value used to signal failure by methods that return size_t.
 

Detailed Description

The writer for a CodeViewRecordPDB20 object in a minidump file.

Most users will want MinidumpModuleCodeViewRecordPDB70Writer or MinidumpModuleCodeViewRecordBuildIDWriter instead.


The documentation for this class was generated from the following files: