|
| uintptr_t | getSymbolTable () const |
| StringRef | getStringTable () const |
| uint16_t | getMachine () const |
| uint16_t | getSizeOfOptionalHeader () const |
| uint16_t | getCharacteristics () const |
| uint32_t | getTimeDateStamp () const |
| uint32_t | getNumberOfSections () const |
| uint32_t | getPointerToSymbolTable () const |
| uint32_t | getRawNumberOfSymbols () const |
| uint32_t | getNumberOfSymbols () const |
| uint32_t | getStringTableSize () const |
| const export_directory_table_entry * | getExportTable () const |
| const coff_load_configuration32 * | getLoadConfig32 () const |
| const coff_load_configuration64 * | getLoadConfig64 () const |
| const chpe_metadata * | getCHPEMetadata () const |
| const coff_dynamic_reloc_table * | getDynamicRelocTable () const |
| StringRef | getRelocationTypeName (uint16_t Type) const |
| Expected< StringRef > | getSymbolName (COFFSymbolRef Symbol) const |
| Expected< StringRef > | getSymbolName (const coff_symbol_generic *Symbol) const |
| Expected< StringRef > | getSectionName (const coff_section *Sec) const |
| uint64_t | getSectionSize (const coff_section *Sec) const |
| Error | getSectionContents (const coff_section *Sec, ArrayRef< uint8_t > &Res) const |
| basic_symbol_iterator | symbol_begin () const override |
| basic_symbol_iterator | symbol_end () const override |
| section_iterator | section_begin () const override |
| section_iterator | section_end () const override |
| bool | is64Bit () const override |
| const coff_section * | getCOFFSection (const SectionRef &Section) const |
| COFFSymbolRef | getCOFFSymbol (const DataRefImpl &Ref) const |
| COFFSymbolRef | getCOFFSymbol (const SymbolRef &Symbol) const |
| const coff_relocation * | getCOFFRelocation (const RelocationRef &Reloc) const |
| unsigned | getSectionID (SectionRef Sec) const |
| unsigned | getSymbolSectionID (SymbolRef Sym) const |
| uint8_t | getBytesInAddress () const override |
| | The number of bytes used to represent an address in this object file format.
|
| StringRef | getFileFormatName () const override |
| Triple::ArchType | getArch () const override |
| Expected< uint64_t > | getStartAddress () const override |
| Expected< SubtargetFeatures > | getFeatures () const override |
| std::unique_ptr< MemoryBuffer > | getHybridObjectView () const |
| import_directory_iterator | import_directory_begin () const |
| import_directory_iterator | import_directory_end () const |
| delay_import_directory_iterator | delay_import_directory_begin () const |
| delay_import_directory_iterator | delay_import_directory_end () const |
| export_directory_iterator | export_directory_begin () const |
| export_directory_iterator | export_directory_end () const |
| base_reloc_iterator | base_reloc_begin () const |
| base_reloc_iterator | base_reloc_end () const |
| dynamic_reloc_iterator | dynamic_reloc_begin () const |
| dynamic_reloc_iterator | dynamic_reloc_end () const |
| const debug_directory * | debug_directory_begin () const |
| const debug_directory * | debug_directory_end () const |
| iterator_range< import_directory_iterator > | import_directories () const |
| iterator_range< delay_import_directory_iterator > | delay_import_directories () const |
| iterator_range< export_directory_iterator > | export_directories () const |
| iterator_range< base_reloc_iterator > | base_relocs () const |
| iterator_range< dynamic_reloc_iterator > | dynamic_relocs () const |
| iterator_range< const debug_directory * > | debug_directories () const |
| const coff_tls_directory32 * | getTLSDirectory32 () const |
| const coff_tls_directory64 * | getTLSDirectory64 () const |
| const dos_header * | getDOSHeader () const |
| const coff_file_header * | getCOFFHeader () const |
| const coff_bigobj_file_header * | getCOFFBigObjHeader () const |
| const pe32_header * | getPE32Header () const |
| const pe32plus_header * | getPE32PlusHeader () const |
| const data_directory * | getDataDirectory (uint32_t index) const |
| Expected< const coff_section * > | getSection (int32_t index) const |
| Expected< COFFSymbolRef > | getSymbol (uint32_t index) const |
| template<typename T> |
| Error | getAuxSymbol (uint32_t index, const T *&Res) const |
| ArrayRef< uint8_t > | getSymbolAuxData (COFFSymbolRef Symbol) const |
| uint32_t | getSymbolIndex (COFFSymbolRef Symbol) const |
| size_t | getSymbolTableEntrySize () const |
| ArrayRef< coff_relocation > | getRelocations (const coff_section *Sec) const |
| uint64_t | getImageBase () const |
| Error | getVaPtr (uint64_t VA, uintptr_t &Res) const |
| Error | getRvaPtr (uint32_t Rva, uintptr_t &Res, const char *ErrorContext=nullptr) const |
| Error | getRvaAndSizeAsBytes (uint32_t RVA, uint32_t Size, ArrayRef< uint8_t > &Contents, const char *ErrorContext=nullptr) const |
| | Given an RVA base and size, returns a valid array of bytes or an error code if the RVA and size is not contained completely within a valid section.
|
| Error | getHintName (uint32_t Rva, uint16_t &Hint, StringRef &Name) const |
| Error | getDebugPDBInfo (const debug_directory *DebugDir, const codeview::DebugInfo *&Info, StringRef &PDBFileName) const |
| | Get PDB information out of a codeview debug directory entry.
|
| Error | getDebugPDBInfo (const codeview::DebugInfo *&Info, StringRef &PDBFileName) const |
| | Get PDB information from an executable.
|
| bool | isRelocatableObject () const override |
| | True if this is a relocatable object (.o/.obj).
|
| bool | is64 () const |
| StringRef | mapDebugSectionName (StringRef Name) const override |
| | Maps a debug section name to a standard DWARF section name.
|
| | ObjectFile ()=delete |
| | ObjectFile (const ObjectFile &other)=delete |
| ObjectFile & | operator= (const ObjectFile &other)=delete |
| uint64_t | getCommonSymbolSize (DataRefImpl Symb) const |
| virtual std::vector< SectionRef > | dynamic_relocation_sections () const |
| symbol_iterator_range | symbols () const |
| section_iterator_range | sections () const |
| virtual bool | hasDebugInfo () const |
| virtual Triple::OSType | getOS () const |
| virtual std::optional< StringRef > | tryGetCPUName () const |
| virtual void | setARMSubArch (Triple &TheTriple) const |
| Triple | makeTriple () const |
| | Create a triple from the data in this object file.
|
| bool | isReflectionSectionStrippable (llvm::binaryformat::Swift5ReflectionSectionKind ReflectionSectionKind) const |
| | True if the reflection section can be stripped by the linker.
|
| | SymbolicFile (unsigned int Type, MemoryBufferRef Source) |
| | ~SymbolicFile () override |
| basic_symbol_iterator_range | symbols () const |
| | Binary ()=delete |
| | Binary (const Binary &other)=delete |
| virtual | ~Binary () |
| virtual Error | initContent () |
| StringRef | getData () const |
| StringRef | getFileName () const |
| MemoryBufferRef | getMemoryBufferRef () const |
| unsigned int | getType () const |
| bool | isObject () const |
| bool | isSymbolic () const |
| bool | isArchive () const |
| bool | isMachOUniversalBinary () const |
| bool | isTapiUniversal () const |
| bool | isELF () const |
| bool | isMachO () const |
| bool | isCOFF () const |
| bool | isXCOFF () const |
| bool | isWasm () const |
| bool | isOffloadFile () const |
| bool | isCOFFImportFile () const |
| bool | isIR () const |
| bool | isGOFF () const |
| bool | isMinidump () const |
| bool | isTapiFile () const |
| bool | isLittleEndian () const |
| bool | isWinRes () const |
| bool | isDXContainer () const |
| Triple::ObjectFormatType | getTripleObjectFormat () const |
|
| static Expected< std::unique_ptr< COFFObjectFile > > | create (MemoryBufferRef Object) |
| static bool | classof (const Binary *v) |
| static Expected< OwningBinary< ObjectFile > > | createObjectFile (StringRef ObjectPath) |
| static Expected< std::unique_ptr< ObjectFile > > | createObjectFile (MemoryBufferRef Object, llvm::file_magic Type, bool InitContent=true) |
| static Expected< std::unique_ptr< ObjectFile > > | createObjectFile (MemoryBufferRef Object) |
| static bool | classof (const Binary *v) |
| static Expected< std::unique_ptr< COFFObjectFile > > | createCOFFObjectFile (MemoryBufferRef Object) |
| static Expected< std::unique_ptr< ObjectFile > > | createXCOFFObjectFile (MemoryBufferRef Object, unsigned FileType) |
| static Expected< std::unique_ptr< ObjectFile > > | createELFObjectFile (MemoryBufferRef Object, bool InitContent=true) |
| static Expected< std::unique_ptr< MachOObjectFile > > | createMachOObjectFile (MemoryBufferRef Object, uint32_t UniversalCputype=0, uint32_t UniversalIndex=0, size_t MachOFilesetEntryOffset=0) |
| | Create a MachOObjectFile instance from a given buffer.
|
| static Expected< std::unique_ptr< ObjectFile > > | createGOFFObjectFile (MemoryBufferRef Object) |
| static Expected< std::unique_ptr< WasmObjectFile > > | createWasmObjectFile (MemoryBufferRef Object) |
| static Expected< std::unique_ptr< DXContainerObjectFile > > | createDXContainerObjectFile (MemoryBufferRef Object) |
| static Expected< std::unique_ptr< SymbolicFile > > | createSymbolicFile (MemoryBufferRef Object, llvm::file_magic Type, LLVMContext *Context, bool InitContent=true) |
| static Expected< std::unique_ptr< SymbolicFile > > | createSymbolicFile (MemoryBufferRef Object) |
| static bool | classof (const Binary *v) |
| static bool | isSymbolicFile (file_magic Type, const LLVMContext *Context) |
| static Error | checkOffset (MemoryBufferRef M, uintptr_t Addr, const uint64_t Size) |
Definition at line 880 of file COFF.h.