Class that represents the MachO LOAD_COMMAND_TYPES::LC_SOURCE_VERSION This command is used to provide the version of the sources used to build the binary.
More...
#include <SourceVersion.hpp>
|
using | version_t = std::array<uint32_t, 5> |
| Version is an array of 5 integers.
|
|
Public Types inherited from LIEF::MachO::LoadCommand |
using | raw_t = std::vector<uint8_t> |
|
template<class T > |
using | output_t = add_pointer_t<decay_t<T>> |
|
template<class T > |
using | output_const_t = add_pointer_t<add_const_t<decay_t<T>>> |
|
|
| SourceVersion (const details::source_version_command &version_cmd) |
|
SourceVersion & | operator= (const SourceVersion ©) |
|
| SourceVersion (const SourceVersion ©) |
|
SourceVersion * | clone () const override |
|
const SourceVersion::version_t & | version () const |
| Return the version as an array.
|
|
void | version (const SourceVersion::version_t &version) |
|
void | accept (Visitor &visitor) const override |
|
std::ostream & | print (std::ostream &os) const override |
|
Public Member Functions inherited from LIEF::MachO::LoadCommand |
| LoadCommand (const details::load_command &command) |
|
| LoadCommand (LOAD_COMMAND_TYPES type, uint32_t size) |
|
LoadCommand & | operator= (LoadCommand copy) |
|
| LoadCommand (const LoadCommand ©) |
|
void | swap (LoadCommand &other) |
|
LOAD_COMMAND_TYPES | command () const |
| Command type.
|
|
uint32_t | size () const |
| Size of the command (should be greather than sizeof(load_command) )
|
|
span< const uint8_t > | data () const |
| Raw command.
|
|
uint64_t | command_offset () const |
| Offset of the command within the Load Command Table
|
|
void | data (const raw_t &data) |
|
void | command (LOAD_COMMAND_TYPES command) |
|
void | size (uint32_t size) |
|
void | command_offset (uint64_t offset) |
|
| Object (const Object &other) |
|
Object & | operator= (const Object &other) |
|
template<class T > |
output_t< T > | as () |
|
template<class T > |
output_const_t< T > | as () const |
|
virtual bool | operator== (const Object &other) const |
|
virtual bool | operator!= (const Object &other) const |
|
Class that represents the MachO LOAD_COMMAND_TYPES::LC_SOURCE_VERSION This command is used to provide the version of the sources used to build the binary.
◆ accept()
void LIEF::MachO::SourceVersion::accept |
( |
Visitor & | visitor | ) |
const |
|
overridevirtual |
◆ clone()
◆ print()
std::ostream & LIEF::MachO::SourceVersion::print |
( |
std::ostream & | os | ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following file: