|
pstore2
|
This class is used to add virtual methods to a fragment's section. More...
#include <section.hpp>

Public Member Functions | |
| virtual std::size_t | size_bytes () const =0 |
| virtual unsigned | align () const =0 |
| virtual std::size_t | size () const =0 |
| virtual container< internal_fixup > | ifixups () const =0 |
| virtual container< external_fixup > | xfixups () const =0 |
| virtual container< std::uint8_t > | payload () const =0 |
| Return the data section stored in the object file. More... | |
This class is used to add virtual methods to a fragment's section.
The section types themselves cannot be virtual because they're written to disk and wouldn't be portable between different C++ ABIs. The concrete classes derived from "dispatcher" wrap the real section data types and forward to calls directly to them.
|
pure virtual |
Return the data section stored in the object file.
For example, the bss section has empty data section.
Implemented in pstore::repo::section_dispatcher, pstore::repo::linked_definitions_dispatcher, pstore::repo::bss_section_dispatcher, and pstore::repo::debug_line_dispatcher.
1.8.13