asmjit::RelocEntry Struct Reference

Relocation entry.

Public Members

Public Types

Member Functions

Accessors

Member Enumeration Documentation

RelocEntry::RelocType : uint32_tenum

Relocation type.

ConstantDescription
kTypeNone 

None/deleted (no relocation).

kTypeExpression 

Expression evaluation, _payload is pointer to Expression.

kTypeAbsToAbs 

Relocate absolute to absolute.

kTypeRelToAbs 

Relocate relative to absolute.

kTypeAbsToRel 

Relocate absolute to relative.

kTypeX64AddressEntry 

Relocate absolute to relative or use trampoline.

Member Data Documentation

uint32_t RelocEntry::_id

Relocation id.

uint32_t RelocEntry::_relocType

Type of the relocation.

OffsetFormat RelocEntry::_format

Format of the relocated value.

uint32_t RelocEntry::_sourceSectionId

Source section id.

uint32_t RelocEntry::_targetSectionId

Target section id.

uint64_t RelocEntry::_sourceOffset

Source offset (relative to start of the section).

uint64_t RelocEntry::_payload

Payload (target offset, target address, expression, etc).