Structure that mirrors the raw dyld_chained_starts_in_segment which aims at providing information about the chained rebase/bind fixups.
More...
#include <DyldChainedFixups.hpp>
|
size_t | page_count () const |
| How many pages are in the page_start array.
|
|
Structure that mirrors the raw dyld_chained_starts_in_segment which aims at providing information about the chained rebase/bind fixups.
The relocations provided by this structure can be accessed through SegmentCommand::relocations
◆ create_empty_chained()
◆ page_count()
size_t LIEF::MachO::DyldChainedFixups::chained_starts_in_segment::page_count |
( |
| ) |
const |
|
inline |
How many pages are in the page_start array.
◆ chain_starts
std::vector<uint16_t> LIEF::MachO::DyldChainedFixups::chained_starts_in_segment::chain_starts |
◆ max_valid_pointer
uint32_t LIEF::MachO::DyldChainedFixups::chained_starts_in_segment::max_valid_pointer = 0 |
for 32-bit OS, any value beyond this is not a pointer
◆ offset
uint32_t LIEF::MachO::DyldChainedFixups::chained_starts_in_segment::offset = 0 |
◆ page_size
uint16_t LIEF::MachO::DyldChainedFixups::chained_starts_in_segment::page_size = 0 |
Likely 0x1000 for x86/x86_64 architectures and 0x4000 for ARM64 architecture.
◆ page_start
std::vector<uint16_t> LIEF::MachO::DyldChainedFixups::chained_starts_in_segment::page_start |
◆ pointer_format
How pointers are encoded.
◆ segment
SegmentCommand& LIEF::MachO::DyldChainedFixups::chained_starts_in_segment::segment |
Segment in which the rebase/bind fixups take place.
◆ segment_offset
uint64_t LIEF::MachO::DyldChainedFixups::chained_starts_in_segment::segment_offset = 0 |
◆ size
uint32_t LIEF::MachO::DyldChainedFixups::chained_starts_in_segment::size = 0 |
sizeof(size) + sizeof(page_size) + ... + sizeof(pointer_format)
The documentation for this struct was generated from the following file: