|
| SubFramework (const details::sub_framework_command &cmd) |
|
SubFramework & | operator= (const SubFramework ©) |
|
| SubFramework (const SubFramework ©) |
|
SubFramework * | clone () const override |
|
const std::string & | umbrella () const |
| Name of the umbrella framework.
|
|
void | umbrella (const std::string &u) |
|
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 SubFramework command. Accodring to the Mach-O loader.h
documentation:
A dynamically linked shared library may be a subframework of an umbrella framework. If so it will be linked with "-umbrella umbrella_name" where Where "umbrella_name" is the name of the umbrella framework. A subframework can only be linked against by its umbrella framework or other subframeworks that are part of the same umbrella framework. Otherwise the static link editor produces an error and states to link against the umbrella framework. The name of the umbrella framework for subframeworks is recorded in the following structure.