class ELFObjectFile
Declaration
template <class ELFT>
class ELFObjectFile : public ELFObjectFileBase { /* full declaration omitted */ };
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:240
Inherits from: ELFObjectFileBase
Templates
- ELFT
Member Variables
- private bool ContentValid = false
- protected ELFFile<ELFT> EF
- protected const llvm::object::ELFObjectFile::Elf_Shdr* DotDynSymSec = nullptr
- protected const llvm::object::ELFObjectFile::Elf_Shdr* DotSymtabSec = nullptr
- protected const llvm::object::ELFObjectFile::Elf_Shdr* DotSymtabShndxSec = nullptr
- protected bool isDyldELFObject
Inherited from Binary:
Method Overview
- public ELFObjectFile<ELFT>(ELFObjectFile<ELFT> && Other)
- private ELFObjectFile<ELFT>(llvm::MemoryBufferRef Object, ELFFile<ELFT> EF, const llvm::object::ELFObjectFile::Elf_Shdr * DotDynSymSec, const llvm::object::ELFObjectFile::Elf_Shdr * DotSymtabSec, const llvm::object::ELFObjectFile::Elf_Shdr * DotSymtabShndxSec)
- public bool IsContentValid() const
- public static bool classof(const llvm::object::Binary * v)
- public static Expected<ELFObjectFile<ELFT>> create(llvm::MemoryBufferRef Object, bool InitContent = true)
- public void createFakeSections()
- protected std::vector<SectionRef> dynamic_relocation_sections() const
- public llvm::object::elf_symbol_iterator dynamic_symbol_begin() const
- public llvm::object::elf_symbol_iterator dynamic_symbol_end() const
- public Triple::ArchType getArch() const
- protected llvm::Error getBuildAttributes(llvm::ELFAttributeParser & Attributes) const
- public uint8_t getBytesInAddress() const
- protected uint64_t getCommonSymbolSizeImpl(llvm::object::DataRefImpl Symb) const
- public llvm::object::ELFObjectFileBase::elf_symbol_iterator_range getDynamicSymbolIterators() const
- public const ELFFile<ELFT> & getELFFile() const
- private uint16_t getEMachine() const
- private uint16_t getEType() const
- public llvm::StringRef getFileFormatName() const
- public unsigned int getPlatformFlags() const
- public const llvm::object::ELFObjectFile::Elf_Rel * getRel(llvm::object::DataRefImpl Rel) const
- public const llvm::object::ELFObjectFile::Elf_Shdr * getRelSection(llvm::object::DataRefImpl Rel) const
- public const llvm::object::ELFObjectFile::Elf_Rela * getRela(llvm::object::DataRefImpl Rela) const
- protected Expected<llvm::object::section_iterator> getRelocatedSection(llvm::object::DataRefImpl Sec) const
- public Expected<int64_t> getRelocationAddend(llvm::object::DataRefImpl Rel) const
- protected uint64_t getRelocationOffset(llvm::object::DataRefImpl Rel) const
- protected llvm::object::symbol_iterator getRelocationSymbol(llvm::object::DataRefImpl Rel) const
- protected uint64_t getRelocationType(llvm::object::DataRefImpl Rel) const
- protected llvm::StringRef getRelocationTypeName(uint32_t Type) const
- protected void getRelocationTypeName(llvm::object::DataRefImpl Rel, SmallVectorImpl<char> & Result) const
- public const llvm::object::ELFObjectFile::Elf_Shdr * getSection(llvm::object::DataRefImpl Sec) const
- protected uint64_t getSectionAddress(llvm::object::DataRefImpl Sec) const
- protected uint64_t getSectionAlignment(llvm::object::DataRefImpl Sec) const
- protected Expected<ArrayRef<uint8_t>> getSectionContents(llvm::object::DataRefImpl Sec) const
- protected uint64_t getSectionFlags(llvm::object::DataRefImpl Sec) const
- protected uint64_t getSectionIndex(llvm::object::DataRefImpl Sec) const
- protected Expected<llvm::StringRef> getSectionName(llvm::object::DataRefImpl Sec) const
- protected uint64_t getSectionOffset(llvm::object::DataRefImpl Sec) const
- protected uint64_t getSectionSize(llvm::object::DataRefImpl Sec) const
- protected uint32_t getSectionType(llvm::object::DataRefImpl Sec) const
- public Expected<uint64_t> getStartAddress() const
- public Expected<const llvm::object::ELFObjectFile::Elf_Sym *> getSymbol(llvm::object::DataRefImpl Sym) const
- protected Expected<uint64_t> getSymbolAddress(llvm::object::DataRefImpl Symb) const
- protected uint32_t getSymbolAlignment(llvm::object::DataRefImpl Symb) const
- protected uint8_t getSymbolBinding(llvm::object::DataRefImpl Symb) const
- protected uint8_t getSymbolELFType(llvm::object::DataRefImpl Symb) const
- protected Expected<uint32_t> getSymbolFlags(llvm::object::DataRefImpl Symb) const
- protected Expected<llvm::StringRef> getSymbolName(llvm::object::DataRefImpl Symb) const
- protected uint8_t getSymbolOther(llvm::object::DataRefImpl Symb) const
- protected Expected<llvm::object::section_iterator> getSymbolSection(llvm::object::DataRefImpl Symb) const
- protected Expected<llvm::object::section_iterator> getSymbolSection(const llvm::object::ELFObjectFile::Elf_Sym * Symb, const llvm::object::ELFObjectFile::Elf_Shdr * SymTab) const
- private uint64_t getSymbolSize(llvm::object::DataRefImpl Sym) const
- protected Expected<SymbolRef::Type> getSymbolType(llvm::object::DataRefImpl Symb) const
- protected uint64_t getSymbolValueImpl(llvm::object::DataRefImpl Symb) const
- protected llvm::Error initContent()
- protected bool isBerkeleyData(llvm::object::DataRefImpl Sec) const
- protected bool isBerkeleyText(llvm::object::DataRefImpl Sec) const
- protected bool isDebugSection(llvm::object::DataRefImpl Sec) const
- public bool isDyldType() const
- protected bool isExportedToOtherDSO(const llvm::object::ELFObjectFile::Elf_Sym * ESym) const
- public bool isRelocatableObject() const
- protected bool isSectionBSS(llvm::object::DataRefImpl Sec) const
- protected bool isSectionCompressed(llvm::object::DataRefImpl Sec) const
- protected bool isSectionData(llvm::object::DataRefImpl Sec) const
- protected bool isSectionText(llvm::object::DataRefImpl Sec) const
- protected bool isSectionVirtual(llvm::object::DataRefImpl Sec) const
- protected void moveRelocationNext(llvm::object::DataRefImpl & Rel) const
- protected void moveSectionNext(llvm::object::DataRefImpl & Sec) const
- protected void moveSymbolNext(llvm::object::DataRefImpl & Symb) const
- public llvm::object::section_iterator section_begin() const
- public llvm::object::section_iterator section_end() const
- protected llvm::object::relocation_iterator section_rel_begin(llvm::object::DataRefImpl Sec) const
- protected llvm::object::relocation_iterator section_rel_end(llvm::object::DataRefImpl Sec) const
- public llvm::object::basic_symbol_iterator symbol_begin() const
- public llvm::object::basic_symbol_iterator symbol_end() const
- protected llvm::object::DataRefImpl toDRI(const llvm::object::ELFObjectFile::Elf_Shdr * Sec) const
- protected llvm::object::DataRefImpl toDRI(const llvm::object::ELFObjectFile::Elf_Shdr * SymTable, unsigned int SymbolNum) const
- protected llvm::object::DataRefImpl toDRI(const llvm::object::ELFObjectFile::Elf_Dyn * Dyn) const
- protected const llvm::object::ELFObjectFile::Elf_Shdr * toELFShdrIter(llvm::object::DataRefImpl Sec) const
- public llvm::object::SectionRef toSectionRef(const llvm::object::ELFObjectFile::Elf_Shdr * Sec) const
- public llvm::object::ELFSymbolRef toSymbolRef(const llvm::object::ELFObjectFile::Elf_Shdr * SymTable, unsigned int SymbolNum) const
Inherited from ELFObjectFileBase:
- public classof
- protected getBuildAttributes
- public getDynamicSymbolIterators
- public getEMachine
- public getEType
- public getFeatures
- public getPlatformFlags
- public getPltAddresses
- protected getRelocationAddend
- protected getSectionFlags
- protected getSectionOffset
- protected getSectionType
- protected getSymbolBinding
- protected getSymbolELFType
- protected getSymbolOther
- protected getSymbolSize
- public readBBAddrMap
- public readDynsymVersions
- public setARMSubArch
- public symbols
- public tryGetCPUName
Inherited from ObjectFile:
- protected base
- public classof
- public createCOFFObjectFile
- public createELFObjectFile
- public createMachOObjectFile
- public createObjectFile
- public createObjectFile
- public createObjectFile
- public createWasmObjectFile
- public createXCOFFObjectFile
- public dynamic_relocation_sections
- public getArch
- public getBytesInAddress
- public getCommonSymbolSize
- protected getCommonSymbolSizeImpl
- public getFeatures
- public getFileFormatName
- protected getRelocatedSection
- protected getRelocationOffset
- protected getRelocationSymbol
- protected getRelocationType
- protected getRelocationTypeName
- protected getSectionAddress
- protected getSectionAlignment
- protected getSectionContents
- protected getSectionIndex
- protected getSectionName
- protected getSectionSize
- public getStartAddress
- protected getSymbolAddress
- protected getSymbolAlignment
- protected getSymbolName
- protected getSymbolSection
- protected getSymbolType
- protected getSymbolValue
- protected getSymbolValueImpl
- protected isBerkeleyData
- protected isBerkeleyText
- protected isDebugSection
- public isReflectionSectionStrippable
- public isRelocatableObject
- protected isSectionBSS
- protected isSectionBitcode
- protected isSectionCompressed
- protected isSectionData
- protected isSectionStripped
- protected isSectionText
- protected isSectionVirtual
- public makeTriple
- public mapDebugSectionName
- protected mapReflectionSectionNameToEnumValue
- protected moveRelocationNext
- protected moveSectionNext
- protected printSymbolName
- public section_begin
- public section_end
- protected section_rel_begin
- protected section_rel_end
- public sections
- public setARMSubArch
- public symbols
- public tryGetCPUName
Inherited from SymbolicFile:
- public classof
- public createSymbolicFile
- public createSymbolicFile
- public getSymbolFlags
- public isSymbolicFile
- public moveSymbolNext
- public printSymbolName
- public symbol_begin
- public symbol_end
- public symbols
Inherited from Binary:
- public checkOffset
- public getData
- protected getELFType
- public getFileName
- protected getMachOType
- public getMemoryBufferRef
- public getTripleObjectFormat
- public getType
- public initContent
- public isArchive
- public isCOFF
- public isCOFFImportFile
- public isELF
- public isIR
- public isLittleEndian
- public isMachO
- public isMachOUniversalBinary
- public isMinidump
- public isObject
- public isOffloadFile
- public isSymbolic
- public isTapiFile
- public isTapiUniversal
- public isWasm
- public isWinRes
- public isXCOFF
Methods
¶ELFObjectFile<ELFT>(ELFObjectFile<ELFT>&& Other)
ELFObjectFile<ELFT>(ELFObjectFile<ELFT>&& Other)
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:407
Parameters
- ELFObjectFile<ELFT>&& Other
¶ELFObjectFile<ELFT>(
llvm::MemoryBufferRef Object,
ELFFile<ELFT> EF,
const llvm::object::ELFObjectFile::Elf_Shdr*
DotDynSymSec,
const llvm::object::ELFObjectFile::Elf_Shdr*
DotSymtabSec,
const llvm::object::ELFObjectFile::Elf_Shdr*
DotSymtabShndxSec)
ELFObjectFile<ELFT>(
llvm::MemoryBufferRef Object,
ELFFile<ELFT> EF,
const llvm::object::ELFObjectFile::Elf_Shdr*
DotDynSymSec,
const llvm::object::ELFObjectFile::Elf_Shdr*
DotSymtabSec,
const llvm::object::ELFObjectFile::Elf_Shdr*
DotSymtabShndxSec)
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:259
Parameters
- llvm::MemoryBufferRef Object
- ELFFile<ELFT> EF
- const llvm::object::ELFObjectFile::Elf_Shdr* DotDynSymSec
- const llvm::object::ELFObjectFile::Elf_Shdr* DotSymtabSec
- const llvm::object::ELFObjectFile::Elf_Shdr* DotSymtabShndxSec
¶bool IsContentValid() const
bool IsContentValid() const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:256
¶static bool classof(const llvm::object::Binary* v)
static bool classof(const llvm::object::Binary* v)
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:452
Parameters
- const llvm::object::Binary* v
¶static Expected<ELFObjectFile<ELFT>> create(
llvm::MemoryBufferRef Object,
bool InitContent = true)
static Expected<ELFObjectFile<ELFT>> create(
llvm::MemoryBufferRef Object,
bool InitContent = true)
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:408
Parameters
- llvm::MemoryBufferRef Object
- bool InitContent = true
¶void createFakeSections()
void createFakeSections()
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:461
¶std::vector<SectionRef>
dynamic_relocation_sections() const
std::vector<SectionRef>
dynamic_relocation_sections() const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:307
¶llvm::object::elf_symbol_iterator
dynamic_symbol_begin() const
llvm::object::elf_symbol_iterator
dynamic_symbol_begin() const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:434
¶llvm::object::elf_symbol_iterator
dynamic_symbol_end() const
llvm::object::elf_symbol_iterator
dynamic_symbol_end() const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:435
¶Triple::ArchType getArch() const
Triple::ArchType getArch() const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:444
¶llvm::Error getBuildAttributes(
llvm::ELFAttributeParser& Attributes) const
llvm::Error getBuildAttributes(
llvm::ELFAttributeParser& Attributes) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:377
Parameters
- llvm::ELFAttributeParser& Attributes
¶uint8_t getBytesInAddress() const
uint8_t getBytesInAddress() const
Description
The number of bytes used to represent an address in this object file format.
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:442
¶uint64_t getCommonSymbolSizeImpl(
llvm::object::DataRefImpl Symb) const
uint64_t getCommonSymbolSizeImpl(
llvm::object::DataRefImpl Symb) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:279
Parameters
¶llvm::object::ELFObjectFileBase::
elf_symbol_iterator_range
getDynamicSymbolIterators() const
llvm::object::ELFObjectFileBase::
elf_symbol_iterator_range
getDynamicSymbolIterators() const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:457
¶const ELFFile<ELFT>& getELFFile() const
const ELFFile<ELFT>& getELFFile() const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:449
¶uint16_t getEMachine() const
uint16_t getEMachine() const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:241
¶uint16_t getEType() const
uint16_t getEType() const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:242
¶llvm::StringRef getFileFormatName() const
llvm::StringRef getFileFormatName() const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:443
¶unsigned int getPlatformFlags() const
unsigned int getPlatformFlags() const
Description
Returns platform-specific object flags, if any.
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:447
¶const llvm::object::ELFObjectFile::Elf_Rel*
getRel(llvm::object::DataRefImpl Rel) const
const llvm::object::ELFObjectFile::Elf_Rel*
getRel(llvm::object::DataRefImpl Rel) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:411
Parameters
¶const llvm::object::ELFObjectFile::Elf_Shdr*
getRelSection(llvm::object::DataRefImpl Rel) const
const llvm::object::ELFObjectFile::Elf_Shdr*
getRelSection(llvm::object::DataRefImpl Rel) const
Description
Get the relocation section that contains \a Rel.
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:419
Parameters
¶const llvm::object::ELFObjectFile::Elf_Rela*
getRela(llvm::object::DataRefImpl Rela) const
const llvm::object::ELFObjectFile::Elf_Rela*
getRela(llvm::object::DataRefImpl Rela) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:412
Parameters
¶Expected<llvm::object::section_iterator>
getRelocatedSection(
llvm::object::DataRefImpl Sec) const
Expected<llvm::object::section_iterator>
getRelocatedSection(
llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:309
Parameters
¶Expected<int64_t> getRelocationAddend(
llvm::object::DataRefImpl Rel) const
Expected<int64_t> getRelocationAddend(
llvm::object::DataRefImpl Rel) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:440
Parameters
¶uint64_t getRelocationOffset(
llvm::object::DataRefImpl Rel) const
uint64_t getRelocationOffset(
llvm::object::DataRefImpl Rel) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:312
Parameters
¶llvm::object::symbol_iterator getRelocationSymbol(
llvm::object::DataRefImpl Rel) const
llvm::object::symbol_iterator getRelocationSymbol(
llvm::object::DataRefImpl Rel) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:313
Parameters
¶uint64_t getRelocationType(
llvm::object::DataRefImpl Rel) const
uint64_t getRelocationType(
llvm::object::DataRefImpl Rel) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:314
Parameters
¶llvm::StringRef getRelocationTypeName(
uint32_t Type) const
llvm::StringRef getRelocationTypeName(
uint32_t Type) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:321
Parameters
- uint32_t Type
¶void getRelocationTypeName(
llvm::object::DataRefImpl Rel,
SmallVectorImpl<char>& Result) const
void getRelocationTypeName(
llvm::object::DataRefImpl Rel,
SmallVectorImpl<char>& Result) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:315
Parameters
- llvm::object::DataRefImpl Rel
- SmallVectorImpl<char>& Result
¶const llvm::object::ELFObjectFile::Elf_Shdr*
getSection(llvm::object::DataRefImpl Sec) const
const llvm::object::ELFObjectFile::Elf_Shdr*
getSection(llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:427
Parameters
¶uint64_t getSectionAddress(
llvm::object::DataRefImpl Sec) const
uint64_t getSectionAddress(
llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:291
Parameters
¶uint64_t getSectionAlignment(
llvm::object::DataRefImpl Sec) const
uint64_t getSectionAlignment(
llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:296
Parameters
¶Expected<ArrayRef<uint8_t>> getSectionContents(
llvm::object::DataRefImpl Sec) const
Expected<ArrayRef<uint8_t>> getSectionContents(
llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:295
Parameters
¶uint64_t getSectionFlags(
llvm::object::DataRefImpl Sec) const
uint64_t getSectionFlags(
llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:319
Parameters
¶uint64_t getSectionIndex(
llvm::object::DataRefImpl Sec) const
uint64_t getSectionIndex(
llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:292
Parameters
¶Expected<llvm::StringRef> getSectionName(
llvm::object::DataRefImpl Sec) const
Expected<llvm::StringRef> getSectionName(
llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:290
Parameters
¶uint64_t getSectionOffset(
llvm::object::DataRefImpl Sec) const
uint64_t getSectionOffset(
llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:320
Parameters
¶uint64_t getSectionSize(
llvm::object::DataRefImpl Sec) const
uint64_t getSectionSize(
llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:293
Parameters
¶uint32_t getSectionType(
llvm::object::DataRefImpl Sec) const
uint32_t getSectionType(
llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:318
Parameters
¶Expected<uint64_t> getStartAddress() const
Expected<uint64_t> getStartAddress() const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:445
¶Expected<
const llvm::object::ELFObjectFile::Elf_Sym*>
getSymbol(llvm::object::DataRefImpl Sym) const
Expected<
const llvm::object::ELFObjectFile::Elf_Sym*>
getSymbol(llvm::object::DataRefImpl Sym) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:414
Parameters
¶Expected<uint64_t> getSymbolAddress(
llvm::object::DataRefImpl Symb) const
Expected<uint64_t> getSymbolAddress(
llvm::object::DataRefImpl Symb) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:276
Parameters
¶uint32_t getSymbolAlignment(
llvm::object::DataRefImpl Symb) const
uint32_t getSymbolAlignment(
llvm::object::DataRefImpl Symb) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:278
Parameters
¶uint8_t getSymbolBinding(
llvm::object::DataRefImpl Symb) const
uint8_t getSymbolBinding(
llvm::object::DataRefImpl Symb) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:281
Parameters
¶uint8_t getSymbolELFType(
llvm::object::DataRefImpl Symb) const
uint8_t getSymbolELFType(
llvm::object::DataRefImpl Symb) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:283
Parameters
¶Expected<uint32_t> getSymbolFlags(
llvm::object::DataRefImpl Symb) const
Expected<uint32_t> getSymbolFlags(
llvm::object::DataRefImpl Symb) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:280
Parameters
¶Expected<llvm::StringRef> getSymbolName(
llvm::object::DataRefImpl Symb) const
Expected<llvm::StringRef> getSymbolName(
llvm::object::DataRefImpl Symb) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:275
Parameters
¶uint8_t getSymbolOther(
llvm::object::DataRefImpl Symb) const
uint8_t getSymbolOther(
llvm::object::DataRefImpl Symb) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:282
Parameters
¶Expected<llvm::object::section_iterator>
getSymbolSection(
llvm::object::DataRefImpl Symb) const
Expected<llvm::object::section_iterator>
getSymbolSection(
llvm::object::DataRefImpl Symb) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:287
Parameters
¶Expected<llvm::object::section_iterator>
getSymbolSection(
const llvm::object::ELFObjectFile::Elf_Sym*
Symb,
const llvm::object::ELFObjectFile::Elf_Shdr*
SymTab) const
Expected<llvm::object::section_iterator>
getSymbolSection(
const llvm::object::ELFObjectFile::Elf_Sym*
Symb,
const llvm::object::ELFObjectFile::Elf_Shdr*
SymTab) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:285
Parameters
- const llvm::object::ELFObjectFile::Elf_Sym* Symb
- const llvm::object::ELFObjectFile::Elf_Shdr* SymTab
¶uint64_t getSymbolSize(
llvm::object::DataRefImpl Sym) const
uint64_t getSymbolSize(
llvm::object::DataRefImpl Sym) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:243
Parameters
¶Expected<SymbolRef::Type> getSymbolType(
llvm::object::DataRefImpl Symb) const
Expected<SymbolRef::Type> getSymbolType(
llvm::object::DataRefImpl Symb) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:284
Parameters
¶uint64_t getSymbolValueImpl(
llvm::object::DataRefImpl Symb) const
uint64_t getSymbolValueImpl(
llvm::object::DataRefImpl Symb) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:277
Parameters
¶llvm::Error initContent()
llvm::Error initContent()
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:272
¶bool isBerkeleyData(
llvm::object::DataRefImpl Sec) const
bool isBerkeleyData(
llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:303
Parameters
¶bool isBerkeleyText(
llvm::object::DataRefImpl Sec) const
bool isBerkeleyText(
llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:302
Parameters
¶bool isDebugSection(
llvm::object::DataRefImpl Sec) const
bool isDebugSection(
llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:304
Parameters
¶bool isDyldType() const
bool isDyldType() const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:451
¶bool isExportedToOtherDSO(
const llvm::object::ELFObjectFile::Elf_Sym*
ESym) const
bool isExportedToOtherDSO(
const llvm::object::ELFObjectFile::Elf_Sym*
ESym) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:364
Parameters
- const llvm::object::ELFObjectFile::Elf_Sym* ESym
¶bool isRelocatableObject() const
bool isRelocatableObject() const
Description
True if this is a relocatable object (.o/.obj).
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:459
¶bool isSectionBSS(
llvm::object::DataRefImpl Sec) const
bool isSectionBSS(
llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:300
Parameters
¶bool isSectionCompressed(
llvm::object::DataRefImpl Sec) const
bool isSectionCompressed(
llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:297
Parameters
¶bool isSectionData(
llvm::object::DataRefImpl Sec) const
bool isSectionData(
llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:299
Parameters
¶bool isSectionText(
llvm::object::DataRefImpl Sec) const
bool isSectionText(
llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:298
Parameters
¶bool isSectionVirtual(
llvm::object::DataRefImpl Sec) const
bool isSectionVirtual(
llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:301
Parameters
¶void moveRelocationNext(
llvm::object::DataRefImpl& Rel) const
void moveRelocationNext(
llvm::object::DataRefImpl& Rel) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:311
Parameters
¶void moveSectionNext(
llvm::object::DataRefImpl& Sec) const
void moveSectionNext(
llvm::object::DataRefImpl& Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:289
Parameters
¶void moveSymbolNext(
llvm::object::DataRefImpl& Symb) const
void moveSymbolNext(
llvm::object::DataRefImpl& Symb) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:274
Parameters
¶llvm::object::section_iterator section_begin()
const
llvm::object::section_iterator section_begin()
const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:437
¶llvm::object::section_iterator section_end() const
llvm::object::section_iterator section_end() const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:438
¶llvm::object::relocation_iterator
section_rel_begin(
llvm::object::DataRefImpl Sec) const
llvm::object::relocation_iterator
section_rel_begin(
llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:305
Parameters
¶llvm::object::relocation_iterator section_rel_end(
llvm::object::DataRefImpl Sec) const
llvm::object::relocation_iterator section_rel_end(
llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:306
Parameters
¶llvm::object::basic_symbol_iterator symbol_begin()
const
llvm::object::basic_symbol_iterator symbol_begin()
const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:431
¶llvm::object::basic_symbol_iterator symbol_end()
const
llvm::object::basic_symbol_iterator symbol_end()
const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:432
¶llvm::object::DataRefImpl toDRI(
const llvm::object::ELFObjectFile::Elf_Shdr*
Sec) const
llvm::object::DataRefImpl toDRI(
const llvm::object::ELFObjectFile::Elf_Shdr*
Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:352
Parameters
- const llvm::object::ELFObjectFile::Elf_Shdr* Sec
¶llvm::object::DataRefImpl toDRI(
const llvm::object::ELFObjectFile::Elf_Shdr*
SymTable,
unsigned int SymbolNum) const
llvm::object::DataRefImpl toDRI(
const llvm::object::ELFObjectFile::Elf_Shdr*
SymTable,
unsigned int SymbolNum) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:323
Parameters
- const llvm::object::ELFObjectFile::Elf_Shdr* SymTable
- unsigned int SymbolNum
¶llvm::object::DataRefImpl toDRI(
const llvm::object::ELFObjectFile::Elf_Dyn*
Dyn) const
llvm::object::DataRefImpl toDRI(
const llvm::object::ELFObjectFile::Elf_Dyn*
Dyn) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:358
Parameters
- const llvm::object::ELFObjectFile::Elf_Dyn* Dyn
¶const llvm::object::ELFObjectFile::Elf_Shdr*
toELFShdrIter(llvm::object::DataRefImpl Sec) const
const llvm::object::ELFObjectFile::Elf_Shdr*
toELFShdrIter(llvm::object::DataRefImpl Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:348
Parameters
¶llvm::object::SectionRef toSectionRef(
const llvm::object::ELFObjectFile::Elf_Shdr*
Sec) const
llvm::object::SectionRef toSectionRef(
const llvm::object::ELFObjectFile::Elf_Shdr*
Sec) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:248
Parameters
- const llvm::object::ELFObjectFile::Elf_Shdr* Sec
¶llvm::object::ELFSymbolRef toSymbolRef(
const llvm::object::ELFObjectFile::Elf_Shdr*
SymTable,
unsigned int SymbolNum) const
llvm::object::ELFSymbolRef toSymbolRef(
const llvm::object::ELFObjectFile::Elf_Shdr*
SymTable,
unsigned int SymbolNum) const
Declared at: llvm/include/llvm/Object/ELFObjectFile.h:252
Parameters
- const llvm::object::ELFObjectFile::Elf_Shdr* SymTable
- unsigned int SymbolNum