LLVM 24.0.0git
llvm::object::MachOChainedFixupEntry Class Reference

#include "llvm/Object/MachO.h"

Inheritance diagram for llvm::object::MachOChainedFixupEntry:
[legend]

Public Types

enum class  FixupKind { Bind , Rebase }

Public Member Functions

LLVM_ABI MachOChainedFixupEntry (Error *Err, const MachOObjectFile *O, bool Parse)
LLVM_ABI bool operator== (const MachOChainedFixupEntry &) const
bool isBind () const
bool isRebase () const
uint16_t pointerFormat () const
bool isAuthenticated () const
uint8_t key () const
uint16_t diversity () const
bool hasAddressDiversity () const
LLVM_ABI void moveNext ()
LLVM_ABI void moveToFirst ()
LLVM_ABI void moveToEnd ()
Public Member Functions inherited from llvm::object::MachOAbstractFixupEntry
LLVM_ABI MachOAbstractFixupEntry (Error *Err, const MachOObjectFile *O)
LLVM_ABI int32_t segmentIndex () const
LLVM_ABI uint64_t segmentOffset () const
LLVM_ABI uint64_t segmentAddress () const
LLVM_ABI StringRef segmentName () const
LLVM_ABI StringRef sectionName () const
LLVM_ABI StringRef typeName () const
LLVM_ABI StringRef symbolName () const
LLVM_ABI uint32_t flags () const
LLVM_ABI int64_t addend () const
LLVM_ABI int ordinal () const
LLVM_ABI uint64_t address () const
uint64_t pointerValue () const
uint64_t rawValue () const
LLVM_ABI void moveNext ()

Additional Inherited Members

Protected Member Functions inherited from llvm::object::MachOAbstractFixupEntry
LLVM_ABI void moveToFirst ()
LLVM_ABI void moveToEnd ()
uint64_t textAddress () const
Protected Attributes inherited from llvm::object::MachOAbstractFixupEntry
Error * E
const MachOObjectFile * O
uint64_t SegmentOffset = 0
int32_t SegmentIndex = -1
StringRef SymbolName
int32_t Ordinal = 0
uint32_t Flags = 0
int64_t Addend = 0
uint64_t PointerValue = 0
uint64_t RawValue = 0
bool Done = false

Detailed Description

Definition at line 380 of file MachO.h.

Member Enumeration Documentation

◆ FixupKind

Enumerator
Bind 
Rebase 

Definition at line 382 of file MachO.h.

Constructor & Destructor Documentation

◆ MachOChainedFixupEntry()

MachOChainedFixupEntry::MachOChainedFixupEntry ( Error * Err,
const MachOObjectFile * O,
bool Parse )

Member Function Documentation

◆ diversity()

uint16_t llvm::object::MachOChainedFixupEntry::diversity ( ) const
inline

Definition at line 401 of file MachO.h.

◆ hasAddressDiversity()

bool llvm::object::MachOChainedFixupEntry::hasAddressDiversity ( ) const
inline

Definition at line 402 of file MachO.h.

◆ isAuthenticated()

bool llvm::object::MachOChainedFixupEntry::isAuthenticated ( ) const
inline
Returns
whether this is an arm64e authenticated rebase or bind, which dyld signs with key(), diversity() and, if hasAddressDiversity(), the address of the fixup.

Definition at line 398 of file MachO.h.

◆ isBind()

bool llvm::object::MachOChainedFixupEntry::isBind ( ) const
inline

Definition at line 389 of file MachO.h.

References Bind.

◆ isRebase()

bool llvm::object::MachOChainedFixupEntry::isRebase ( ) const
inline

Definition at line 390 of file MachO.h.

References Rebase.

◆ key()

uint8_t llvm::object::MachOChainedFixupEntry::key ( ) const
inline
Returns
the ptrauth key: 0 = IA, 1 = IB, 2 = DA, 3 = DB.

Definition at line 400 of file MachO.h.

◆ moveNext()

◆ moveToEnd()

void MachOChainedFixupEntry::moveToEnd ( )

◆ moveToFirst()

void MachOChainedFixupEntry::moveToFirst ( )

◆ operator==()

bool MachOChainedFixupEntry::operator== ( const MachOChainedFixupEntry & Other) const

◆ pointerFormat()

uint16_t llvm::object::MachOChainedFixupEntry::pointerFormat ( ) const
inline
Returns
the DYLD_CHAINED_PTR_* format of the segment of this fixup.

Definition at line 393 of file MachO.h.


The documentation for this class was generated from the following files: