|
| DyldChainedFixups (const details::linkedit_data_command &cmd) |
|
DyldChainedFixups * | clone () const override |
|
uint32_t | data_offset () const |
| Offset of the LC_DYLD_CHAINED_FIXUPS chained payload. This offset should point in the __LINKEDIT segment.
|
|
uint32_t | data_size () const |
| Size of the LC_DYLD_CHAINED_FIXUPS payload.
|
|
void | data_offset (uint32_t offset) |
|
void | data_size (uint32_t size) |
|
it_binding_info | bindings () |
| Iterator over the bindings (ChainedBindingInfo) associated with this command.
|
|
it_const_binding_info | bindings () const |
| Iterator over the bindings (ChainedBindingInfo) associated with this command.
|
|
it_chained_starts_in_segments_t | chained_starts_in_segments () |
| Iterator over the chained fixup metadata.
|
|
it_const_chained_starts_in_segments_t | chained_starts_in_segments () const |
|
uint32_t | fixups_version () const |
| Chained fixups version. The loader (dyld v852.2) checks that this value is set to 0.
|
|
void | fixups_version (uint32_t version) |
|
uint32_t | starts_offset () const |
| offset of dyld_chained_starts_in_image in chain_data
|
|
void | starts_offset (uint32_t offset) |
|
uint32_t | imports_offset () const |
| Offset of imports table in chain data.
|
|
void | imports_offset (uint32_t offset) |
|
uint32_t | symbols_offset () const |
| Offset of symbol strings in chain data.
|
|
void | symbols_offset (uint32_t offset) |
|
uint32_t | imports_count () const |
| Number of imported symbol names.
|
|
void | imports_count (uint32_t cnt) |
|
uint32_t | symbols_format () const |
| The compression algorithm (if any) used to store the symbols 0 means uncompressed while 1 means zlib compressed.
|
|
void | symbols_format (uint32_t fmt) |
|
DYLD_CHAINED_FORMAT | imports_format () const |
| The format of the imports (ChainedBindingInfo)
|
|
void | imports_format (DYLD_CHAINED_FORMAT fmt) |
|
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) |
|
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_DYLD_CHAINED_FIXUPS command.
This command aims at providing rebase and binding information like the DyldInfo's bytecode. Compared to the DyldInfo bytecode, these chained fixups are taking less space.