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:
- lib/ObjCopy/ELF/ELFObject.h