class Relro
Defined at line 40 of file ../../src/lib/elfldltl/include/lib/elfldltl/vmar-loader.h
This is returned by Commit(), which completes the use of an VmarLoader.
It represents the capability to apply RELRO protections to a loaded image.
Unlike the VmarLoader object itself, its lifetime is not tied to the image
mappings. After Commit(), the image mapping won't be destroyed by the
VmarLoader's destructor.
Public Methods
void Relro ()
Defined at line 42 of file ../../src/lib/elfldltl/include/lib/elfldltl/vmar-loader.h
void Relro (const Relro & )
Movable, not copyable: the object represents capability ownership.
Defined at line 45 of file ../../src/lib/elfldltl/include/lib/elfldltl/vmar-loader.h
void Relro (Relro && )
Defined at line 46 of file ../../src/lib/elfldltl/include/lib/elfldltl/vmar-loader.h
Relro & operator= (const Relro & )
Defined at line 48 of file ../../src/lib/elfldltl/include/lib/elfldltl/vmar-loader.h
Relro & operator= (Relro && )
Defined at line 49 of file ../../src/lib/elfldltl/include/lib/elfldltl/vmar-loader.h
template <class Diagnostics>
bool Commit (Diagnostics & diag)
This is the only method that can be called, and it must be last.
It makes the RELRO region passed to MmapLoader::Commit read-only.
Defined at line 54 of file ../../src/lib/elfldltl/include/lib/elfldltl/vmar-loader.h
zx::vmar TakeVmar ()
Alternatively, the VMAR handle can be extracted without doing
protections.
Defined at line 67 of file ../../src/lib/elfldltl/include/lib/elfldltl/vmar-loader.h
Friends
class VmarLoader