LLVM: llvm::objcopy:🧝:Segment Class Reference (original) (raw)

#include "[ObjCopy/ELF/ELFObject.h](ELFObject%5F8h%5Fsource.html)"

Public Member Functions
Segment (ArrayRef< uint8_t > Data)
Segment ()=default
const SectionBase * firstSection () const
void removeSection (const SectionBase *Sec)
void addSection (const SectionBase *Sec)
ArrayRef< uint8_t > getContents () const
Public Attributes
uint32_t Type = 0
uint32_t Flags = 0
uint64_t Offset = 0
uint64_t VAddr = 0
uint64_t PAddr = 0
uint64_t FileSize = 0
uint64_t MemSize = 0
uint64_t Align = 0
uint32_t Index = 0
uint64_t OriginalOffset = 0
Segment * ParentSegment = nullptr
ArrayRef< uint8_t > Contents
std::set< const SectionBase *, SectionCompare > Sections

Definition at line 559 of file ELFObject.h.

β—† Segment() [1/2]

llvm::objcopy:🧝:Segment::Segment ( ArrayRef< uint8_t > Data) inlineexplicit

β—† Segment() [2/2]

llvm::objcopy:🧝:Segment::Segment ( ) default

β—† addSection()

β—† firstSection()

β—† getContents()

ArrayRef< uint8_t > llvm::objcopy:🧝:Segment::getContents ( ) const inline

β—† removeSection()

void llvm::objcopy:🧝:Segment::removeSection ( const SectionBase * Sec) inline

β—† Align

uint64_t llvm::objcopy:🧝:Segment::Align = 0

β—† Contents

β—† FileSize

uint64_t llvm::objcopy:🧝:Segment::FileSize = 0

β—† Flags

uint32_t llvm::objcopy:🧝:Segment::Flags = 0

β—† Index

uint32_t llvm::objcopy:🧝:Segment::Index = 0

β—† MemSize

uint64_t llvm::objcopy:🧝:Segment::MemSize = 0

β—† Offset

uint64_t llvm::objcopy:🧝:Segment::Offset = 0

β—† OriginalOffset

uint64_t llvm::objcopy:🧝:Segment::OriginalOffset = 0

β—† PAddr

uint64_t llvm::objcopy:🧝:Segment::PAddr = 0

β—† ParentSegment

Segment* llvm::objcopy:🧝:Segment::ParentSegment = nullptr

β—† Sections

std::set<const SectionBase *, SectionCompare> llvm::objcopy:🧝:Segment::Sections

β—† Type

uint32_t llvm::objcopy:🧝:Segment::Type = 0

β—† VAddr

uint64_t llvm::objcopy:🧝:Segment::VAddr = 0


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