Class that represents the LC_ENCRYPTION_INFO / LC_ENCRYPTION_INFO_64 commands.
More...
|
| EncryptionInfo (const details::encryption_info_command &cmd) |
|
EncryptionInfo & | operator= (const EncryptionInfo ©) |
|
| EncryptionInfo (const EncryptionInfo ©) |
|
uint32_t | crypt_offset () const |
| The beginning of the encrypted area.
|
|
uint32_t | crypt_size () const |
| The size of the encrypted area.
|
|
uint32_t | crypt_id () const |
| The encryption system. 0 means no encrypted.
|
|
void | crypt_offset (uint32_t offset) |
|
void | crypt_size (uint32_t size) |
|
void | crypt_id (uint32_t id) |
|
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) |
|
virtual LoadCommand * | clone () const |
|
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) |
|
void | accept (Visitor &visitor) const override |
|
| 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 LC_ENCRYPTION_INFO / LC_ENCRYPTION_INFO_64 commands.
The encryption info is usually present in Mach-O executables that target iOS to encrypt some sections of the binary