Class that wraps the LC_VERSION_MIN_MACOSX, LC_VERSION_MIN_IPHONEOS, ... commands.
More...
#include <VersionMin.hpp>
|
using | version_t = std::array<uint32_t, 3> |
| Version is an array of 3 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>>> |
|
|
| VersionMin (const details::version_min_command &version_cmd) |
|
VersionMin & | operator= (const VersionMin ©) |
|
| VersionMin (const VersionMin ©) |
|
VersionMin * | clone () const override |
|
const version_t & | version () const |
| Return the version as an array.
|
|
void | version (const version_t &version) |
|
const version_t & | sdk () const |
| Return the sdk version as an array.
|
|
void | sdk (const version_t &sdk) |
|
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 wraps the LC_VERSION_MIN_MACOSX, LC_VERSION_MIN_IPHONEOS, ... commands.
◆ accept()
void LIEF::MachO::VersionMin::accept |
( |
Visitor & | visitor | ) |
const |
|
overridevirtual |
◆ clone()
VersionMin * LIEF::MachO::VersionMin::clone |
( |
| ) |
const |
|
overridevirtual |
◆ print()
std::ostream & LIEF::MachO::VersionMin::print |
( |
std::ostream & | os | ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following file: